diff options
| author | augustss <augustss@NetBSD.org> | 2001-12-31 15:55:51 +0000 |
|---|---|---|
| committer | augustss <augustss@NetBSD.org> | 2001-12-31 15:55:51 +0000 |
| commit | cec973568879a91f78c253ee07a0ed9bb8fe9cec (patch) | |
| tree | bd242419a83b501850b25322f11216d36936c6c2 /sys/dev | |
| parent | d8e5a1dc0791e07e452fad3f327bc7579a3b6660 (diff) | |
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')
| -rw-r--r-- | sys/dev/usb/usb.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index b0c2000cc0f..6b018a100a4 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -1,4 +1,4 @@ -/* $NetBSD: usb.c,v 1.60 2001/12/31 12:15:22 augustss Exp $ */ +/* $NetBSD: usb.c,v 1.61 2001/12/31 15:55:51 augustss Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -44,7 +44,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.60 2001/12/31 12:15:22 augustss Exp $"); +__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.61 2001/12/31 15:55:51 augustss Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -290,14 +290,12 @@ usb_event_thread(void *arg) DPRINTF(("usb_event_thread: start\n")); -#if 0 /* * 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, 250); -#endif + usb_delay_ms(sc->sc_bus, 500); /* Make sure first discover does something. */ sc->sc_bus->needs_explore = 1; |
