Re: [PATCH RESEND 1/2] USB: serial: omninet: Adding Zyxel Omni 56K Plus
From: Alexandre GRIVEAUX
Date: Tue May 25 2021 - 05:25:40 EST
On Tue, May 25, 2021 at 09:01:44AM +0200, Johan Hovold wrote:
> On Sun, May 23, 2021 at 06:35:21PM +0200, Alexandre GRIVEAUX wrote:
> > Adding Zyxel Omni 56K Plus modem, this modem include:
>
> Nit: In the future, try to use imperative mood in your commit messages
> (i.e. use "add" rather than "adding").
>
Hello,
Ok.
> Also, why is there a RESEND prefix in the subject? This is the first
> time I see this patch.
For the RESEND, I have a residual mailname file with
"localhost.localdomain" inside, i've checked log, some address received
messages, so i've changed the subject prefix to "resend". sorry for
that.
Thanks.
>
> > USB chip:
> > NetChip
> > NET2888
> >
> > Main chip:
> > 901041A
> > F721501APGF
> >
> > Another modem using the same chips is the Zyxel Omni 56K DUO/NEO,
> > could be added with the right USB ID.
> >
> > Signed-off-by: Alexandre GRIVEAUX <agriveaux@xxxxxxxxxxxx>
> > ---
> > drivers/usb/serial/omninet.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c
> > index 83c62f920c50..8be91f5a4dd7 100644
> > --- a/drivers/usb/serial/omninet.c
> > +++ b/drivers/usb/serial/omninet.c
> > @@ -26,6 +26,7 @@
> >
> > #define ZYXEL_VENDOR_ID 0x0586
> > #define ZYXEL_OMNINET_ID 0x1000
> > +#define ZYXEL_OMNI_56K_PLUS_ID 0x1500
> > /* This one seems to be a re-branded ZyXEL device */
> > #define BT_IGNITIONPRO_ID 0x2000
> >
> > @@ -41,6 +42,7 @@ static void omninet_port_remove(struct usb_serial_port *port);
> > static const struct usb_device_id id_table[] = {
> > { USB_DEVICE(ZYXEL_VENDOR_ID, ZYXEL_OMNINET_ID) },
> > { USB_DEVICE(ZYXEL_VENDOR_ID, BT_IGNITIONPRO_ID) },
> > + { USB_DEVICE(ZYXEL_VENDOR_ID, ZYXEL_OMNI_56K_PLUS_ID) },
> > { } /* Terminating entry */
> > };
> > MODULE_DEVICE_TABLE(usb, id_table);
>
> Now applied with a slightly modified commit message. Thanks.
>
> Johan