summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ehci_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/ehci_pci.c')
-rw-r--r--sys/dev/usb/controller/ehci_pci.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/usb/controller/ehci_pci.c b/sys/dev/usb/controller/ehci_pci.c
index bd160e4..6abb193 100644
--- a/sys/dev/usb/controller/ehci_pci.c
+++ b/sys/dev/usb/controller/ehci_pci.c
@@ -502,12 +502,6 @@ ehci_pci_detach(device_t self)
pci_disable_busmaster(self);
- /*
- * disable interrupts that might have been switched on in ehci_init
- */
- if (sc->sc_io_res) {
- EOWRITE4(sc, EHCI_USBINTR, 0);
- }
if (sc->sc_irq_res && sc->sc_intr_hdl) {
/*
* only call ehci_detach() after ehci_init()
OpenPOWER on IntegriCloud