qmi_wwan, cdc-ether: add ADU960S
authorDan Williams <dcbw@redhat.com>
Mon, 18 Feb 2013 17:25:09 +0000 (17:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2013 05:51:10 +0000 (00:51 -0500)
It advertises a standard CDC-ETHER interface, which actually should be
driven by qmi_wwan.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c
drivers/net/usb/qmi_wwan.c

index 3f3d12d..57136dc 100644 (file)
@@ -615,6 +615,13 @@ static const struct usb_device_id  products [] = {
        .driver_info = 0,
 },
 
+/* AnyDATA ADU960S - handled by qmi_wwan */
+{
+       USB_DEVICE_AND_INTERFACE_INFO(0x16d5, 0x650a, USB_CLASS_COMM,
+                       USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
+       .driver_info = 0,
+},
+
 /*
  * WHITELIST!!!
  *
index 19d9035..efb5c7c 100644 (file)
@@ -409,6 +409,13 @@ static const struct usb_device_id products[] = {
                                              USB_CDC_PROTO_NONE),
                .driver_info        = (unsigned long)&qmi_wwan_info,
        },
+       {       /* ADU960S */
+               USB_DEVICE_AND_INTERFACE_INFO(0x16d5, 0x650a,
+                                             USB_CLASS_COMM,
+                                             USB_CDC_SUBCLASS_ETHERNET,
+                                             USB_CDC_PROTO_NONE),
+               .driver_info        = (unsigned long)&qmi_wwan_info,
+       },
 
        /* 3. Combined interface devices matching on interface number */
        {QMI_FIXED_INTF(0x0408, 0xea42, 4)},    /* Yota / Megafon M100-1 */