diff options
author | Mathieu OTHACEHE <m.othacehe@gmail.com> | 2016-05-10 07:08:48 (GMT) |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2016-05-11 09:31:44 (GMT) |
commit | b923c6c62981cec5e2d2187fd700c2fc4386fc45 (patch) | |
tree | bd02edb5d678c4b04226ba81d70f7ae21f989930 /drivers/usb/serial/ti_usb_3410_5052.h | |
parent | 194e958c5c3bf4fa0805b0653fe2d0428d3791ff (diff) | |
download | linux-b923c6c62981cec5e2d2187fd700c2fc4386fc45.tar.xz |
USB: serial: ti_usb_3410_5052: add MOXA UPORT 11x0 support
Add support for :
- UPort 1110 : 1 port RS-232 USB to Serial Hub.
- UPort 1130 : 1 port RS-422/485 USB to Serial Hub.
- UPort 1130I : 1 port RS-422/485 USB to Serial Hub with Isolation.
- UPort 1150 : 1 port RS-232/422/485 USB to Serial Hub.
- UPort 1150I : 1 port RS-232/422/485 USB to Serial Hub with Isolation.
These devices are based on TI 3410 chip.
Signed-off-by: Mathieu OTHACEHE <m.othacehe@gmail.com>
[johan: fix rs485-only check ]
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/ti_usb_3410_5052.h')
-rw-r--r-- | drivers/usb/serial/ti_usb_3410_5052.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/serial/ti_usb_3410_5052.h b/drivers/usb/serial/ti_usb_3410_5052.h index 98f35c6..bbfd3a1 100644 --- a/drivers/usb/serial/ti_usb_3410_5052.h +++ b/drivers/usb/serial/ti_usb_3410_5052.h @@ -60,6 +60,14 @@ #define HONEYWELL_VENDOR_ID 0x10ac #define HONEYWELL_HGI80_PRODUCT_ID 0x0102 /* Honeywell HGI80 */ +/* Moxa UPORT 11x0 vendor and product IDs */ +#define MXU1_VENDOR_ID 0x110a +#define MXU1_1110_PRODUCT_ID 0x1110 +#define MXU1_1130_PRODUCT_ID 0x1130 +#define MXU1_1131_PRODUCT_ID 0x1131 +#define MXU1_1150_PRODUCT_ID 0x1150 +#define MXU1_1151_PRODUCT_ID 0x1151 + /* Commands */ #define TI_GET_VERSION 0x01 #define TI_GET_PORT_STATUS 0x02 |