diff options
author | joe <joe@FreeBSD.org> | 2002-04-07 14:02:31 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-04-07 14:02:31 +0000 |
commit | fa32ef8e0f15016cb8e16be62228e04fb28688e0 (patch) | |
tree | 2f115d7888b303a97524e7df81ededc0240d779b /sys/dev/usb/usb.c | |
parent | 95b23fce7594935dac4c3e3efd660edb62f3ed12 (diff) | |
download | FreeBSD-src-fa32ef8e0f15016cb8e16be62228e04fb28688e0.zip FreeBSD-src-fa32ef8e0f15016cb8e16be62228e04fb28688e0.tar.gz |
MFNetBSD:
revision 1.61
date: 2001/12/31 15:55:51; author: augustss; state: Exp; lines: +3 -5
Delay bus enumeration a little in case the controller is a companion
controller. This way the main controller can gain ownership of the port
before enumeration starts.
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r-- | sys/dev/usb/usb.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index 5ef2f22..a6cc664 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -1,4 +1,4 @@ -/* $NetBSD: usb.c,v 1.59 2001/11/26 20:16:55 augustss Exp $ */ +/* $NetBSD: usb.c,v 1.61 2001/12/31 15:55:51 augustss Exp $ */ /* $FreeBSD$ */ /* @@ -380,6 +380,13 @@ usb_event_thread(void *arg) DPRINTF(("usb_event_thread: start\n")); + /* + * In case this controller is a companion controller to an + * EHCI controller we need to wait until the + * EHCI controller has grabbed the port. + */ + usb_delay_ms(sc->sc_bus, 500); + /* Make sure first discover does something. */ sc->sc_bus->needs_explore = 1; usb_discover(sc); |