Il giorno mar 31 mag 2022 alle ore 12:23 Carlo Lobrano <c.lobrano@xxxxxxxxx> ha scritto: > > Add support for the following Telit LE910Cx composition: > > 0x1250: rmnet, tty, tty, tty, tty > > Signed-off-by: Carlo Lobrano <c.lobrano@xxxxxxxxx> Reviewed-by: Daniele Palmas <dnlplm@xxxxxxxxx> Thanks, Daniele > --- > v3: - fix subject prefix and modem name (s/LN910Cx/LE910Cx) > - more descriptive e-mail content > v2: use RSVD in place of NCTRL for interface 0 (rmnet) > > drivers/usb/serial/option.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c > index 152ad882657d..cd9aa61ec801 100644 > --- a/drivers/usb/serial/option.c > +++ b/drivers/usb/serial/option.c > @@ -1275,6 +1275,8 @@ static const struct usb_device_id option_ids[] = { > .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) }, > { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1231, 0xff), /* Telit LE910Cx (RNDIS) */ > .driver_info = NCTRL(2) | RSVD(3) }, > + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1250, 0xff), /* Telit LE910Cx (rmnet) */ > + .driver_info = RSVD(0) }, > { USB_DEVICE(TELIT_VENDOR_ID, 0x1260), > .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) }, > { USB_DEVICE(TELIT_VENDOR_ID, 0x1261), > -- > 2.25.1 >