aboutsummaryrefslogtreecommitdiff
path: root/drivers/sbus
diff options
context:
space:
mode:
authorElina Pasheva <epasheva@sierrawireless.com>2009-11-04 10:25:48 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 11:55:19 -0800
commit3a2b808e95287c8235e25a833fda3dad3e9853ef (patch)
tree5cb2af791049ef8c7c949d2e0027863dffdaea00 /drivers/sbus
parentb97503ffa79f0a4aa13c7cd8b449b98d3077c78f (diff)
USB: serial: sierra driver memory reduction
This patch deals with reducing the memory footprint for sierra driver. This optimization is aimed for embedded software customers. Some sierra modems can expose upwards of 7 USB interfaces, each possibly offering different services. In general, interfaces used for the exchange of wireless data require much higher throughput, hence require more memory (i.e. more URBs) than lower performance interfaces. URBs used for the IN direction are pre-allocated by the driver and this patch introduces a way to configure the number of IN URBs allocated on a per-interface basis. Interfaces with lower throughput requirements receive fewer URBs, thereby reducing the RAM memory consumed by the driver. NOTE1: This driver has always pre-allocated URBs for the IN direction. NOTE2: The number of URBs pre-allocated for the low-performance interfaces has already been extensively tested in previous versions of this driver. We also added the capability to log function calls by adding DEBUG flag. Please note that this flag is commented out because this is the default state for it. Signed-off-by: Elina Pasheva <epasheva@sierrawireless.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions