summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authoraugustss <augustss@NetBSD.org>1999-12-22 23:54:09 +0000
committeraugustss <augustss@NetBSD.org>1999-12-22 23:54:09 +0000
commit0e7b1b9ec1f747fde21d979dfd723b317663d8f8 (patch)
tree8756bb68b39e8c368ef18c91de854b1b758753fa /sys/dev
parentd170f8a2ee09623b02db211b5983e029209457fc (diff)
Use the flags `locator' to govern if devices are detected early or
late during cold boot.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index 4aac3163e06..6ba57c9a3ce 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -1,4 +1,4 @@
-/* $NetBSD: usb.c,v 1.35 1999/12/20 02:12:23 augustss Exp $ */
+/* $NetBSD: usb.c,v 1.36 1999/12/22 23:54:09 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb.c,v 1.20 1999/11/17 22:33:46 n_hibma Exp $ */
/*
@@ -232,7 +232,7 @@ USB_ATTACH(usb)
* until the USB event thread is running, which means that
* the keyboard will not work until after cold boot.
*/
- if (cold)
+ if (cold && (sc->sc_dev.dv_cfdata->cf_flags & 1))
dev->hub->explore(sc->sc_bus->root_hub);
#endif
} else {