DragonFly BSD
DragonFly commits List (threaded) for 2011-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Fix apparent timing race in early usb keyboard polling code


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Apr 2011 11:03:42 -0700 (PDT)

commit df08e50913de8190c0acbf96983cc70bda10faeb
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Apr 15 10:58:32 2011 -0700

    kernel - Fix apparent timing race in early usb keyboard polling code
    
    * Fix an apparent timing race where a USB command does not complete
      prior to the poll issued with the command.  Perform another poll
      in a loop to deal with it.
    
    * Problem appears to occur w/ohci's early poll prior to ehci attachment.
    
    Reported-by: Antonio Huete Jimenez <ahuete.devel@gmail.com>

Summary of changes:
 sys/bus/usb/usbdi.c |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/df08e50913de8190c0acbf96983cc70bda10faeb


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]