summaryrefslogtreecommitdiffstats
path: root/usr.sbin/usbd
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-07-01 15:49:52 +0000
committerjhb <jhb@FreeBSD.org>2005-07-01 15:49:52 +0000
commitbad5ea90fcf051fa5d42f7028e4329b3e022689c (patch)
tree39b56dc15dce7cf25d5c35b93c8256625e28905d /usr.sbin/usbd
parent6228a1d064d22e837bd55ad6ca80cd1544908ebc (diff)
downloadFreeBSD-src-bad5ea90fcf051fa5d42f7028e4329b3e022689c.zip
FreeBSD-src-bad5ea90fcf051fa5d42f7028e4329b3e022689c.tar.gz
Up the count of busses supported by usbd(8) from 4 to 40. With the advent
of USB2 "duplicate" psuedo busses, it is not at all uncommon for machines to have more than 4 USB busses nowadays. PR: bin/81533 Submitted by: Darren Pilgrim dmp at bitfreak dot org Approved by: re (scottl) MFC after: 1 week
Diffstat (limited to 'usr.sbin/usbd')
-rw-r--r--usr.sbin/usbd/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/usbd/usbd.c b/usr.sbin/usbd/usbd.c
index 6115713..30c1526b 100644
--- a/usr.sbin/usbd/usbd.c
+++ b/usr.sbin/usbd/usbd.c
@@ -81,7 +81,7 @@
/* Maximum number of USB busses expected to be in a system
* XXX should be replaced by dynamic allocation.
*/
-#define MAXUSBDEV 4
+#define MAXUSBDEV 40
/* Sometimes a device does not respond in time for interrupt
* driven explore to find it. Therefore we run an exploration
OpenPOWER on IntegriCloud