svn commit: r213857 - head/sys/dev/usb/controller
Hans Petter Selasky
hselasky at FreeBSD.org
Thu Oct 14 21:14:33 UTC 2010
Author: hselasky
Date: Thu Oct 14 21:14:33 2010
New Revision: 213857
URL: http://svn.freebsd.org/changeset/base/213857
Log:
Correct EHCI port register read.
Approved by: thompsa (mentor)
Modified:
head/sys/dev/usb/controller/ehci.c
Modified: head/sys/dev/usb/controller/ehci.c
==============================================================================
--- head/sys/dev/usb/controller/ehci.c Thu Oct 14 21:09:37 2010 (r213856)
+++ head/sys/dev/usb/controller/ehci.c Thu Oct 14 21:14:33 2010 (r213857)
@@ -3318,7 +3318,7 @@ ehci_roothub_exec(struct usb_device *ude
err = USB_ERR_IOERROR;
goto done;
}
- v = EOREAD4(sc, EHCI_HCSPARAMS);
+ v = EREAD4(sc, EHCI_HCSPARAMS);
sc->sc_hub_desc.hubd = ehci_hubd;
sc->sc_hub_desc.hubd.bNbrPorts = sc->sc_noport;
More information about the svn-src-all
mailing list