From: Johan Hovold <johan@kernel.org>
To: Slark Xiao <slark_xiao@163.com>
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
linux-usb@vger.kernel.org
Subject: Re: [PATCH] USB: serial: option: add support for Cinterion MV32-WA/WB RmNet mode
Date: Mon, 29 Aug 2022 15:36:50 +0200 [thread overview]
Message-ID: <YwzA8kOf6AFECDuQ@hovoldconsulting.com> (raw)
In-Reply-To: <20220810033050.3117-1-slark_xiao@163.com>
On Wed, Aug 10, 2022 at 11:30:50AM +0800, Slark Xiao wrote:
> We added PIDs for MV32-WA/WB MBIM mode before, now we need to add
> support for RmNet mode.
> Signed-off-by: Slark Xiao <slark_xiao@163.com>
> ---
> drivers/usb/serial/option.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
> index de59fa919540..63af8b48831a 100644
> --- a/drivers/usb/serial/option.c
> +++ b/drivers/usb/serial/option.c
> @@ -438,6 +438,8 @@ static void option_instat_callback(struct urb *urb);
> #define CINTERION_PRODUCT_MV31_2_RMNET 0x00b9
> #define CINTERION_PRODUCT_MV32_WA 0x00f1
> #define CINTERION_PRODUCT_MV32_WB 0x00f2
> +#define CINTERION_PRODUCT_MV32_WA_RMNET 0x00f3
> +#define CINTERION_PRODUCT_MV32_WB_RMNET 0x00f4
>
> /* Olivetti products */
> #define OLIVETTI_VENDOR_ID 0x0b3c
> @@ -1995,6 +1997,10 @@ static const struct usb_device_id option_ids[] = {
> .driver_info = RSVD(3)},
> { USB_DEVICE_INTERFACE_CLASS(CINTERION_VENDOR_ID, CINTERION_PRODUCT_MV32_WB, 0xff),
> .driver_info = RSVD(3)},
> + { USB_DEVICE_INTERFACE_CLASS(CINTERION_VENDOR_ID, CINTERION_PRODUCT_MV32_WA_RMNET, 0xff),
> + .driver_info = RSVD(0)},
I moved this entry above CINTERION_PRODUCT_MV32_WB to the keep the
entries sorted.
> + { USB_DEVICE_INTERFACE_CLASS(CINTERION_VENDOR_ID, CINTERION_PRODUCT_MV32_WB_RMNET, 0xff),
> + .driver_info = RSVD(0)},
> { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD100),
> .driver_info = RSVD(4) },
> { USB_DEVICE(OLIVETTI_VENDOR_ID, OLIVETTI_PRODUCT_OLICARD120),
Now applied, thanks.
Johan
prev parent reply other threads:[~2022-08-29 13:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-10 3:30 [PATCH] USB: serial: option: add support for Cinterion MV32-WA/WB RmNet mode Slark Xiao
[not found] ` <54f2b923.341c.182a606bab3.Coremail.slark_xiao@163.com>
2022-08-16 9:50 ` gregkh
2022-08-24 8:56 ` Slark Xiao
2022-08-24 9:26 ` Johan Hovold
2022-08-24 9:29 ` Slark Xiao
2022-08-29 13:36 ` Johan Hovold [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YwzA8kOf6AFECDuQ@hovoldconsulting.com \
--to=johan@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=slark_xiao@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox