]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: unusual-devs: 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>
Sat, 13 Dec 2008 23:29:21 +0000 (15:29 -0800)
commite04dc148cc682e147f0443cef97e00f5865dd5a6
tree64e174f37090076df277718f32a3e0aac480b052
parent30b30aeb5f0da22072a260f7ffe40f3531b8a2c6
USB: unusual-devs: support Huawei data card product IDs

commit 1460e5e44cc5ecad7704f63b10dcb3a59d0e008b upstream.

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/storage/unusual_devs.h