git: EHCI - Fix early probing problems.

看板DFBSD_commit作者時間16年前 (2009/08/11 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 7728b40a01dd76863722a443387f4ab5e30b4f2f Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Aug 10 09:27:42 2009 -0700 EHCI - Fix early probing problems. * When polling is used an actual interrupt will clear pending status to prevent an interrupt livelock. However, if this occurs the polling code can wind up believing that no status change has occured. Add the cleared pending status to sc->sc_dintrs and then reincorporate into the status check when polling or running a normal interrupt. * Code cleanup: NULL out some fields on termination. Summary of changes: sys/bus/usb/ehci.c | 30 ++++++++++++++---------------- sys/bus/usb/ehcivar.h | 3 ++- 2 files changed, 16 insertions(+), 17 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7728b40a01dd76863722a443387f4ab5e30b4f2f -- DragonFly BSD source repository
文章代碼(AID): #1AW61o9t (DFBSD_commit)