diff --git a/sys/dev/usb/ehci_pci.c b/sys/dev/usb/ehci_pci.c index 0e407d7c852..47237da6fc9 100644 --- a/sys/dev/usb/ehci_pci.c +++ b/sys/dev/usb/ehci_pci.c @@ -158,6 +158,8 @@ ehci_pci_attach(device_t self) break; } + pci_enable_busmaster(self); + rid = PCI_CBMEM; sc->io_res = bus_alloc_resource(self, SYS_RES_MEMORY, &rid, 0, ~0, 1, RF_ACTIVE); diff --git a/sys/dev/usb/ohci_pci.c b/sys/dev/usb/ohci_pci.c index e07184128f5..3d67e4f4db4 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); diff --git a/sys/dev/usb/uhci_pci.c b/sys/dev/usb/uhci_pci.c index c10b73d887b..1942578f608 100644 --- a/sys/dev/usb/uhci_pci.c +++ b/sys/dev/usb/uhci_pci.c @@ -245,6 +245,8 @@ uhci_pci_attach(device_t self) int rid; int err; + pci_enable_busmaster(self); + rid = PCI_UHCI_BASE_REG; sc->io_res = bus_alloc_resource(self, SYS_RES_IOPORT, &rid, 0, ~0, 1, RF_ACTIVE);