kernel - Fix usb keyboard problems with ehci & ddb
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 29 Aug 2010 22:10:21 +0000 (15:10 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 29 Aug 2010 22:10:21 +0000 (15:10 -0700)
commit84f5e551b6ad82d70ea5128df40acfcdaef88cd3
tree41c1a6e7a34c837afcd69312a1221798d87c488b
parentd5eb0471097a451fc098cfb371fd33f53f4a144c
kernel - Fix usb keyboard problems with ehci & ddb

* Be sure to save the status of the xfer before reissuing the xfer
  in an interrupt pipe callback.

  This fixes an issue where ukbd thought the keyboard events from
  ehci were illegal because the status of the transfer was always
  IN_PROGRESS instead of COMPLETE.

  Interrupt pipes reissue their xfers prior to making the callback
  in order to ensure that the xfer is not somewhere in no-man's land
  if the callback enters the debugger (i.e. ctl-alt-esc).
sys/bus/usb/usbdi.c