summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniele Palmas <dnlplm@gmail.com>2015-11-13 18:01:21 +0100
committerDavid S. Miller <davem@davemloft.net>2015-11-16 14:58:39 -0500
commit0b88393cdf6b1322522849e61f7a3328f4fd3843 (patch)
tree59485148e0c9892b85c596345ecf7ef95dbe5074
parent00ee5927177792a6e139d50b6b7564d35705556a (diff)
downloadlinux-0b88393cdf6b1322522849e61f7a3328f4fd3843.tar.gz
linux-0b88393cdf6b1322522849e61f7a3328f4fd3843.tar.bz2
linux-0b88393cdf6b1322522849e61f7a3328f4fd3843.zip
net: usb: cdc_ether: add Dell DW5580 as a mobile broadband adapter
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>
-rw-r--r--drivers/net/usb/cdc_ether.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index c78d3cb1b464..3da70bf9936a 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -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,