summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ehci_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/ehci_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/ehci_pci.c')
-rw-r--r--sys/dev/usb/controller/ehci_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/ehci_pci.c b/sys/dev/usb/controller/ehci_pci.c
index 7978f4f..fc2035b 100644
--- a/sys/dev/usb/controller/ehci_pci.c
+++ b/sys/dev/usb/controller/ehci_pci.c
@@ -84,6 +84,7 @@ __FBSDID("$FreeBSD$");
#include <dev/usb/usb_bus.h>
#include <dev/usb/usb_pci.h>
#include <dev/usb/controller/ehci.h>
+#include <dev/usb/controller/ehcireg.h>
#define PCI_EHCI_VENDORID_ACERLABS 0x10b9
#define PCI_EHCI_VENDORID_AMD 0x1022
OpenPOWER on IntegriCloud