mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
Add some 3G dongle
This commit is contained in:
@@ -55,6 +55,8 @@ static usb_parameter skip_device_list[] = {
|
||||
|
||||
// 山寨
|
||||
// {0x05C6, -1, NULL, NULL, NULL},
|
||||
{0x05C6, 0x1000, NULL, NULL, NULL},
|
||||
{0x1AB7, 0x5700, NULL, NULL, NULL},
|
||||
{0x20B9, 0x1682, NULL, NULL, NULL},
|
||||
|
||||
{0x028A, 0x1006, NULL, NULL, NULL},
|
||||
@@ -71,19 +73,6 @@ static usb_parameter skip_device_list[] = {
|
||||
{0x0685, 0x7000, NULL, NULL, NULL},
|
||||
};
|
||||
|
||||
/*
|
||||
0 - 不同
|
||||
1 - 相同
|
||||
*/
|
||||
static int match_string(const char* s1, const char* s2)
|
||||
{
|
||||
int count = 0;
|
||||
while( s1[count] && s2[count] && !(s1[count]-s2[count]) )
|
||||
++count;
|
||||
|
||||
return !(s1[count]-s2[count]);
|
||||
}
|
||||
|
||||
/* 1 - match
|
||||
* 0 - no match
|
||||
*/
|
||||
|
||||
@@ -955,6 +955,10 @@ static struct usb_device_id option_ids[] = {
|
||||
{ USB_DEVICE(0x04CC, 0x226E) },
|
||||
{ USB_DEVICE(0x04CC, 0x225A) },
|
||||
{ USB_DEVICE(QUALCOMM_VENDOR_ID, 0x0015) },
|
||||
{ USB_DEVICE(ALCATEL_VENDOR_ID, 0x00b7) },
|
||||
{ USB_DEVICE(ZTE_VENDOR_ID, 0xFFFF) },
|
||||
{ USB_DEVICE(LEADCORE_VENDOR_ID, 0x5700) },
|
||||
{ USB_DEVICE(LEADCORE_VENDOR_ID, 0x6341) },
|
||||
|
||||
/* Cinterion */
|
||||
{ USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_EU3_E) },
|
||||
|
||||
Reference in New Issue
Block a user