From: "Jörgen Storvist" <jorgen.storvist@gmail.com>
To: linux-usb@vger.kernel.org
Cc: johan@kernel.org
Subject: USB: serial: option: add Fibocom NL668 series (fixed line break issue)
Date: Mon, 10 Dec 2018 00:21:31 +0100 [thread overview]
Message-ID: <20181210002131.0000523a@gmail.com> (raw)
Added USB serial option driver support for Fibocom NL668 series cellular module.
Reserved USB endpoints 4 and 5 for network interfaces.
Signed-off-by: Jörgen Storvist <jorgen.storvist@gmail.com>
drivers/usb/serial/option.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index e24ff16..f2cc85c 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -552,6 +552,9 @@ static void option_instat_callback(struct urb *urb);
#define WETELECOM_PRODUCT_6802 0x6802
#define WETELECOM_PRODUCT_WMD300 0x6803
+/* Fibocom products */
+#define FIBOCOM_VENDOR_ID 0x1508
+#define FIBOCOM_PRODUCT_NL668 0x1001
/* Device flags */
@@ -1941,6 +1944,8 @@ static const struct usb_device_id option_ids[] = {
{ USB_DEVICE_AND_INTERFACE_INFO(WETELECOM_VENDOR_ID, WETELECOM_PRODUCT_6802, 0xff, 0xff, 0xff) },
{ USB_DEVICE_AND_INTERFACE_INFO(WETELECOM_VENDOR_ID, WETELECOM_PRODUCT_WMD300, 0xff, 0xff, 0xff) },
{ USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0x421d, 0xff, 0xff, 0xff) }, /* HP lt2523 (Novatel E371) */
+ { USB_DEVICE(FIBOCOM_VENDOR_ID, FIBOCOM_PRODUCT_NL668), /* Fibocom NL668 series */
+ .driver_info = RSVD(4) | RSVD(5) },
{ } /* Terminating entry */
};
MODULE_DEVICE_TABLE(usb, option_ids);
next reply other threads:[~2018-12-09 23:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-09 23:21 Jörgen Storvist [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-12-10 6:54 USB: serial: option: add Fibocom NL668 series (fixed line break issue) Lars Melin
2018-12-10 8:34 Johan Hovold
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=20181210002131.0000523a@gmail.com \
--to=jorgen.storvist@gmail.com \
--cc=johan@kernel.org \
--cc=linux-usb@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;
as well as URLs for NNTP newsgroup(s).