diff options
author | Duncan Sands <baldrick@free.fr> | 2006-01-13 10:52:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 17:23:40 -0800 |
commit | 6f7494759870ec6fbb066f7202c5585fe36fbe82 (patch) | |
tree | 1fcff14ece062fefba2712b55ab4bddd05866425 /drivers/usb/atm/xusbatm.c | |
parent | 227d77611b31df5d9afa572b984f73640f54d490 (diff) |
[PATCH] USBATM: measure buffer size in bytes; force valid sizes
Change the module parameters rcv_buf_size and snd_buf_size to
specify buffer sizes in bytes rather than ATM cells. Since
there is some danger that users may not notice this change,
the parameters are renamed to rcv_buf_bytes etc. The transmit
buffer needs to be a multiple of the ATM cell size in length,
while the receive buffer should be a multiple of the endpoint
maxpacket size (this wasn't enforced before, which causes trouble
with isochronous transfers), so enforce these restrictions. Now
that the usbatm probe method inspects the endpoint maxpacket size,
minidriver bind routines need to set the correct alternate setting
for the interface in their bind routine. This is the reason for
the speedtch changes.
Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm/xusbatm.c')
0 files changed, 0 insertions, 0 deletions