Re: [RFC] USB: cdc-wdm: add msgsize sysfs attribute

2013-02-13 Thread Bjørn Mork
Oliver Neukum writes: > On Saturday 09 February 2013 20:16:20 Bjørn Mork wrote: >> Oliver Neukum writes: >> > On Saturday 09 February 2013 18:41:52 Bjørn Mork wrote: > >> Well, OK..., "generic" then. In the sense that the attribute stays the >> same regardless of whether the value is hardcoded i

Re: [RFC] USB: cdc-wdm: add msgsize sysfs attribute

2013-02-13 Thread Dan Williams
On Wed, 2013-02-13 at 15:27 +0100, Oliver Neukum wrote: > On Saturday 09 February 2013 20:16:20 Bjørn Mork wrote: > > Oliver Neukum writes: > > > On Saturday 09 February 2013 18:41:52 Bjørn Mork wrote: > > > Well, OK..., "generic" then. In the sense that the attribute stays the > > same regardle

Re: [RFC] USB: cdc-wdm: add msgsize sysfs attribute

2013-02-13 Thread Oliver Neukum
On Saturday 09 February 2013 20:16:20 Bjørn Mork wrote: > Oliver Neukum writes: > > On Saturday 09 February 2013 18:41:52 Bjørn Mork wrote: > Well, OK..., "generic" then. In the sense that the attribute stays the > same regardless of whether the value is hardcoded in the driver (QMI), > or parse

Re: [RFC] USB: cdc-wdm: add msgsize sysfs attribute

2013-02-09 Thread Bjørn Mork
Oliver Neukum writes: > On Saturday 09 February 2013 18:41:52 Bjørn Mork wrote: >> All this is unnecessarily complex and likely to make drivers and >> applications end up using different limits, causing errors which >> are hard to debug and replicate. >> >> Exporting the maximum message size from

Re: [RFC] USB: cdc-wdm: add msgsize sysfs attribute

2013-02-09 Thread Oliver Neukum
On Saturday 09 February 2013 18:41:52 Bjørn Mork wrote: > All this is unnecessarily complex and likely to make drivers and > applications end up using different limits, causing errors which > are hard to debug and replicate. > > Exporting the maximum message size from the driver simplifies > the t