mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oliver Martin <oliver.martin@student.tuwien.ac.at>
To: Oliver Martin <oliver.martin@student.tuwien.ac.at>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Add vendor/product id of ZTE MF628 to option
Date: Sat, 9 Aug 2008 04:49:26 +0200	[thread overview]
Message-ID: <20080809044926.46c494d9@ors.home> (raw)
In-Reply-To: <20080809044530.193a077a@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>

Index: linux-2.6.27-rc2/drivers/usb/serial/option.c
===================================================================
--- linux-2.6.27-rc2.orig/drivers/usb/serial/option.c	2008-08-08 23:10:09.000000000 +0200
+++ linux-2.6.27-rc2/drivers/usb/serial/option.c	2008-08-08 23:10:33.000000000 +0200
@@ -197,6 +197,10 @@
 #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) },
@@ -308,6 +312,7 @@
 	{ 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);

  reply	other threads:[~2008-08-09  2:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-09  2:45 Policy re. cellular USB modem mode switch Oliver Martin
2008-08-09  2:49 ` Oliver Martin [this message]
2008-08-09  4:53   ` [PATCH] Add vendor/product id of ZTE MF628 to option Greg KH
2008-08-09  4:38 ` Policy re. cellular USB modem mode switch Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080809044926.46c494d9@ors.home \
    --to=oliver.martin@student.tuwien.ac.at \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®