On Sun, May 05, 2002 at 12:47:29PM +0200, Oliver Neukum wrote:
> Am Sonntag, 5. Mai 2002 01:17 schrieb Greg KH:
> > On Sun, May 05, 2002 at 12:03:09AM +0200, Oliver Neukum wrote:
> > > Hi,
> > >
> > > under the dynamic scheme, you hand out all a driver's minors at once.
> > > Why did you decide on that ? The largest number of devices could be
> > > supported if a minor were handed out whenever the device is plugged
> > > in.
> >
> > That is exactly what the code does.  A minor number is handed out when
> > the driver asks for it.  And the drivers ask for a number in their probe
> > function.  Or did I mess something up?
> 
> Why do you have the option to hand out several minors in a block ?
> That would seem to encourage fragmentation.

Some devices need more than one minor (look at the usb-serial drivers
that need more than one minor per device.)  I will be moving the
usb-serial core to also use this call in the near future, so we need the
ability to ask for more than one minor.

thanks,

greg k-h

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to