projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00ee592
)
net: usb: cdc_ether: add Dell DW5580 as a mobile broadband adapter
author
Daniele Palmas
<dnlplm@gmail.com>
Fri, 13 Nov 2015 17:01:21 +0000
(18:01 +0100)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/usb/cdc_ether.c
b/drivers/net/usb/cdc_ether.c
index
c78d3cb
..
3da70bf
100644
(file)
--- 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,