aboutsummaryrefslogtreecommitdiffstats
path: root/usb.current
diff options
authorGreg Kroah-Hartman <gregkh@suse.de>2010-04-27 11:54:46 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-27 11:54:46 -0700
commit7af7b6310f65f1151fb612a4199962f388f43b13 (patch)
tree64a03ded0084bf67f0eeefab777f75c0d0ae9dca /usb.current
parentddd1a5a91cb17d2b31cfd1ddad70c15c7967c5dd (diff)
downloadpatches-7af7b6310f65f1151fb612a4199962f388f43b13.tar.gz
more bugfixes
Diffstat (limited to 'usb.current')
-rw-r--r--usb.current/usb-serial-option-add-cinterion-device-id.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/usb.current/usb-serial-option-add-cinterion-device-id.patch b/usb.current/usb-serial-option-add-cinterion-device-id.patch
new file mode 100644
index 00000000000000..e06a85dd4cf6c1
--- /dev/null
+++ b/usb.current/usb-serial-option-add-cinterion-device-id.patch
@@ -0,0 +1,34 @@
+From foo@baz Tue Apr 27 09:38:51 PDT 2010
+Date: Tue, 27 Apr 2010 09:38:51 -0700
+To: Greg KH <greg@kroah.com>
+From: Greg Kroah-Hartman <gregkh@suse.de>
+Subject: USB: serial: option: add cinterion device id
+
+This adds a device id for a Cinterion device.
+
+Reported-by: John Race <John.Race@roscom.co.uk>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ drivers/usb/serial/option.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/drivers/usb/serial/option.c
++++ b/drivers/usb/serial/option.c
+@@ -378,6 +378,8 @@ static int option_resume(struct usb_ser
+ #define HAIER_VENDOR_ID 0x201e
+ #define HAIER_PRODUCT_CE100 0x2009
+
++#define CINTERION_VENDOR_ID 0x0681
++
+ /* some devices interfaces need special handling due to a number of reasons */
+ enum option_blacklist_reason {
+ OPTION_BLACKLIST_NONE = 0,
+@@ -723,6 +725,7 @@ static const struct usb_device_id option
+ { USB_DEVICE(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1011)},
+ { USB_DEVICE(PIRELLI_VENDOR_ID, PIRELLI_PRODUCT_1012)},
+
++ { USB_DEVICE(CINTERION_VENDOR_ID, 0x0047) },
+ { } /* Terminating entry */
+ };
+ MODULE_DEVICE_TABLE(usb, option_ids);