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

git: EHCI - Fix early probing problems.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Aug 2009 09:32:15 -0700 (PDT)

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



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