summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-01-26 12:40:03 +0000
committerjoe <joe@FreeBSD.org>2002-01-26 12:40:03 +0000
commitcec880a81b28b598c1a1fe536ee7f1696a8d99d9 (patch)
treedc24a229993a17df118f8565387d1d532512a4f7 /sys
parentb0b599a5b02217ebb4d0181bd2abdf8fd0fc69db (diff)
downloadFreeBSD-src-cec880a81b28b598c1a1fe536ee7f1696a8d99d9.zip
FreeBSD-src-cec880a81b28b598c1a1fe536ee7f1696a8d99d9.tar.gz
Merge from NetBSD:
usb.c: revision 1.41 revision 1.41 date: 2000/03/16 00:46:38; author: augustss; lines: +2 -2 Make the USB event queue longer. Mine overflows before the (user-land) event handler has started. But then I have about 25 devices connected. :)
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index 6c915e7..a6f636f 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -152,7 +152,7 @@ Static usbd_status usb_discover(void *);
Static void usb_create_event_thread(void *);
Static void usb_event_thread(void *);
-#define USB_MAX_EVENTS 50
+#define USB_MAX_EVENTS 100
struct usb_event_q {
struct usb_event ue;
TAILQ_ENTRY(usb_event_q) next;
OpenPOWER on IntegriCloud