On Tue, Jul 31, 2007 at 09:14:30AM +0200, Oliver Neukum wrote:
> Am Dienstag 31 Juli 2007 schrieb Greg KH:
> > > So I agree with the proposition of Oliver to add a buffer_size in the
> > > usb_serial_driver structure.
> > > This is very useful to prepare a buffer able to make bulk transfer.
> > 
> > I don't think it is necessary to add as it has not been a problem yet
> > for any driver that I know of.
> 
> This is intended for use of a new driver. Of course a driver can
> allocate its own buffer. But the purpose of the framework is to
> make subdrivers easier to write. So if a larger buffer is needed
> for some reason in the device's protocol, why not allocate it in the
> framework?

Normally if a usb-serial driver doesn't want to use the provided urb, it
just creates its own and its own buffer and ignores the provided one.

But if you think that other drivers would also benifit from this change,
ok, I'll not object to it.

thanks,

greg k-h

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to