diff options
author | imp <imp@FreeBSD.org> | 2003-06-12 05:29:15 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-06-12 05:29:15 +0000 |
commit | b1a8bbf4a5556cdc8dba659d61f598cf930ec2ea (patch) | |
tree | b748780382319fd1cae28da0a62f13449e9b303e /sys/dev/usb/ohci_pci.c | |
parent | f4d2c8703b45a461ffcfbe0a0d3b4e6ef387afb3 (diff) | |
download | FreeBSD-src-b1a8bbf4a5556cdc8dba659d61f598cf930ec2ea.zip FreeBSD-src-b1a8bbf4a5556cdc8dba659d61f598cf930ec2ea.tar.gz |
Enable bus mastering in the attach routine. This appears to fix the
USB 2.0 cardbus cards that have been floating around.
Submitted by: Craig Boston
Diffstat (limited to 'sys/dev/usb/ohci_pci.c')
-rw-r--r-- | sys/dev/usb/ohci_pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/ohci_pci.c b/sys/dev/usb/ohci_pci.c index e071841..3d67e4f 100644 --- a/sys/dev/usb/ohci_pci.c +++ b/sys/dev/usb/ohci_pci.c @@ -173,6 +173,8 @@ ohci_pci_attach(device_t self) /* XXX where does it say so in the spec? */ sc->sc_bus.usbrev = USBREV_1_0; + pci_enable_busmaster(self); + rid = PCI_CBMEM; sc->io_res = bus_alloc_resource(self, SYS_RES_MEMORY, &rid, 0, ~0, 1, RF_ACTIVE); |