qmi_wwan/cdc_ether: add Dell Wireless 5800 (Novatel E362) USB IDs
authorDan Williams <dcbw@redhat.com>
Mon, 17 Dec 2012 08:17:41 +0000 (08:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2012 04:50:51 +0000 (20:50 -0800)
Signed-off-by: Dan Williams <dcbw@redhat.com>
Cc: stable@vger.kernel.org
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c
drivers/net/usb/qmi_wwan.c

index d0129827602b2867380ca4f8f774bfa104f2eef2..c4c593dcf0bac8d5a9a3c43829b4079d2d66b923 100644 (file)
@@ -487,6 +487,7 @@ static const struct driver_info wwan_info = {
 #define HUAWEI_VENDOR_ID       0x12D1
 #define NOVATEL_VENDOR_ID      0x1410
 #define ZTE_VENDOR_ID          0x19D2
+#define DELL_VENDOR_ID         0x413C
 
 static const struct usb_device_id      products [] = {
 /*
@@ -618,6 +619,20 @@ static const struct usb_device_id  products [] = {
        .driver_info = 0,
 },
 
+/* Dell Wireless 5800 (Novatel E362) - handled by qmi_wwan */
+{
+       USB_DEVICE_AND_INTERFACE_INFO(DELL_VENDOR_ID, 0x8195, USB_CLASS_COMM,
+                       USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
+       .driver_info = 0,
+},
+
+/* Dell Wireless 5800 (Novatel E362) - handled by qmi_wwan */
+{
+       USB_DEVICE_AND_INTERFACE_INFO(DELL_VENDOR_ID, 0x8196, USB_CLASS_COMM,
+                       USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
+       .driver_info = 0,
+},
+
 /*
  * WHITELIST!!!
  *
index 1ea91f4237f053e731093fe3fc85e5897f97f5d7..9b950f59f68c80455af6c1e1da6ab6aaca953664 100644 (file)
@@ -383,6 +383,20 @@ static const struct usb_device_id products[] = {
                                              USB_CDC_PROTO_NONE),
                .driver_info        = (unsigned long)&qmi_wwan_info,
        },
+       {       /* Dell Wireless 5800 (Novatel E362) */
+               USB_DEVICE_AND_INTERFACE_INFO(0x413C, 0x8195,
+                                             USB_CLASS_COMM,
+                                             USB_CDC_SUBCLASS_ETHERNET,
+                                             USB_CDC_PROTO_NONE),
+               .driver_info        = (unsigned long)&qmi_wwan_info,
+       },
+       {       /* Dell Wireless 5800 V2 (Novatel E362) */
+               USB_DEVICE_AND_INTERFACE_INFO(0x413C, 0x8196,
+                                             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(0x12d1, 0x140c, 1)},    /* Huawei E173 */