summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-11-23 18:12:09 +0000
committerthompsa <thompsa@FreeBSD.org>2009-11-23 18:12:09 +0000
commit263e6c8ef544c8ef5cd936a0d9539013b100be2a (patch)
tree64c7ae23558e97e7a0655be9f165bf35479a9cba /sys/dev/usb/controller
parent50f97a758441dc1ae4bfdb68f4a6e2740eba3656 (diff)
downloadFreeBSD-src-263e6c8ef544c8ef5cd936a0d9539013b100be2a.zip
FreeBSD-src-263e6c8ef544c8ef5cd936a0d9539013b100be2a.tar.gz
Actually disable interrupts in ehci_detach().
Reviewed by: HPS
Diffstat (limited to 'sys/dev/usb/controller')
-rw-r--r--sys/dev/usb/controller/ehci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/ehci.c b/sys/dev/usb/controller/ehci.c
index 69507b0..952dd98 100644
--- a/sys/dev/usb/controller/ehci.c
+++ b/sys/dev/usb/controller/ehci.c
@@ -528,7 +528,7 @@ ehci_detach(ehci_softc_t *sc)
usb_callout_stop(&sc->sc_tmo_pcd);
usb_callout_stop(&sc->sc_tmo_poll);
- EOWRITE4(sc, EHCI_USBINTR, sc->sc_eintrs);
+ EOWRITE4(sc, EHCI_USBINTR, 0);
USB_BUS_UNLOCK(&sc->sc_bus);
if (ehci_hcreset(sc)) {
OpenPOWER on IntegriCloud