diff options
author | hselasky <hselasky@FreeBSD.org> | 2011-04-12 07:49:11 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2011-04-12 07:49:11 +0000 |
commit | 69b34d187e0a33741c3d82562e054e7fa2b01d4a (patch) | |
tree | eded5b9ebdeef770437b545bc02c9b60ce5bc175 /sys/mips | |
parent | d47989ee77f9ae6b44a246efd8cd9bbe02a9bb25 (diff) | |
download | FreeBSD-src-69b34d187e0a33741c3d82562e054e7fa2b01d4a.zip FreeBSD-src-69b34d187e0a33741c3d82562e054e7fa2b01d4a.tar.gz |
We don't need to call EOWRITE4(sc, EHCI_USBINTR, 0) directly from each EHCI
bus driver at detach, hence ehci_detach() does exactly this since r199718.
Submitted by: Luiz Otavio O Souza
MFC after: 7 days
Approved by: thompsa (mentor)
Diffstat (limited to 'sys/mips')
-rw-r--r-- | sys/mips/atheros/ar71xx_ehci.c | 7 | ||||
-rw-r--r-- | sys/mips/rmi/xls_ehci.c | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/sys/mips/atheros/ar71xx_ehci.c b/sys/mips/atheros/ar71xx_ehci.c index 42e750a..9f5b894 100644 --- a/sys/mips/atheros/ar71xx_ehci.c +++ b/sys/mips/atheros/ar71xx_ehci.c @@ -246,13 +246,6 @@ ar71xx_ehci_detach(device_t self) /* during module unload there are lots of children leftover */ device_delete_all_children(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() diff --git a/sys/mips/rmi/xls_ehci.c b/sys/mips/rmi/xls_ehci.c index 0fc9a32..5c7a536 100644 --- a/sys/mips/rmi/xls_ehci.c +++ b/sys/mips/rmi/xls_ehci.c @@ -216,13 +216,6 @@ ehci_xls_detach(device_t self) /* during module unload there are lots of children leftover */ device_delete_all_children(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) { ehci_detach(sc); |