Re: [PATCH] Add support for USB Keyboard attached to UHCI

Aaron Young <[email protected]>
Newsgroups gmane.linux.kernel.debugging
Message-ID <[email protected]>
> 
> It seems once get_usb_char() is called,the poll_func i.e.
> uhci_kdb_poll_char might be invoked, but I am wondering who calls
> get_usb_char()?I didn't find any place where get_usb_call() is
> invoked.
> 
> Regards
> Jason


 In the files

arch/ia64/kdb/kdba_io.c
arch/x86/kdb/kdba_io_32.c
arch/x86/kdb/kdba_io_64.c

 poll_funcs[] is set like so:

get_char_func poll_funcs[] = {
#if defined(CONFIG_VT_CONSOLE)
        get_kbd_char,
#endif
#if defined(CONFIG_SERIAL_CONSOLE) 
        get_serial_char,
#endif  
#ifdef  KDB_BLINK_LED
        blink_led,
#endif
#ifdef  CONFIG_KDB_USB
        get_usb_char,      <<<< here
#endif
        NULL
};


 kdb/kdb_io.c:kdb_read() uses poll_funcs[] to get chars...

 -Aaron
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.