Commit 1237a2ef authored by Jiri Slaby's avatar Jiri Slaby Committed by Linus Torvalds

Char: char/serial, remove SERIAL_TYPE_NORMAL redefines

Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f6de0c98
...@@ -77,7 +77,6 @@ static char *board_desc[] = ...@@ -77,7 +77,6 @@ static char *board_desc[] =
#define ON 1 #define ON 1
#define FEPTIMEOUT 200000 #define FEPTIMEOUT 200000
#define SERIAL_TYPE_NORMAL 1
#define SERIAL_TYPE_INFO 3 #define SERIAL_TYPE_INFO 3
#define EPCA_EVENT_HANGUP 1 #define EPCA_EVENT_HANGUP 1
#define EPCA_MAGIC 0x5c6df104L #define EPCA_MAGIC 0x5c6df104L
......
...@@ -111,9 +111,6 @@ static char serial_version[] __initdata = "2.2"; ...@@ -111,9 +111,6 @@ static char serial_version[] __initdata = "2.2";
static struct tty_driver *esp_driver; static struct tty_driver *esp_driver;
/* serial subtype definitions */
#define SERIAL_TYPE_NORMAL 1
/* /*
* Serial driver configuration section. Here are the various options: * Serial driver configuration section. Here are the various options:
* *
......
...@@ -153,9 +153,6 @@ static char *pcVersion = "1.2.14"; ...@@ -153,9 +153,6 @@ static char *pcVersion = "1.2.14";
static char *pcDriver_name = "ip2"; static char *pcDriver_name = "ip2";
static char *pcIpl = "ip2ipl"; static char *pcIpl = "ip2ipl";
/* Serial subtype definitions */
#define SERIAL_TYPE_NORMAL 1
// cheezy kludge or genius - you decide? // cheezy kludge or genius - you decide?
int ip2_loadmain(int *, int *, unsigned char *, int); int ip2_loadmain(int *, int *, unsigned char *, int);
static unsigned char *Fip_firmware; static unsigned char *Fip_firmware;
......
...@@ -81,9 +81,6 @@ ...@@ -81,9 +81,6 @@
#define MXSER_ERR_IRQ_CONFLIT -3 #define MXSER_ERR_IRQ_CONFLIT -3
#define MXSER_ERR_VECTOR -4 #define MXSER_ERR_VECTOR -4
#define SERIAL_TYPE_NORMAL 1
#define SERIAL_TYPE_CALLOUT 2
#define WAKEUP_CHARS 256 #define WAKEUP_CHARS 256
#define UART_MCR_AFE 0x20 #define UART_MCR_AFE 0x20
......
...@@ -90,8 +90,6 @@ ...@@ -90,8 +90,6 @@
#define STD_COM_FLAGS (0) #define STD_COM_FLAGS (0)
#define SERIAL_TYPE_NORMAL 1
static struct tty_driver *cy_serial_driver; static struct tty_driver *cy_serial_driver;
extern int serial_console; extern int serial_console;
static struct cyclades_port *serial_console_info = NULL; static struct cyclades_port *serial_console_info = NULL;
......
...@@ -88,8 +88,6 @@ struct vpd_prom { ...@@ -88,8 +88,6 @@ struct vpd_prom {
#define IS_CF_BOARD(board) (board->flags & (SX_CFISA_BOARD | SX_CFPCI_BOARD)) #define IS_CF_BOARD(board) (board->flags & (SX_CFISA_BOARD | SX_CFPCI_BOARD))
#define SERIAL_TYPE_NORMAL 1
/* The SI processor clock is required to calculate the cc_int_count register /* The SI processor clock is required to calculate the cc_int_count register
value for the SI cards. */ value for the SI cards. */
#define SI_PROCESSOR_CLOCK 25000000 #define SI_PROCESSOR_CLOCK 25000000
......
...@@ -84,9 +84,6 @@ extern wait_queue_head_t keypress_wait; ...@@ -84,9 +84,6 @@ extern wait_queue_head_t keypress_wait;
struct tty_driver *serial_driver; struct tty_driver *serial_driver;
/* serial subtype definitions */
#define SERIAL_TYPE_NORMAL 1
/* number of characters left in xmit buffer before we ask for more */ /* number of characters left in xmit buffer before we ask for more */
#define WAKEUP_CHARS 256 #define WAKEUP_CHARS 256
......
...@@ -68,11 +68,6 @@ static char *serial_version = "$Revision: 1.25 $"; ...@@ -68,11 +68,6 @@ static char *serial_version = "$Revision: 1.25 $";
struct tty_driver *serial_driver; struct tty_driver *serial_driver;
/* serial subtype definitions */
#ifndef SERIAL_TYPE_NORMAL
#define SERIAL_TYPE_NORMAL 1
#endif
/* number of characters left in xmit buffer before we ask for more */ /* number of characters left in xmit buffer before we ask for more */
#define WAKEUP_CHARS 256 #define WAKEUP_CHARS 256
......
...@@ -37,8 +37,6 @@ ...@@ -37,8 +37,6 @@
#define BOARD_COUNT 4 #define BOARD_COUNT 4
#define PORT_COUNT (BOARD_COUNT*16) #define PORT_COUNT (BOARD_COUNT*16)
#define SERIAL_TYPE_NORMAL 1
/* character sizes */ /* character sizes */
#define ISICOM_CS5 0x0000 #define ISICOM_CS5 0x0000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment