diff options
| author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-08 22:01:01 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-08 22:01:01 -0700 |
| commit | 9442e8c3afa957ffb1de9207354f3531010ba388 (patch) | |
| tree | a0994f7a32148fbdd0db37571a3f73d0e85ee522 /usb.current | |
| parent | 1248fa0944255fb020630cc38418980e924cef95 (diff) | |
| download | patches-9442e8c3afa957ffb1de9207354f3531010ba388.tar.gz | |
option patch
Diffstat (limited to 'usb.current')
| -rw-r--r-- | usb.current/usb-add-vendor-product-id-of-zte-mf628-to-option.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/usb.current/usb-add-vendor-product-id-of-zte-mf628-to-option.patch b/usb.current/usb-add-vendor-product-id-of-zte-mf628-to-option.patch new file mode 100644 index 00000000000000..b1a8083ba05929 --- /dev/null +++ b/usb.current/usb-add-vendor-product-id-of-zte-mf628-to-option.patch @@ -0,0 +1,41 @@ +From linux-kernel-owner+greg=40kroah.com-S1758938AbYHICtg@vger.kernel.org Fri Aug 8 21:52:57 2008 +From: Oliver Martin <oliver.martin@student.tuwien.ac.at> +Date: Sat, 9 Aug 2008 04:49:26 +0200 +Subject: USB: Add vendor/product id of ZTE MF628 to option +To: Oliver Martin <oliver.martin@student.tuwien.ac.at> +Cc: linux-kernel@vger.kernel.org +Message-ID: <20080809044926.46c494d9@ors.home> + + +This adds the vendor and product id (19d2:0015) of the ZTE MF628 HSDPA +modem to the option driver. It still needs a mode switch command issued +beforehand, this is currently handled by a userspace tool. + +Signed-off-by: Oliver Martin <oliver.martin@student.tuwien.ac.at> +Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> + +--- + drivers/usb/serial/option.c | 5 +++++ + 1 file changed, 5 insertions(+) + +--- a/drivers/usb/serial/option.c ++++ b/drivers/usb/serial/option.c +@@ -214,6 +214,10 @@ static int option_send_setup(struct tty + #define TELIT_VENDOR_ID 0x1bc7 + #define TELIT_PRODUCT_UC864E 0x1003 + ++/* ZTE PRODUCTS */ ++#define ZTE_VENDOR_ID 0x19d2 ++#define ZTE_PRODUCT_MF628 0x0015 ++ + static struct usb_device_id option_ids[] = { + { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) }, + { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) }, +@@ -340,6 +344,7 @@ static struct usb_device_id option_ids[] + { USB_DEVICE(QUALCOMM_VENDOR_ID, 0x6613)}, /* Onda H600/ZTE MF330 */ + { USB_DEVICE(MAXON_VENDOR_ID, 0x6280) }, /* BP3-USB & BP3-EXT HSDPA */ + { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_UC864E) }, ++ { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF628) }, + { } /* Terminating entry */ + }; + MODULE_DEVICE_TABLE(usb, option_ids); |
