diff options
author | joe <joe@FreeBSD.org> | 2002-04-07 11:42:39 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-04-07 11:42:39 +0000 |
commit | 2432878dc36b156296fe6bdc9cc48b169b3055e9 (patch) | |
tree | 42fe5e375b6c5ab80a2c493c2268550743b80033 | |
parent | 6fe062690ea034c49233a2dadb00c4699c7e8533 (diff) | |
download | FreeBSD-src-2432878dc36b156296fe6bdc9cc48b169b3055e9.zip FreeBSD-src-2432878dc36b156296fe6bdc9cc48b169b3055e9.tar.gz |
MFNetBSD:
revision 1.110
date: 2001/11/20 16:08:10; author: augustss; state: Exp; lines: +5 -4
Use longer reset for root hubs (as told in the spec).
-rw-r--r-- | sys/dev/usb/ohci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index d8b772d..c42d8e1 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -2511,9 +2511,9 @@ ohci_root_ctrl_start(usbd_xfer_handle xfer) DPRINTFN(5,("ohci_root_ctrl_transfer: reset port %d\n", index)); OWRITE4(sc, port, UPS_RESET); - for (i = 0; i < 10; i++) { + for (i = 0; i < 5; i++) { usb_delay_ms(&sc->sc_bus, - USB_PORT_ROOT_RESET_DELAY); + USB_PORT_ROOT_RESET_DELAY); if ((OREAD4(sc, port) & UPS_RESET) == 0) break; } |