Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Make the USB event queue longer. Mine overflows...



details:   https://anonhg.NetBSD.org/src/rev/958875d50085
branches:  trunk
changeset: 483690:958875d50085
user:      augustss <augustss%NetBSD.org@localhost>
date:      Thu Mar 16 00:46:38 2000 +0000

description:
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:

 sys/dev/usb/usb.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0beaecbb826a -r 958875d50085 sys/dev/usb/usb.c
--- a/sys/dev/usb/usb.c Thu Mar 16 00:41:50 2000 +0000
+++ b/sys/dev/usb/usb.c Thu Mar 16 00:46:38 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb.c,v 1.40 2000/03/14 23:13:12 augustss Exp $        */
+/*     $NetBSD: usb.c,v 1.41 2000/03/16 00:46:38 augustss Exp $        */
 /*     $FreeBSD: src/sys/dev/usb/usb.c,v 1.20 1999/11/17 22:33:46 n_hibma Exp $        */
 
 /*
@@ -150,7 +150,7 @@
 static void    usb_create_event_thread __P((void *));
 static void    usb_event_thread __P((void *));
 
-#define USB_MAX_EVENTS 50
+#define USB_MAX_EVENTS 100
 struct usb_event_q {
        struct usb_event ue;
        SIMPLEQ_ENTRY(usb_event_q) next;



Home | Main Index | Thread Index | Old Index