From: "J. Mayer" <l_indien@magic.fr>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 1/1] usbnet: cdc_ether.c: use Samsung Galaxy Grand Prime VE as an USB modem
Date: Mon, 09 May 2016 11:29:05 +0200 [thread overview]
Message-ID: <1462786145.27206.11.camel@magic.fr> (raw)
From: Jocelyn Mayer <l_indien@magic.fr>
Make cdc_ether able to use Samsung Galaxy Grand Prime VE (aka SM-G531F)
smartphone as an USB modem
Signed-off-by: Jocelyn Mayer <l_indien@magic.fr>
Please explicitly keep me on CC as I did not register.
---
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index 7cba2c3..6186693 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -641,6 +641,12 @@ static const struct usb_device_id products[] = {
USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
.driver_info = 0,
},
+/* Samsung Galaxy Grand Prime VE */
+{
+ USB_DEVICE_AND_INTERFACE_INFO(SAMSUNG_VENDOR_ID, 0x6863,
USB_CLASS_COMM,
+ USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
+ .driver_info = 0,
+},
/* Lenovo Thinkpad USB 3.0 Ethernet Adapters (based on Realtek
RTL8153) */
{
reply other threads:[~2016-05-09 9:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1462786145.27206.11.camel@magic.fr \
--to=l_indien@magic.fr \
--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®