Hi,

        After I applied the kdb-3.0-2.4.20 patch to kernel 2.4.20, I failed
to compile the new kernel with USB keyboard supported in KDB. I find one
type is used before defined in file arch/i386/kdb/kdba_io.c. I changed the
type and compile the kernel successfully.
        Please see my change.

--- linux/arch/i386/kdb/kdba_io.c       Sat Feb  8 12:07:19 2003
+++ linux-tmp/arch/i386/kdb/kdba_io.c   Sat Feb  8 12:09:01 2003
@@ -90,7 +90,7 @@
                return -1;
 
        /* Transfer char if they are present */
-       (*kdb_usb_infos.poll_func)(kdb_usb_infos.uhci, (urb_t
*)kdb_usb_infos.urb);
+       (*kdb_usb_infos.poll_func)(kdb_usb_infos.uhci, (struct urb
*)kdb_usb_infos.urb);
 
        spec = kdb_usb_infos.buffer[0];
        keycode = kdb_usb_infos.buffer[2];


*************************************
Sonic Zhang
  
Software Engineer
Intel China Software Lab

Tel: 021-52574545-1667 
iNet: 8-752-1667 
*************************************
 

Reply via email to