git: kernel - Fix apparent timing race in early usb keyboard polling code
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Apr 15 11:04:16 PDT 2011
commit df08e50913de8190c0acbf96983cc70bda10faeb
Author: Matthew Dillon <dillon at 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 at 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
More information about the Commits
mailing list