提交 7eda4b25 编写于 作者: A Alexandre GRIVEAUX 提交者: Wang ShaoBo

USB: serial: omninet: add device id for Zyxel Omni 56K Plus

stable inclusion
from stable-v5.10.44
commit ef91a6bd946937c4db1e0a62b2c026811e3934a2
bugzilla: https://bugzilla.openeuler.org/show_bug.cgi?id=468
CVE: NA

-------------------------------------------------

commit fc0b3dc9 upstream.

Add device id for Zyxel Omni 56K Plus modem, this modem include:

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: NAlexandre GRIVEAUX <agriveaux@deutnet.info>
Cc: stable@vger.kernel.org
Signed-off-by: NJohan Hovold <johan@kernel.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Nzanderzhao <i@zlogs.net>
Reviewed-by: NJian Cheng <cj.chengjian@huawei.com>
Signed-off-by: NWang ShaoBo <bobo.shaobowang@huawei.com>
上级 974ebbdf
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#define ZYXEL_VENDOR_ID 0x0586 #define ZYXEL_VENDOR_ID 0x0586
#define ZYXEL_OMNINET_ID 0x1000 #define ZYXEL_OMNINET_ID 0x1000
#define ZYXEL_OMNI_56K_PLUS_ID 0x1500
/* This one seems to be a re-branded ZyXEL device */ /* This one seems to be a re-branded ZyXEL device */
#define BT_IGNITIONPRO_ID 0x2000 #define BT_IGNITIONPRO_ID 0x2000
...@@ -40,6 +41,7 @@ static int omninet_port_remove(struct usb_serial_port *port); ...@@ -40,6 +41,7 @@ static int omninet_port_remove(struct usb_serial_port *port);
static const struct usb_device_id id_table[] = { static const struct usb_device_id id_table[] = {
{ USB_DEVICE(ZYXEL_VENDOR_ID, ZYXEL_OMNINET_ID) }, { USB_DEVICE(ZYXEL_VENDOR_ID, ZYXEL_OMNINET_ID) },
{ USB_DEVICE(ZYXEL_VENDOR_ID, ZYXEL_OMNI_56K_PLUS_ID) },
{ USB_DEVICE(ZYXEL_VENDOR_ID, BT_IGNITIONPRO_ID) }, { USB_DEVICE(ZYXEL_VENDOR_ID, BT_IGNITIONPRO_ID) },
{ } /* Terminating entry */ { } /* Terminating entry */
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册