summaryrefslogtreecommitdiffstats
path: root/sys/mips/rmi
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2011-04-03 20:17:49 +0000
committerhselasky <hselasky@FreeBSD.org>2011-04-03 20:17:49 +0000
commit58267dbb2ec6d75b97dc1de7caeb7995984e2149 (patch)
tree2d91f1eb2cbb73a9b6977b59240b65e17c036bee /sys/mips/rmi
parente36db9e5f9c987b8da6840ba212fd09ad1a51705 (diff)
downloadFreeBSD-src-58267dbb2ec6d75b97dc1de7caeb7995984e2149.zip
FreeBSD-src-58267dbb2ec6d75b97dc1de7caeb7995984e2149.tar.gz
- Correct EHCI interrupt disabling at detach.
Submitted by: Luiz Otavio O Souza MFC after: 7 days Approved by: thompsa (mentor)
Diffstat (limited to 'sys/mips/rmi')
-rw-r--r--sys/mips/rmi/xls_ehci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/rmi/xls_ehci.c b/sys/mips/rmi/xls_ehci.c
index 5172993..0fc9a32 100644
--- a/sys/mips/rmi/xls_ehci.c
+++ b/sys/mips/rmi/xls_ehci.c
@@ -220,7 +220,7 @@ ehci_xls_detach(device_t self)
* disable interrupts that might have been switched on in ehci_init
*/
if (sc->sc_io_res) {
- EWRITE4(sc, EHCI_USBINTR, 0);
+ EOWRITE4(sc, EHCI_USBINTR, 0);
}
if (sc->sc_irq_res && sc->sc_intr_hdl) {
OpenPOWER on IntegriCloud