All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cdc_ether: flag the Huawei ME906/ME909 as WWAN
@ 2017-10-23 15:16 Aleksander Morgado
  2017-10-24  9:35 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Aleksander Morgado @ 2017-10-23 15:16 UTC (permalink / raw)
  To: linux-usb, netdev, oliver, davem; +Cc: linux-kernel, Aleksander Morgado

The Huawei ME906 (12d1:15c1) comes with a standard ECM interface that
requires management via AT commands sent over one of the control TTYs
(e.g. connected with AT^NDISDUP).

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
---
 drivers/net/usb/cdc_ether.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index 52ea80bcd639..788953afaba3 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -863,6 +863,12 @@ static const struct usb_device_id	products[] = {
 	USB_DEVICE_AND_INTERFACE_INFO(DELL_VENDOR_ID, 0x81ba, USB_CLASS_COMM,
 			USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
 	.driver_info = (kernel_ulong_t)&wwan_info,
+}, {
+	/* Huawei ME906 and ME909 */
+	USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0x15c1, USB_CLASS_COMM,
+				      USB_CDC_SUBCLASS_ETHERNET,
+				      USB_CDC_PROTO_NONE),
+	.driver_info = (unsigned long)&wwan_info,
 }, {
 	/* ZTE modules */
 	USB_VENDOR_AND_INTERFACE_INFO(ZTE_VENDOR_ID, USB_CLASS_COMM,
--
2.14.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] cdc_ether: flag the Huawei ME906/ME909 as WWAN
  2017-10-23 15:16 [PATCH] cdc_ether: flag the Huawei ME906/ME909 as WWAN Aleksander Morgado
@ 2017-10-24  9:35 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-10-24  9:35 UTC (permalink / raw)
  To: aleksander; +Cc: linux-usb, netdev, oliver, linux-kernel

From: Aleksander Morgado <aleksander@aleksander.es>
Date: Mon, 23 Oct 2017 17:16:41 +0200

> The Huawei ME906 (12d1:15c1) comes with a standard ECM interface that
> requires management via AT commands sent over one of the control TTYs
> (e.g. connected with AT^NDISDUP).
> 
> Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-24  9:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-23 15:16 [PATCH] cdc_ether: flag the Huawei ME906/ME909 as WWAN Aleksander Morgado
2017-10-24  9:35 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.