cvs commit: src/sys/bus/usb ohci.c
dillon at crater.dragonflybsd.org
Wed Jul 7 20:26:02 PDT 2004
dillon 2004/07/07 20:25:00 PDT
DragonFly src repository
Bring in a bunch of updates from NetBSD:
Fix swapped lines in cleanup in ohci_init(). From OpenBSD.
Try harder to avoid 0 ports woth AMD756. From OpenBSD.
Use the correct wValue to get hub desriptors.
Also, make wValue checks of root hub codes less strict.
Failure to properly mask off UE_DIR_IN from the endpoint address was causing
OHCI_ED_FORMAT_ISO and EHCI_QH_HRECL to get set spuriously, causing rather
interesting lossage. Suddenly I get MUCH better performance with ehci...
Adjust a couple of comments to make it clear WTF is going on.
Make one message dependent on ohcidebug, so it doesn't interfere with polled
operation; e.g. when entering a root device or in DDB.
Fix an error in a printf() format.
Swap the order that two items are written; possibly fixes a race condition
that would affect isoc transfers.
Revision Changes Path
1.9 +15 -10 src/sys/bus/usb/ohci.c
More information about the Commits