summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ohci.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-04-07 10:04:16 +0000
committerjoe <joe@FreeBSD.org>2002-04-07 10:04:16 +0000
commitf502b9b788d9f6864e4734e1de19f93b916b478e (patch)
treea17259a06411f4172b9cf78abad52f20aff5ce89 /sys/dev/usb/ohci.c
parentc7075e245c5c40fd36d445178fd6e80cf3503b59 (diff)
downloadFreeBSD-src-f502b9b788d9f6864e4734e1de19f93b916b478e.zip
FreeBSD-src-f502b9b788d9f6864e4734e1de19f93b916b478e.tar.gz
MFNetBSD:
revision 1.103 date: 2001/09/11 07:00:19; author: augustss; state: Exp; lines: +4 -1 Don't go top mode OPERATIONAL (before reset) on startup even if BIOS claims to have initialized the controller.
Diffstat (limited to 'sys/dev/usb/ohci.c')
-rw-r--r--sys/dev/usb/ohci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index 378caa3..58cdf0a 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -759,6 +759,8 @@ ohci_init(ohci_softc_t *sc)
OWRITE4(sc, OHCI_CONTROL, OHCI_HCFS_RESET);
goto reset;
}
+#if 0
+/* Don't bother trying to reuse the BIOS init, we'll reset it anyway. */
} else if ((ctl & OHCI_HCFS_MASK) != OHCI_HCFS_RESET) {
/* BIOS started controller. */
DPRINTF(("ohci_init: BIOS active\n"));
@@ -766,6 +768,7 @@ ohci_init(ohci_softc_t *sc)
OWRITE4(sc, OHCI_CONTROL, OHCI_HCFS_OPERATIONAL);
usb_delay_ms(&sc->sc_bus, USB_RESUME_DELAY);
}
+#endif
} else {
DPRINTF(("ohci_init: cold started\n"));
reset:
OpenPOWER on IntegriCloud