Am Freitag, 21. September 2001 02:27 schrieb Pavel Machek:
> Hi!
>
> > > > So it is a interface specific setting from the drivers point of view.
> > >
> > > Yes, USB has "interface" drivers more than "device" drivers;
> > > but control messaging is device-wide ... and if we view this
> > > as special-casing to get safe USB-storage, I suspect we won't
> > > be seeing many composite storage-plus-something-else style
> > > devices!
> >
> > Plus it's much easier to do with a device specific setting.
> > I wanted to finish this today, but there is not enough time.
> > It turns out that a device specific flag is doable. In addition
> > usb_alloc_urb must take an additional parameter. This of course touches
> > all drivers.
>
> Why do you need additonal parameter? seems to me like urbs are preallocated
> in storage -> you can allways usb_alloc_urb with GFP_KERNEL -> no need for
> new parameter.

usb_alloc_urb() is used in the usbcore in relevant code paths.
I've sent out a patch that makes a special internal allocation method for the 
usbcore. Have you looked into the patch ?
Either you have code duplication or an API change.

        Regards
                Oliver


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to