Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Char: char/serial, remove SERIAL_TYPE_NORMAL redefines

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jiri Slaby and committed by
Linus Torvalds
1237a2ef f6de0c98

-24
-1
drivers/char/epca.h
··· 77 77 #define ON 1 78 78 79 79 #define FEPTIMEOUT 200000 80 - #define SERIAL_TYPE_NORMAL 1 81 80 #define SERIAL_TYPE_INFO 3 82 81 #define EPCA_EVENT_HANGUP 1 83 82 #define EPCA_MAGIC 0x5c6df104L
-3
drivers/char/esp.c
··· 111 111 112 112 static struct tty_driver *esp_driver; 113 113 114 - /* serial subtype definitions */ 115 - #define SERIAL_TYPE_NORMAL 1 116 - 117 114 /* 118 115 * Serial driver configuration section. Here are the various options: 119 116 *
-3
drivers/char/ip2/ip2main.c
··· 153 153 static char *pcDriver_name = "ip2"; 154 154 static char *pcIpl = "ip2ipl"; 155 155 156 - /* Serial subtype definitions */ 157 - #define SERIAL_TYPE_NORMAL 1 158 - 159 156 // cheezy kludge or genius - you decide? 160 157 int ip2_loadmain(int *, int *, unsigned char *, int); 161 158 static unsigned char *Fip_firmware;
-3
drivers/char/mxser.c
··· 81 81 #define MXSER_ERR_IRQ_CONFLIT -3 82 82 #define MXSER_ERR_VECTOR -4 83 83 84 - #define SERIAL_TYPE_NORMAL 1 85 - #define SERIAL_TYPE_CALLOUT 2 86 - 87 84 #define WAKEUP_CHARS 256 88 85 89 86 #define UART_MCR_AFE 0x20
-2
drivers/char/serial167.c
··· 90 90 91 91 #define STD_COM_FLAGS (0) 92 92 93 - #define SERIAL_TYPE_NORMAL 1 94 - 95 93 static struct tty_driver *cy_serial_driver; 96 94 extern int serial_console; 97 95 static struct cyclades_port *serial_console_info = NULL;
-2
drivers/char/sx.h
··· 88 88 89 89 #define IS_CF_BOARD(board) (board->flags & (SX_CFISA_BOARD | SX_CFPCI_BOARD)) 90 90 91 - #define SERIAL_TYPE_NORMAL 1 92 - 93 91 /* The SI processor clock is required to calculate the cc_int_count register 94 92 value for the SI cards. */ 95 93 #define SI_PROCESSOR_CLOCK 25000000
-3
drivers/serial/68328serial.c
··· 84 84 85 85 struct tty_driver *serial_driver; 86 86 87 - /* serial subtype definitions */ 88 - #define SERIAL_TYPE_NORMAL 1 89 - 90 87 /* number of characters left in xmit buffer before we ask for more */ 91 88 #define WAKEUP_CHARS 256 92 89
-5
drivers/serial/crisv10.c
··· 68 68 69 69 struct tty_driver *serial_driver; 70 70 71 - /* serial subtype definitions */ 72 - #ifndef SERIAL_TYPE_NORMAL 73 - #define SERIAL_TYPE_NORMAL 1 74 - #endif 75 - 76 71 /* number of characters left in xmit buffer before we ask for more */ 77 72 #define WAKEUP_CHARS 256 78 73
-2
include/linux/isicom.h
··· 37 37 #define BOARD_COUNT 4 38 38 #define PORT_COUNT (BOARD_COUNT*16) 39 39 40 - #define SERIAL_TYPE_NORMAL 1 41 - 42 40 /* character sizes */ 43 41 44 42 #define ISICOM_CS5 0x0000