mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
Revert "temp revert usb serial option change"
This reverts commit 19d351a97f.
Conflicts:
drivers/usb/serial/option.c
This commit is contained in:
@@ -308,6 +308,7 @@ static void option_instat_callback(struct urb *urb);
|
||||
#define ZTE_PRODUCT_CDMA_TECH 0xfffe
|
||||
#define ZTE_PRODUCT_AC8710 0xfff1
|
||||
#define ZTE_PRODUCT_AC2726 0xfff5
|
||||
#define ZTE_PRODUCT_AC100 0x0094
|
||||
#define ZTE_PRODUCT_AC8710T 0xffff
|
||||
|
||||
/* ZTE PRODUCTS -- alternate vendor ID */
|
||||
@@ -382,6 +383,10 @@ static void option_instat_callback(struct urb *urb);
|
||||
#define HAIER_VENDOR_ID 0x201e
|
||||
#define HAIER_PRODUCT_CE100 0x2009
|
||||
|
||||
/* Thinkwill products */
|
||||
#define THINKWILL_VENDOR_ID 0x19f5
|
||||
#define THINKWILL_PRODUCT_ID 0x9909
|
||||
|
||||
#define CINTERION_VENDOR_ID 0x0681
|
||||
|
||||
/* Olivetti products */
|
||||
@@ -392,6 +397,13 @@ static void option_instat_callback(struct urb *urb);
|
||||
#define CELOT_VENDOR_ID 0x211f
|
||||
#define CELOT_PRODUCT_CT680M 0x6801
|
||||
|
||||
/* leadcore LC1808*/
|
||||
#define LEADCORE_VENDOR_ID 0x1ab7
|
||||
#define LEADCORE_PRODUCT_LC1808 0x2200
|
||||
/*展讯模组*/
|
||||
#define SC8800G_VENDOR_ID 0x067b
|
||||
#define SC8800G_PRODUCT_ID 0x2303
|
||||
|
||||
/* some devices interfaces need special handling due to a number of reasons */
|
||||
enum option_blacklist_reason {
|
||||
OPTION_BLACKLIST_NONE = 0,
|
||||
@@ -414,6 +426,7 @@ static const struct option_blacklist_info four_g_w14_blacklist = {
|
||||
|
||||
static const struct usb_device_id option_ids[] = {
|
||||
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
|
||||
{ USB_DEVICE(THINKWILL_VENDOR_ID,THINKWILL_PRODUCT_ID)},
|
||||
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
|
||||
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_LIGHT) },
|
||||
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA_QUAD) },
|
||||
@@ -443,6 +456,7 @@ static const struct usb_device_id option_ids[] = {
|
||||
{ USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GLX) },
|
||||
{ USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GKE) },
|
||||
{ USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GLE) },
|
||||
{ USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E600)},
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E600, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E220, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_E220BIS, 0xff, 0xff, 0xff) },
|
||||
@@ -900,6 +914,11 @@ static const struct usb_device_id option_ids[] = {
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_CDMA_TECH, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_AC8710, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_AC2726, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xFFED, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xFFFE, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xFFEB, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xF006, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_AC100)},
|
||||
{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_AC8710T, 0xff, 0xff, 0xff) },
|
||||
{ USB_DEVICE(ZTE_VENDOR_ID2, ZTE_PRODUCT_MF_330) },
|
||||
{ USB_DEVICE(BENQ_VENDOR_ID, BENQ_PRODUCT_H10) },
|
||||
@@ -939,6 +958,30 @@ static const struct usb_device_id option_ids[] = {
|
||||
{ USB_DEVICE(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_100F) },
|
||||
{ USB_DEVICE(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1011)},
|
||||
{ USB_DEVICE(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1012)},
|
||||
{ USB_DEVICE(LEADCORE_VENDOR_ID, LEADCORE_PRODUCT_LC1808) }, //zzc
|
||||
{ USB_DEVICE(SC8800G_VENDOR_ID,SC8800G_PRODUCT_ID)},
|
||||
{ USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD100) },
|
||||
{ USB_DEVICE(CELOT_VENDOR_ID, CELOT_PRODUCT_CT680M) }, /* CT-650 CDMA 450 1xEVDO modem */
|
||||
|
||||
// cmy:
|
||||
{ USB_DEVICE(0x0685, 0x6000) },
|
||||
{ USB_DEVICE(0x1E89, 0x1E16) },
|
||||
{ USB_DEVICE(0x7693, 0x0001) },
|
||||
{ USB_DEVICE(0x1D09, 0x4308) },
|
||||
{ USB_DEVICE(0x1234, 0x0033) },
|
||||
{ USB_DEVICE(0xFEED, 0x0001) },
|
||||
{ USB_DEVICE(ALCATEL_VENDOR_ID, 0x0017) },
|
||||
{ USB_DEVICE(0x1C9E, 0x9E00) },
|
||||
{ USB_DEVICE(0x1C9E, 0xF000) },
|
||||
{ USB_DEVICE(0x19D2, 0x1303) },
|
||||
{ USB_DEVICE(0x19F5, 0x9013) }, // MW100
|
||||
{ USB_DEVICE(0x21F5, 0x2008) },
|
||||
{ USB_DEVICE(0x12D1, 0x1D09) },
|
||||
{ USB_DEVICE(0x04CC, 0x2259) },
|
||||
{ USB_DEVICE(0x04CC, 0x226E) },
|
||||
{ USB_DEVICE(0x04CC, 0x225A) },
|
||||
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x0015) },
|
||||
|
||||
{ USB_DEVICE(CINTERION_VENDOR_ID, 0x0047) },
|
||||
{ USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD100) },
|
||||
{ USB_DEVICE(CELOT_VENDOR_ID, CELOT_PRODUCT_CT680M) }, /* CT-650 CDMA 450 1xEVDO modem */
|
||||
|
||||
Reference in New Issue
Block a user