diff options
author | Nils Radtke <lkml@Think-Future.de> | 2010-05-17 08:14:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:47 -0400 |
commit | 86234d4975ce084d14711283a3bfc69305f97602 (patch) | |
tree | fb623325a4c7024d5b5270865dd25d65d5f5782e /drivers/usb | |
parent | c3443a6dbab1545265354d02a7edf95c84b0affd (diff) |
USB: option.c: OLIVETTI OLICARD100 support
This patch adds support for an olivetti olicard100 HЅDPA usb-stick.
This device is a zeroCD one with ID 0b3c:c700 that needs switching via
eject or usb-modeswitch with
MessageContent="5553424312345678000000000000061b000000030000000000000000000000".
After switching it has ID 0b3c:c000 and provides 5 serial ports ttyUSB[0-4].
Port 0 (modem) and 4 are interrupt ports.
Signed-off-by: Nils Radtke <lkml@Think-Future.de>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/option.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 030f65a27fc0..e280ad8e12f7 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -359,6 +359,10 @@ static void option_instat_callback(struct urb *urb); | |||
359 | 359 | ||
360 | #define CINTERION_VENDOR_ID 0x0681 | 360 | #define CINTERION_VENDOR_ID 0x0681 |
361 | 361 | ||
362 | /* Olivetti products */ | ||
363 | #define OLIVETTI_VENDOR_ID 0x0b3c | ||
364 | #define OLIVETTI_PRODUCT_OLICARD100 0xc000 | ||
365 | |||
362 | /* some devices interfaces need special handling due to a number of reasons */ | 366 | /* some devices interfaces need special handling due to a number of reasons */ |
363 | enum option_blacklist_reason { | 367 | enum option_blacklist_reason { |
364 | OPTION_BLACKLIST_NONE = 0, | 368 | OPTION_BLACKLIST_NONE = 0, |
@@ -879,6 +883,8 @@ static const struct usb_device_id option_ids[] = { | |||
879 | { USB_DEVICE(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1012)}, | 883 | { USB_DEVICE(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1012)}, |
880 | 884 | ||
881 | { USB_DEVICE(CINTERION_VENDOR_ID, 0x0047) }, | 885 | { USB_DEVICE(CINTERION_VENDOR_ID, 0x0047) }, |
886 | |||
887 | { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD100) }, | ||
882 | { } /* Terminating entry */ | 888 | { } /* Terminating entry */ |
883 | }; | 889 | }; |
884 | MODULE_DEVICE_TABLE(usb, option_ids); | 890 | MODULE_DEVICE_TABLE(usb, option_ids); |