Skip to content

Commit 1b0fce8

Browse files
davidetronkdavem330
authored andcommitted
net: usb: cdc_ether: add u-blox 0x1313 composition.
Add CDC-ECM support for LARA-R6 01B. The new LARA-R6 product variant identified by the "01B" string can be configured (by AT interface) in three different USB modes: * Default mode (Vendor ID: 0x1546 Product ID: 0x1311) with 4 serial interfaces * RmNet mode (Vendor ID: 0x1546 Product ID: 0x1312) with 4 serial interfaces and 1 RmNet virtual network interface * CDC-ECM mode (Vendor ID: 0x1546 Product ID: 0x1313) with 4 serial interface and 1 CDC-ECM virtual network interface The first 4 interfaces of all the 3 configurations (default, RmNet, ECM) are the same. In CDC-ECM mode LARA-R6 01B exposes the following interfaces: If 0: Diagnostic If 1: AT parser If 2: AT parser If 3: AT parset/alternative functions If 4: CDC-ECM interface Signed-off-by: Davide Tronchin <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 08fc757 commit 1b0fce8

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
@@ -875,6 +875,12 @@ static const struct usb_device_id products[] = {
875875
USB_CDC_SUBCLASS_ETHERNET,
876876
USB_CDC_PROTO_NONE),
877877
.driver_info = (unsigned long)&wwan_info,
878+
}, {
879+
/* U-blox LARA-R6 01B */
880+
USB_DEVICE_AND_INTERFACE_INFO(UBLOX_VENDOR_ID, 0x1313, USB_CLASS_COMM,
881+
USB_CDC_SUBCLASS_ETHERNET,
882+
USB_CDC_PROTO_NONE),
883+
.driver_info = (unsigned long)&wwan_info,
878884
}, {
879885
/* U-blox LARA-L6 */
880886
USB_DEVICE_AND_INTERFACE_INFO(UBLOX_VENDOR_ID, 0x1343, USB_CLASS_COMM,

0 commit comments

Comments
 (0)