]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: support Huawei data card product IDs
authorfangxiaozhi <huananhu@huawei.com>
Wed, 15 Oct 2008 06:15:36 +0000 (14:15 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 17:05:28 +0000 (10:05 -0700)
commit1460e5e44cc5ecad7704f63b10dcb3a59d0e008b
tree3d7e5beae8df60dc2c29305e7c3e103c87f2da07
parentbfd8408d68975759aba1b466af6f5388d7adb836
USB: support Huawei data card product IDs

In this patch, we want to do one thing: add more Huawei product IDs into the
USB driver. Then it can support  more Huawei data card devices. So to declare
the unusual device for new Huawei data card devices in unusual_devs.h and to
declare more new product IDs in option.c.

To modify the data value and length in the function of
usb_stor_huawei_e220_init in initializers.c That's because based on the USB
standard, while sending SET_FETURE_D to the device, it requires the
corresponding data to be zero, and its sending length also must be zero.  In
our old solution, it can be compatible with our WCDMA data card devices, but
can not support our CDMA data card devices.  But in this new solution, it can
be compatible with all of our data card devices.

Signed-off-by: fangxiaozhi <huananhu@huawei.com>
Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/option.c
drivers/usb/storage/initializers.c
drivers/usb/storage/unusual_devs.h