Skip to content

Commit 489979b

Browse files
dnlplmjhovold
authored andcommitted
USB: serial: option: add LE910Cx compositions 0x1203, 0x1230, 0x1231
Add following Telit LE910Cx compositions: 0x1203: rndis, tty, adb, tty, tty, tty, tty 0x1230: tty, adb, rmnet, audio, tty, tty, tty, tty 0x1231: rndis, tty, adb, audio, tty, tty, tty, tty Signed-off-by: Daniele Palmas <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ johan: add comments after entries ] Cc: [email protected] Signed-off-by: Johan Hovold <[email protected]>
1 parent 985616f commit 489979b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/usb/serial/option.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,8 @@ static const struct usb_device_id option_ids[] = {
12031203
.driver_info = NCTRL(0) },
12041204
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910),
12051205
.driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
1206+
{ USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1203, 0xff), /* Telit LE910Cx (RNDIS) */
1207+
.driver_info = NCTRL(2) | RSVD(3) },
12061208
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910_USBCFG4),
12071209
.driver_info = NCTRL(0) | RSVD(1) | RSVD(2) | RSVD(3) },
12081210
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920),
@@ -1217,6 +1219,10 @@ static const struct usb_device_id option_ids[] = {
12171219
{ USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1213, 0xff) },
12181220
{ USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1214),
12191221
.driver_info = NCTRL(0) | RSVD(1) | RSVD(2) | RSVD(3) },
1222+
{ USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1230, 0xff), /* Telit LE910Cx (rmnet) */
1223+
.driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
1224+
{ USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1231, 0xff), /* Telit LE910Cx (RNDIS) */
1225+
.driver_info = NCTRL(2) | RSVD(3) },
12201226
{ USB_DEVICE(TELIT_VENDOR_ID, 0x1260),
12211227
.driver_info = NCTRL(0) | RSVD(1) | RSVD(2) },
12221228
{ USB_DEVICE(TELIT_VENDOR_ID, 0x1261),

0 commit comments

Comments
 (0)