USB - Add support for xfer-restart-before-callback
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 8 Jun 2009 18:49:05 +0000 (11:49 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 8 Jun 2009 18:49:05 +0000 (11:49 -0700)
commitf32bdd677b387916be3c936ab73d053a3d3ae812
treef82ddfb0375926bdaab1fc89bd341b5e9eb7a71b
parent33771948557d70d710f52b1b354e4a186f443c25
USB - Add support for xfer-restart-before-callback

Interrupt pipes restart their xfers.  When used for a USB
keyboard the xfer must be restarted before the callback,
even though there may be state data races, otherwise
the CTL-ALT-ESC sequence into the debugger will leave
the xfer unqueued and the keyboard will stop working.
sys/bus/usb/usbdi.c
sys/bus/usb/usbdi.h
sys/dev/usbmisc/ukbd/ukbd.c