2013-03-06 16:29:23

by Schmiedl Christian

[permalink] [raw]
Subject: [PATCH] USB: added support for Cinterion's products AH6 and PLS8

From: Christian Schmiedl <[email protected]>

/drivers/usb/serial/option.c: added support for Cinterion's products AH6 and PLS8 by adding Product IDs and USB_DEVICE tuples
Signed-off-by: Christian Schmiedl <[email protected]>
---
patch is against linux-3.2.40
--- linux-3.2.40/drivers/usb/serial/option.c.orig 2013-03-06 16:12:49.773178503 +0100
+++ linux-3.2.40/drivers/usb/serial/option.c 2013-03-06 16:53:00.589134238 +0100
@@ -341,6 +341,8 @@ static void option_instat_callback(struc
#define CINTERION_PRODUCT_EU3_E 0x0051
#define CINTERION_PRODUCT_EU3_P 0x0052
#define CINTERION_PRODUCT_PH8 0x0053
+#define CINTERION_PRODUCT_AH6 0x0055
+#define CINTERION_PRODUCT_PLS8 0x0060

/* Olivetti products */
#define OLIVETTI_VENDOR_ID 0x0b3c
@@ -1260,6 +1262,8 @@ static const struct usb_device_id option
{ USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_EU3_E) },
{ USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_EU3_P) },
{ USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_PH8) },
+ { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_AH6) },
+ { USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_PLS8) },
{ USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_HC28_MDM) },
{ USB_DEVICE(CINTERION_VENDOR_ID, CINTERION_PRODUCT_HC28_MDMNET) },
{ USB_DEVICE(SIEMENS_VENDOR_ID, CINTERION_PRODUCT_HC25_MDM) },