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.
This commit is contained in:
augustss 2001-12-31 15:55:51 +00:00
parent d8e5a1dc07
commit cec9735688
1 changed files with 3 additions and 5 deletions

View File

@ -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;