summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/uhci_pci.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-10-15 20:07:08 +0000
committerthompsa <thompsa@FreeBSD.org>2009-10-15 20:07:08 +0000
commit9ffd1abaff203b88fedf254c933b99335429dcbb (patch)
treea1b09c916a2bf1f05cd74b5d3fd23f45d619df7e /sys/dev/usb/controller/uhci_pci.c
parentf410b0c1a3942e89e48f85a60e4412d5d3a763a7 (diff)
downloadFreeBSD-src-9ffd1abaff203b88fedf254c933b99335429dcbb.zip
FreeBSD-src-9ffd1abaff203b88fedf254c933b99335429dcbb.tar.gz
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
Diffstat (limited to 'sys/dev/usb/controller/uhci_pci.c')
-rw-r--r--sys/dev/usb/controller/uhci_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/uhci_pci.c b/sys/dev/usb/controller/uhci_pci.c
index ba155be..3956ead 100644
--- a/sys/dev/usb/controller/uhci_pci.c
+++ b/sys/dev/usb/controller/uhci_pci.c
@@ -81,6 +81,7 @@ __FBSDID("$FreeBSD$");
#include <dev/usb/usb_bus.h>
#include <dev/usb/usb_pci.h>
#include <dev/usb/controller/uhci.h>
+#include <dev/usb/controller/uhcireg.h>
#define PCI_UHCI_VENDORID_INTEL 0x8086
#define PCI_UHCI_VENDORID_VIA 0x1106
OpenPOWER on IntegriCloud