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

看板DFBSD_commit作者時間14年前 (2011/05/17 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DqRGKug (DFBSD_commit)