summaryrefslogtreecommitdiffstats
path: root/sys/arm
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/arm
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/arm')
-rw-r--r--sys/arm/econa/ehci_ebus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/econa/ehci_ebus.c b/sys/arm/econa/ehci_ebus.c
index a3499c9..86180c3 100644
--- a/sys/arm/econa/ehci_ebus.c
+++ b/sys/arm/econa/ehci_ebus.c
@@ -241,7 +241,7 @@ ehci_ebus_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);
EWRITE4(sc, USB_BRIDGE_INTR_MASK, 0);
}
if (sc->sc_irq_res && sc->sc_intr_hdl) {
OpenPOWER on IntegriCloud