summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2013-08-12 06:09:28 +0000
committerhselasky <hselasky@FreeBSD.org>2013-08-12 06:09:28 +0000
commit2688b2d971383e7f2c91d7283f3442375e4a4315 (patch)
tree4714e8e97dab2172a19d57d6b7b6e5fb72726b77 /sys/dev
parent5690f2820a416315d024e49e4b6588cc73b0e172 (diff)
downloadFreeBSD-src-2688b2d971383e7f2c91d7283f3442375e4a4315.zip
FreeBSD-src-2688b2d971383e7f2c91d7283f3442375e4a4315.tar.gz
Correct an EHCI register write.
MFC after: 1 week Reported by: aseem.jolly@gmail.com
Diffstat (limited to 'sys/dev')
-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 51b012b..b8aa2ad 100644
--- a/sys/dev/usb/controller/ehci.c
+++ b/sys/dev/usb/controller/ehci.c
@@ -259,7 +259,7 @@ ehci_init_sub(struct ehci_softc *sc)
DPRINTF("HCC uses 64-bit structures\n");
/* MUST clear segment register if 64 bit capable */
- EWRITE4(sc, EHCI_CTRLDSSEGMENT, 0);
+ EOWRITE4(sc, EHCI_CTRLDSSEGMENT, 0);
}
usbd_get_page(&sc->sc_hw.pframes_pc, 0, &buf_res);
OpenPOWER on IntegriCloud