>
> 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.