From 655a4d037d1053c96235eac09e641f5459071fc3 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 1 Jul 2005 15:49:52 +0000 Subject: [PATCH] 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 --- usr.sbin/usbd/usbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/usbd/usbd.c b/usr.sbin/usbd/usbd.c index 61157130be02..30c1526bebc2 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