Correct EHCI port register read.

Approved by:    thompsa (mentor)
This commit is contained in:
hselasky 2010-10-14 21:14:33 +00:00
parent 2cceec5c2d
commit 7c02a97859

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;