diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-02-10 10:45:18 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 19:51:29 +0100 |
commit | ed79ba12e981538a399012f226360db635b50570 (patch) | |
tree | 66abf8865411033c0abf4a2fba01d26bb100c5bf /drivers/char/mxser_new.c | |
parent | [PATCH] Char: mxser_new, alter locking in isr (diff) | |
download | linux-ed79ba12e981538a399012f226360db635b50570.tar.xz linux-ed79ba12e981538a399012f226360db635b50570.zip |
[PATCH] Char: mxser_new, header file cleanup
- Remove no longer used macros
- Move some macros from the header to the code
- Remove c++ comments
- Align backslashes to one column
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/mxser_new.c')
-rw-r--r-- | drivers/char/mxser_new.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c index ec61cf81b7e6..945c7e1b4c34 100644 --- a/drivers/char/mxser_new.c +++ b/drivers/char/mxser_new.c @@ -53,8 +53,6 @@ #define MXSERMAJOR 174 #define MXSERCUMAJOR 175 -#define MXSER_EVENT_TXLOW 1 - #define MXSER_BOARDS 4 /* Max. boards */ #define MXSER_PORTS_PER_BOARD 8 /* Max. ports per board */ #define MXSER_PORTS (MXSER_BOARDS * MXSER_PORTS_PER_BOARD) @@ -65,6 +63,11 @@ #define MXSER_ERR_IRQ_CONFLIT -3 #define MXSER_ERR_VECTOR -4 +/*CheckIsMoxaMust return value*/ +#define MOXA_OTHER_UART 0x00 +#define MOXA_MUST_MU150_HWID 0x01 +#define MOXA_MUST_MU860_HWID 0x02 + #define WAKEUP_CHARS 256 #define UART_MCR_AFE 0x20 |