From 7f31496b8fc0d568d1136a273f12dc84726fae6c Mon Sep 17 00:00:00 2001 From: Josef Karthauser Date: Sun, 7 Apr 2002 11:42:39 +0000 Subject: [PATCH] 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). --- sys/dev/usb/ohci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index d8b772d12984..c42d8e1c2c20 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; }