diff options
author | Johan Hovold <jhovold@gmail.com> | 2010-05-16 09:06:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:48 -0400 |
commit | 9a1f298f8bc92f21b09bd7ef396c2fc6544ce9aa (patch) | |
tree | f9fae1079c49013defcb751a0e8d771c57e9fcf4 /drivers/usb | |
parent | 2afd8287c6e2ac6c1affb46d009cfd866dffed77 (diff) |
USB: visor: increase bulk-out buffer size
Increase the bulk-out buffer size to avoid any regression in throughput
after replacing the old writing scheme which used dynamic buffers (e.g.
up to 2k).
256b has been determined to be a good choice for several drivers
including ftdi_sio which used to have a more or less identical write
implementation.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/visor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index 17fd8822d07f..eb76aaef4268 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c | |||
@@ -186,6 +186,7 @@ static struct usb_serial_driver handspring_device = { | |||
186 | .usb_driver = &visor_driver, | 186 | .usb_driver = &visor_driver, |
187 | .id_table = id_table, | 187 | .id_table = id_table, |
188 | .num_ports = 2, | 188 | .num_ports = 2, |
189 | .bulk_out_size = 256, | ||
189 | .open = visor_open, | 190 | .open = visor_open, |
190 | .close = visor_close, | 191 | .close = visor_close, |
191 | .throttle = usb_serial_generic_throttle, | 192 | .throttle = usb_serial_generic_throttle, |
@@ -206,6 +207,7 @@ static struct usb_serial_driver clie_5_device = { | |||
206 | .usb_driver = &visor_driver, | 207 | .usb_driver = &visor_driver, |
207 | .id_table = clie_id_5_table, | 208 | .id_table = clie_id_5_table, |
208 | .num_ports = 2, | 209 | .num_ports = 2, |
210 | .bulk_out_size = 256, | ||
209 | .open = visor_open, | 211 | .open = visor_open, |
210 | .close = visor_close, | 212 | .close = visor_close, |
211 | .throttle = usb_serial_generic_throttle, | 213 | .throttle = usb_serial_generic_throttle, |
@@ -226,6 +228,7 @@ static struct usb_serial_driver clie_3_5_device = { | |||
226 | .usb_driver = &visor_driver, | 228 | .usb_driver = &visor_driver, |
227 | .id_table = clie_id_3_5_table, | 229 | .id_table = clie_id_3_5_table, |
228 | .num_ports = 1, | 230 | .num_ports = 1, |
231 | .bulk_out_size = 256, | ||
229 | .open = visor_open, | 232 | .open = visor_open, |
230 | .close = visor_close, | 233 | .close = visor_close, |
231 | .throttle = usb_serial_generic_throttle, | 234 | .throttle = usb_serial_generic_throttle, |