net: usb: cdc_ether: add Dell DW5580 as a mobile broadband adapter
authorDaniele Palmas <dnlplm@gmail.com>
Fri, 13 Nov 2015 17:01:21 +0000 (18:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2015 19:58:39 +0000 (14:58 -0500)
Since Dell DW5580 is a 3G modem, this patch adds the device as a
mobile broadband adapter

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c

index c78d3cb..3da70bf 100644 (file)
@@ -696,6 +696,11 @@ static const struct usb_device_id  products[] = {
                        USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
        .driver_info = (kernel_ulong_t) &wwan_info,
 }, {
+       /* Dell DW5580 modules */
+       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,
+}, {
        USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ETHERNET,
                        USB_CDC_PROTO_NONE),
        .driver_info = (unsigned long) &cdc_info,