From: Johan Hovold Date: Wed, 17 Mar 2010 22:00:37 +0000 (+0100) Subject: USB: serial: allow drivers to define bulk buffer sizes X-Git-Tag: v2.6.35-rc1~471^2~200 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbcb2b907415a90334521a31a8767cd77462c716;p=pandora-kernel.git USB: serial: allow drivers to define bulk buffer sizes Allow drivers to define custom bulk in/out buffer sizes in struct usb_serial_driver. If not set, fall back to the default buffer size which matches the endpoint size. Three drivers are currently freeing the pre-allocated buffers and allocating larger ones to achieve this at port probe (ftdi_sio) or even at port open (ipaq and iuu_phoenix), which needless to say is suboptimal. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed