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).
This commit is contained in:
parent
9bf191c521
commit
7f31496b8f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94072
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user