diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-10-15 20:07:08 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-10-15 20:07:08 +0000 |
commit | 1def609a638f86847ece145013ffc2758a4360ae (patch) | |
tree | a1b09c916a2bf1f05cd74b5d3fd23f45d619df7e /sys/dev/usb/controller/ohci.c | |
parent | d0c9a2916941ab7318ddddbada29e26ce9525758 (diff) | |
download | src-1def609a638f86847ece145013ffc2758a4360ae.tar.gz src-1def609a638f86847ece145013ffc2758a4360ae.zip |
Workaround buggy BIOS code in USB regard. By doing the BIOS to OS handover for
all host controllers at the same time, we avoid problems where the BIOS will
actually write to the USB registers of all the USB host controllers every time
we handover one of them, and consequently reset the OS programmed values.
Submitted by: avg
Reviewed by: jhb
Notes
Notes:
svn path=/head/; revision=198151
Diffstat (limited to 'sys/dev/usb/controller/ohci.c')
-rw-r--r-- | sys/dev/usb/controller/ohci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/ohci.c b/sys/dev/usb/controller/ohci.c index 30592c14751b..637b639e3f6f 100644 --- a/sys/dev/usb/controller/ohci.c +++ b/sys/dev/usb/controller/ohci.c @@ -72,6 +72,7 @@ __FBSDID("$FreeBSD$"); #include <dev/usb/usb_controller.h> #include <dev/usb/usb_bus.h> #include <dev/usb/controller/ohci.h> +#include <dev/usb/controller/ohcireg.h> #define OHCI_BUS2SC(bus) \ ((ohci_softc_t *)(((uint8_t *)(bus)) - \ |