From 7c02a978597178af989c86634b8da38c5324e9ad Mon Sep 17 00:00:00 2001 From: hselasky Date: Thu, 14 Oct 2010 21:14:33 +0000 Subject: [PATCH] Correct EHCI port register read. Approved by: thompsa (mentor) --- sys/dev/usb/controller/ehci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/controller/ehci.c b/sys/dev/usb/controller/ehci.c index 007cbcd51299..b0560f306b61 100644 --- a/sys/dev/usb/controller/ehci.c +++ b/sys/dev/usb/controller/ehci.c @@ -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;