Skip to content

Commit eea8ce8

Browse files
jason77-wangkuba-moo
authored andcommitted
net: usb: cdc_ether: add support for Thales Cinterion PLS62-W modem
This modem has 7 interfaces, 5 of them are serial interfaces and are driven by cdc_acm, while 2 of them are wwan interfaces and are driven by cdc_ether: If 0: Abstract (modem) If 1: Abstract (modem) If 2: Abstract (modem) If 3: Abstract (modem) If 4: Abstract (modem) If 5: Ethernet Networking If 6: Ethernet Networking Without this change, the 2 network interfaces will be named to usb0 and usb1, our QA think the names are confusing and filed a bug on it. After applying this change, the name will be wwan0 and wwan1, and they could work well with modem manager. Signed-off-by: Hui Wang <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent c26de75 commit eea8ce8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/net/usb/cdc_ether.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,12 @@ static const struct usb_device_id products[] = {
10071007
USB_CDC_SUBCLASS_ETHERNET,
10081008
USB_CDC_PROTO_NONE),
10091009
.driver_info = (unsigned long)&wwan_info,
1010+
}, {
1011+
/* Cinterion PLS62-W modem by GEMALTO/THALES */
1012+
USB_DEVICE_AND_INTERFACE_INFO(0x1e2d, 0x005b, USB_CLASS_COMM,
1013+
USB_CDC_SUBCLASS_ETHERNET,
1014+
USB_CDC_PROTO_NONE),
1015+
.driver_info = (unsigned long)&wwan_info,
10101016
}, {
10111017
/* Cinterion PLS83/PLS63 modem by GEMALTO/THALES */
10121018
USB_DEVICE_AND_INTERFACE_INFO(0x1e2d, 0x0069, USB_CLASS_COMM,

0 commit comments

Comments
 (0)