lkml.org 
[lkml]   [1999]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-usb] Re: USB device allocation
On Wed, 6 Oct 1999, Gregory P. Smith wrote:

> > My understanding (and maybe I'm smoking crack here) is that there are only
> > 127 devices allowed on a USB tree, and minor numbers go all the way up to
> > 255. So, why not simply have devices accessed by their device number?
>
> USB device != /dev device
>
> A USB device can have lots of interfaces and functions on it. Plus you
> can have multiple USB busses each with lots of devices.

That's a given. We might need kernel compile options to define how many
major numbers are used (and therefore how large the pool is).

Regardless of the translation between USB devices and /dev devices, we
still need some way to present these things in /dev -- perhaps
/dev/usb[0-255] is simply a particular interface on a particular device?
The main thrust of the idea still stands.

Matt

--
Matthew Dharm InterNIC: MDD94
Engineer, Qualcomm, Inc. Cell: (619) 890-6943
Home: mdharm@one-eyed-alien.net Home: (858) 689-1908
Work: mdharm@qualcomm.com Work: (858) 651-7649
Beep: page-matt@one-eyed-alien.net Beep: (858) 621-8155

I want my GPFs!!!
-- Stef
User Friendly, 11/9/1998


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.145 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site