Correct EHCI port register read.

Approved by:    thompsa (mentor)
This commit is contained in:
Hans Petter Selasky 2010-10-14 21:14:33 +00:00
parent 6001d01180
commit b494261c69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213857

View File

@ -3318,7 +3318,7 @@ ehci_roothub_exec(struct usb_device *udev,
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;