source: trunk/target/linux/generic/patches-2.6.32/822-usb_serial_option_add_more_devices.patch @ 28376

Last change on this file since 28376 was 28376, checked in by jow, 5 years ago

[generic] add IDs for Huawai K3770, K3771, K4510 and K4511 to option driver

File size: 2.7 KB
  • drivers/usb/serial/option.c

    a b static int option_resume(struct usb_ser 
    168168#define HUAWEI_PRODUCT_K4505                    0x1464 
    169169#define HUAWEI_PRODUCT_K3765                    0x1465 
    170170#define HUAWEI_PRODUCT_E14AC                    0x14AC 
     171#define HUAWEI_PRODUCT_K3770                    0x14C9 
     172#define HUAWEI_PRODUCT_K3771                    0x14CA 
     173#define HUAWEI_PRODUCT_K4510                    0x14CB 
     174#define HUAWEI_PRODUCT_K4511                    0x14CC 
    171175#define HUAWEI_PRODUCT_ETS1220                  0x1803 
     176#define HUAWEI_PRODUCT_E173S                    0x1C05 
    172177 
    173178#define QUANTA_VENDOR_ID                        0x0408 
    174179#define QUANTA_PRODUCT_Q101                     0xEA02 
    static int option_resume(struct usb_ser 
    338343/* ALCATEL PRODUCTS */ 
    339344#define ALCATEL_VENDOR_ID                       0x1bbb 
    340345#define ALCATEL_PRODUCT_X060S                   0x0000 
     346#define ALCATEL_PRODUCT_X220D                   0x0017 
    341347 
    342348#define PIRELLI_VENDOR_ID                       0x1266 
    343349#define PIRELLI_PRODUCT_C100_1                  0x1002 
    static struct usb_device_id option_ids[] 
    489495        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3765, 0xff, 0xff, 0xff) }, 
    490496        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_ETS1220, 0xff, 0xff, 0xff) }, 
    491497        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E14AC, 0xff, 0xff, 0xff) }, 
     498        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3770, 0xff, 0x02, 0x31) }, 
     499        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3770, 0xff, 0x02, 0x32) }, 
     500        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3771, 0xff, 0x02, 0x31) }, 
     501        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K3771, 0xff, 0x02, 0x32) }, 
     502        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4510, 0xff, 0x01, 0x31) }, 
     503        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4510, 0xff, 0x01, 0x32) }, 
     504        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4511, 0xff, 0x01, 0x31) }, 
     505        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_K4511, 0xff, 0x01, 0x32) }, 
     506        { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E173S) }, 
    492507        { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_9508) }, 
    493508        { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V640) }, /* Novatel Merlin V640/XV620 */ 
    494509        { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V620) }, /* Novatel Merlin V620/S620 */ 
    static struct usb_device_id option_ids[] 
    883898        { USB_DEVICE(ALINK_VENDOR_ID, 0xce16) }, 
    884899        { USB_DEVICE_AND_INTERFACE_INFO(ALINK_VENDOR_ID, ALINK_PRODUCT_3GU, 0xff, 0xff, 0xff) }, 
    885900        { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X060S) }, 
     901        { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X220D) }, 
    886902        { USB_DEVICE(AIRPLUS_VENDOR_ID, AIRPLUS_PRODUCT_MCD650) }, 
    887903        { USB_DEVICE(TLAYTECH_VENDOR_ID, TLAYTECH_PRODUCT_TEU800) }, 
    888904        { USB_DEVICE(FOUR_G_SYSTEMS_VENDOR_ID, FOUR_G_SYSTEMS_PRODUCT_W14) }, 
Note: See TracBrowser for help on using the repository browser.