diff options
author | VU Tuan Duc <DucVT@viettel.com.vn> | 2011-11-15 02:08:00 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-15 13:06:15 -0500 |
commit | 5b061623355d8f69327a24838b0aa05e435ae5d5 (patch) | |
tree | 039b403c78d2894b832721509aaca024f319ced6 /drivers | |
parent | 0c16595539b612fe948559433dda08ff96a8bdc7 (diff) |
USB: option: add id for 3G dongle Model VT1000 of Viettel
Add VendorID/ProductID for USB 3G dongle Model VT1000 of Viettel.
Signed-off-by: VU Tuan Duc <ducvt@viettel.com.vn>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/option.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 89ae1f65e1b1..b8da93b3615c 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -468,6 +468,10 @@ static void option_instat_callback(struct urb *urb); | |||
468 | #define YUGA_PRODUCT_CLU528 0x260D | 468 | #define YUGA_PRODUCT_CLU528 0x260D |
469 | #define YUGA_PRODUCT_CLU526 0x260F | 469 | #define YUGA_PRODUCT_CLU526 0x260F |
470 | 470 | ||
471 | /* Viettel products */ | ||
472 | #define VIETTEL_VENDOR_ID 0x2262 | ||
473 | #define VIETTEL_PRODUCT_VT1000 0x0002 | ||
474 | |||
471 | /* some devices interfaces need special handling due to a number of reasons */ | 475 | /* some devices interfaces need special handling due to a number of reasons */ |
472 | enum option_blacklist_reason { | 476 | enum option_blacklist_reason { |
473 | OPTION_BLACKLIST_NONE = 0, | 477 | OPTION_BLACKLIST_NONE = 0, |
@@ -1141,6 +1145,7 @@ static const struct usb_device_id option_ids[] = { | |||
1141 | { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU516) }, | 1145 | { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU516) }, |
1142 | { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU528) }, | 1146 | { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU528) }, |
1143 | { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU526) }, | 1147 | { USB_DEVICE(YUGA_VENDOR_ID, YUGA_PRODUCT_CLU526) }, |
1148 | { USB_DEVICE_AND_INTERFACE_INFO(VIETTEL_VENDOR_ID, VIETTEL_PRODUCT_VT1000, 0xff, 0xff, 0xff) }, | ||
1144 | { } /* Terminating entry */ | 1149 | { } /* Terminating entry */ |
1145 | }; | 1150 | }; |
1146 | MODULE_DEVICE_TABLE(usb, option_ids); | 1151 | MODULE_DEVICE_TABLE(usb, option_ids); |