projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/net/usb/cdc_ether.c
b/drivers/net/usb/cdc_ether.c
index c78d3cb1b4648f771a2b5835e9424cd08c74d182..3da70bf9936a846c5939c389c2d91af1c674af58 100644
(file)
--- a/
drivers/net/usb/cdc_ether.c
+++ b/
drivers/net/usb/cdc_ether.c
@@
-695,6
+695,11
@@
static const struct usb_device_id products[] = {
USB_VENDOR_AND_INTERFACE_INFO(0x1bc7, USB_CLASS_COMM,
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),