Skip to content

Commit 5b9f575

Browse files
bmorkdavem330
authored andcommitted
qmi_wwan/cdc_ether: add device ID for HP lt2523 (Novatel E371) WWAN card
Another rebranded Novatel E371. qmi_wwan should drive this device, while cdc_ether should ignore it. Even though the USB descriptors are plain CDC-ETHER that USB interface is a QMI interface. Ref commit 7fdb784 ("qmi_wwan/cdc_ether: add device IDs for Dell 5804 (Novatel E371) WWAN card") Cc: Dan Williams <[email protected]> Signed-off-by: Bjørn Mork <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 23d28a8 commit 5b9f575

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

drivers/net/usb/cdc_ether.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ static const struct driver_info wwan_info = {
531531
#define SAMSUNG_VENDOR_ID 0x04e8
532532
#define LENOVO_VENDOR_ID 0x17ef
533533
#define NVIDIA_VENDOR_ID 0x0955
534+
#define HP_VENDOR_ID 0x03f0
534535

535536
static const struct usb_device_id products[] = {
536537
/* BLACKLIST !!
@@ -677,6 +678,13 @@ static const struct usb_device_id products[] = {
677678
.driver_info = 0,
678679
},
679680

681+
/* HP lt2523 (Novatel E371) - handled by qmi_wwan */
682+
{
683+
USB_DEVICE_AND_INTERFACE_INFO(HP_VENDOR_ID, 0x421d, USB_CLASS_COMM,
684+
USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
685+
.driver_info = 0,
686+
},
687+
680688
/* AnyDATA ADU960S - handled by qmi_wwan */
681689
{
682690
USB_DEVICE_AND_INTERFACE_INFO(0x16d5, 0x650a, USB_CLASS_COMM,

drivers/net/usb/qmi_wwan.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,13 @@ static const struct usb_device_id products[] = {
654654
USB_CDC_PROTO_NONE),
655655
.driver_info = (unsigned long)&qmi_wwan_info,
656656
},
657+
{ /* HP lt2523 (Novatel E371) */
658+
USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0x421d,
659+
USB_CLASS_COMM,
660+
USB_CDC_SUBCLASS_ETHERNET,
661+
USB_CDC_PROTO_NONE),
662+
.driver_info = (unsigned long)&qmi_wwan_info,
663+
},
657664
{ /* HP lt4112 LTE/HSPA+ Gobi 4G Module (Huawei me906e) */
658665
USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0x581d, USB_CLASS_VENDOR_SPEC, 1, 7),
659666
.driver_info = (unsigned long)&qmi_wwan_info,

0 commit comments

Comments
 (0)