diff options
author | Lars Kanis <kanis@comcard.de> | 2017-11-28 13:55:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-28 17:32:33 +0300 |
commit | d8dcbdd08c653d9a6754b3c775f13cb987fa91ec (patch) | |
tree | f7c4afc1fe43cc9f1520641ac5c5b6e2db656137 /drivers/tty/moxa.h | |
parent | e73be92d82e6a842eda6adac339963a3560ca0e4 (diff) | |
download | linux-d8dcbdd08c653d9a6754b3c775f13cb987fa91ec.tar.xz |
tty: moxa: Add support for CMSPAR
The mode constants are taken from the GPL-2.0+ driver available
in the driver section of the Moxa homepage.
It is tested on a C320Turbo PCI card per logic analyzer and
per a device which requires 9 bit character communication.
The vendors driver supports CMSPAR unconditionally, so that all
other available firmware versions seems to support mark/space
parity modes as well.
Signed-off-by: Lars Kanis <kanis@comcard.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/moxa.h')
-rw-r--r-- | drivers/tty/moxa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/moxa.h b/drivers/tty/moxa.h index 8ce89fd36c7b..563d2dce80b3 100644 --- a/drivers/tty/moxa.h +++ b/drivers/tty/moxa.h @@ -301,5 +301,7 @@ #define MX_PARNONE 0x00 #define MX_PAREVEN 0x40 #define MX_PARODD 0xC0 +#define MX_PARMARK 0xA0 +#define MX_PARSPACE 0x20 #endif |