Skip to content

Commit

Permalink
[PATCH] Char: mxser_new, header file cleanup
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed Feb 11, 2007
1 parent f574874 commit ed79ba1
Show file tree
Hide file tree
Showing 2 changed files with 154 additions and 314 deletions.
7 changes: 5 additions & 2 deletions drivers/char/mxser_new.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down
Loading

0 comments on commit ed79ba1

Please sign in to comment.