source: trunk/target/linux/generic/patches-2.6.31/822-usb_serial_option_add_more_devices.patch @ 26906

Last change on this file since 26906 was 26906, checked in by jow, 6 years ago

[generic] add definitions for Alcatel X220D and Huawai E173s to option.ko (#9422)

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

    a b static int option_resume(struct usb_ser 
    167167#define HUAWEI_PRODUCT_E143E                    0x143E 
    168168#define HUAWEI_PRODUCT_E143F                    0x143F 
    169169#define HUAWEI_PRODUCT_E14AC                    0x14AC 
     170#define HUAWEI_PRODUCT_E173S                    0x1C05 
    170171 
    171172#define QUANTA_VENDOR_ID                        0x0408 
    172173#define QUANTA_PRODUCT_Q101                     0xEA02 
    static int option_resume(struct usb_ser 
    332333/* ALCATEL PRODUCTS */ 
    333334#define ALCATEL_VENDOR_ID                       0x1bbb 
    334335#define ALCATEL_PRODUCT_X060S                   0x0000 
     336#define ALCATEL_PRODUCT_X220D                   0x0017 
    335337 
    336338/* Airplus products */ 
    337339#define AIRPLUS_VENDOR_ID                       0x1011 
    static struct usb_device_id option_ids[] 
    439441        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E143E, 0xff, 0xff, 0xff) }, 
    440442        { USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E143F, 0xff, 0xff, 0xff) }, 
    441443        { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E14AC) }, 
     444        { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E173S) }, 
    442445        { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_9508) }, 
    443446        { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V640) }, /* Novatel Merlin V640/XV620 */ 
    444447        { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_V620) }, /* Novatel Merlin V620/S620 */ 
    static struct usb_device_id option_ids[] 
    639642        { USB_DEVICE(ALINK_VENDOR_ID, 0xce16) }, 
    640643        { USB_DEVICE_AND_INTERFACE_INFO(ALINK_VENDOR_ID, ALINK_PRODUCT_3GU, 0xff, 0xff, 0xff) }, 
    641644        { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X060S) }, 
     645        { USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_X220D) }, 
    642646        { USB_DEVICE(AIRPLUS_VENDOR_ID, AIRPLUS_PRODUCT_MCD650) }, 
    643647        { USB_DEVICE(TLAYTECH_VENDOR_ID, TLAYTECH_PRODUCT_TEU800) }, 
    644648        { USB_DEVICE(HAIER_VENDOR_ID, HAIER_PRODUCT_CE100) }, 
Note: See TracBrowser for help on using the repository browser.