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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to