summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb.c
diff options
context:
space:
mode:
authorho <ho@openbsd.org>1999-11-11 15:57:40 +0000
committerho <ho@openbsd.org>1999-11-11 15:57:40 +0000
commit589e08aa702d75a34159ae4f7d5f9dcb955916c9 (patch)
treedaaab91da3de2964aef9ff704f091b68b09ade17 /sys/dev/usb/usb.c
parentUSB Audio, from NetBSD (augustss@carlstedt.se). Imported by me and niklas@. (diff)
downloadwireguard-openbsd-589e08aa702d75a34159ae4f7d5f9dcb955916c9.tar.xz
wireguard-openbsd-589e08aa702d75a34159ae4f7d5f9dcb955916c9.zip
Delay USB device attachment to prevent lost interrupts when probing uaudio.
Diffstat (limited to 'sys/dev/usb/usb.c')
-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 3a9905ebe91..e23f43d46c0 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usb.c,v 1.6 1999/11/07 21:30:19 fgsch Exp $ */
+/* $OpenBSD: usb.c,v 1.7 1999/11/11 15:57:40 ho Exp $ */
/* $NetBSD: usb.c,v 1.28 1999/10/13 08:10:57 augustss Exp $ */
/*
@@ -194,7 +194,7 @@ USB_ATTACH(usb)
USB_ATTACH_ERROR_RETURN;
}
sc->sc_bus->root_hub = dev;
-#if 1
+#if 0
/*
* Turning this code off will delay attachment of USB devices
* until the USB event thread is running, which means that