aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/option.c
diff options
context:
space:
mode:
authorEnrico Mioso <mrkiko.rs@gmail.com>2010-09-17 04:54:23 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 13:21:44 -0400
commitc6991b6fd2b4201174dc4620d0c8c4f5ff27b36f (patch)
tree0d4e9a58699520a94ef34d00464cf8384d26f748 /drivers/usb/serial/option.c
parent2f1136d1d08a63dcdbcd462621373f30d8dfe590 (diff)
USB: option: Add new ONDA vendor id and product id for ONDA MT825UP
This patch, adds to the option driver the Onda Communication (http://www.ondacommunication.com) vendor id, and the MT825UP modem device id. Note that many variants of this same device are being release here in Italy (at least one or two per telephony operator). These devices are perfectly equivalent except for some predefined settings (which can be changed of course). It should be noted that most ONDA devices are allready supported (they used other vendor's ids in the past). The patch seems working fine here, and the rest of the driver seems uninfluenced. Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/option.c')
-rw-r--r--drivers/usb/serial/option.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 51de0ddefbf1..2297fb1bcf65 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -392,6 +392,12 @@ static void option_instat_callback(struct urb *urb);
392#define CELOT_VENDOR_ID 0x211f 392#define CELOT_VENDOR_ID 0x211f
393#define CELOT_PRODUCT_CT680M 0x6801 393#define CELOT_PRODUCT_CT680M 0x6801
394 394
395/* ONDA Communication vendor id */
396#define ONDA_VENDOR_ID 0x1ee8
397
398/* ONDA MT825UP HSDPA 14.2 modem */
399#define ONDA_MT825UP 0x000b
400
395/* some devices interfaces need special handling due to a number of reasons */ 401/* some devices interfaces need special handling due to a number of reasons */
396enum option_blacklist_reason { 402enum option_blacklist_reason {
397 OPTION_BLACKLIST_NONE = 0, 403 OPTION_BLACKLIST_NONE = 0,
@@ -942,6 +948,7 @@ static const struct usb_device_id option_ids[] = {
942 { USB_DEVICE(CINTERION_VENDOR_ID, 0x0047) }, 948 { USB_DEVICE(CINTERION_VENDOR_ID, 0x0047) },
943 { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD100) }, 949 { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD100) },
944 { USB_DEVICE(CELOT_VENDOR_ID, CELOT_PRODUCT_CT680M) }, /* CT-650 CDMA 450 1xEVDO modem */ 950 { USB_DEVICE(CELOT_VENDOR_ID, CELOT_PRODUCT_CT680M) }, /* CT-650 CDMA 450 1xEVDO modem */
951 { USB_DEVICE(ONDA_VENDOR_ID, ONDA_MT825UP) }, /* ONDA MT825UP modem */
945 { } /* Terminating entry */ 952 { } /* Terminating entry */
946}; 953};
947MODULE_DEVICE_TABLE(usb, option_ids); 954MODULE_DEVICE_TABLE(usb, option_ids);