mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Merge from NetBSD:
usb.c 1.40: revision 1.40 date: 2000/03/14 23:13:12; author: augustss; state: Exp; lines: +4 -1 Make sure the USB event thread discovers all devices first time it call usb_discover(). It should now be possible to have the root NFS mounted over a USB Ethernet Adapter.
This commit is contained in:
parent
c61cd599ec
commit
0f657c164b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93548
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: usb.c,v 1.38 2000/02/02 07:33:59 augustss Exp $ */
|
||||
/* $NetBSD: usb.c,v 1.41 2000/03/16 00:46:38 augustss Exp $ */
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/*
|
||||
@ -314,6 +314,9 @@ usb_event_thread(void *arg)
|
||||
|
||||
DPRINTF(("usb_event_thread: start\n"));
|
||||
|
||||
/* Make sure first discover does something. */
|
||||
sc->sc_bus->needs_explore = 1;
|
||||
|
||||
while (!sc->sc_dying) {
|
||||
#ifdef USB_DEBUG
|
||||
if (usb_noexplore < 2)
|
||||
|
Loading…
Reference in New Issue
Block a user