summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
authorElina Pasheva <epasheva@sierrawireless.com>2009-11-04 19:25:48 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 20:55:19 +0100
commit3a2b808e95287c8235e25a833fda3dad3e9853ef (patch)
tree5cb2af791049ef8c7c949d2e0027863dffdaea00 /drivers/usb/host/ehci-hcd.c
parentUSB: Interface Association Descriptors added to CDC & RNDIS (diff)
downloadlinux-3a2b808e95287c8235e25a833fda3dad3e9853ef.tar.xz
linux-3a2b808e95287c8235e25a833fda3dad3e9853ef.zip
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/usb/host/ehci-hcd.c')
0 files changed, 0 insertions, 0 deletions