Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2008 19:48:33 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        FreeBSD USB List <FreeBSD-usb@freebsd.org>
Cc:        ticso@cicely.de
Subject:   Re: number of /dev/usb nodes
Message-ID:  <200806281948.37009.hselasky@c2i.net>
In-Reply-To: <484C0E6B.5020306@telenix.org>
References:  <484AC2F1.1000806@telenix.org> <20080608155015.GO71712@cicely7.cicely.de> <484C0E6B.5020306@telenix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I am about to set the following USB limits:

#define	USB_BUS_MAX 256			/* units */
#define	USB_DEV_MAX 128			/* units */
#define	USB_IFACE_MAX 32		/* units */
#define	USB_EP_MAX (2*16)		/* hardcoded */
#define	USB_FIFO_MAX (2 * USB_EP_MAX)

The multiplication product of (BUS*DEV*IFACE*FIFO) must fit within a 32-bit 
unsigned integer.

Any objections ?

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806281948.37009.hselasky>