git: kernel - Fix usb keyboard problems with ehci & ddb

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 29 15:13:43 PDT 2010


commit 84f5e551b6ad82d70ea5128df40acfcdaef88cd3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Aug 29 15:10:21 2010 -0700

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

Summary of changes:
 sys/bus/usb/usbdi.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/84f5e551b6ad82d70ea5128df40acfcdaef88cd3


-- 
DragonFly BSD source repository





More information about the Commits mailing list