Add some 3G dongle

This commit is contained in:
CMY
2011-08-31 10:55:09 +08:00
parent 6a8deefc1c
commit 99b6d2267b
2 changed files with 6 additions and 13 deletions

View File

@@ -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
*/

View File

@@ -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) },