• fangxiaozhi's avatar
    USB: support Huawei data card product IDs · 1460e5e4
    fangxiaozhi authored
    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: default avatarfangxiaozhi <huananhu@huawei.com>
    Signed-off-by: default avatarPhil Dibowitz <phil@ipom.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    1460e5e4
option.c 38.9 KB