On Friday 19 April 2002 06:40, Greg KH wrote:
> On Fri, Apr 19, 2002 at 07:21:07AM +0200, Oliver Neukum wrote:
> > On Friday 19 April 2002 05:56, Greg KH wrote:
> > > Hi all,
> > >
> > > Here's a patch against 2.5.8 that adds fine grain minor allocation to
> > > the usb core code. Now we can ask for only 1 minor number from the USB
> > > core if we want. I also converted all of the current drivers to work
> > > properly. With this patch, my /proc/usb/drivers looks like the
> > > following with a few drivers loaded:
> >
> > Are minors becoming short in supply ?
>
> Yes and no.
>
> Yes because we probably could not get a new major/minor range if we ran
> out of the existing numbers.
>
> No because we have not used up all of our existing numbers, and we even
> got some back by removing the dc2xx driver from the kernel.
>
> But this patch is good, so the drivers that currently were not using all
> 16 of the minor numbers assigned to them (like rio500, or mdc800, or
> dabusb) now only take up what they actually use.
>
> It also offers us more flexability in the future with assigning new
> minor numbers if we have to (there's one driver in the pipeline that
> does not need 16 minors for example.)
I can't help it, it looks like a work around.
In principle there are entirely legal uses of USB which we can't handle
already today. You can connect 30 printers to USB. Or 20 modems.
We are screwed if you do.
I agree that there's a problem, but you are reducing it, not solving it.
Regards
Oliver
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel