]> git.neil.brown.name Git - history.git/commitdiff
[SERIAL] remove unused RS_TABLE definitions
authorBjorn Helgaas <bjorn.helgaas@com.rmk.(none)>
Sun, 5 Oct 2003 22:54:13 +0000 (23:54 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sun, 5 Oct 2003 22:54:13 +0000 (23:54 +0100)
Patch from Bjorn Helgaas.

RS_TABLE is defined by lots of architectures, but only referenced
in arch/{mips,ppc}.

This patch removes most of the unused definitions from 2.6.

25 files changed:
include/asm-alpha/serial.h
include/asm-arm/arch-adifcc/serial.h
include/asm-arm/arch-anakin/serial.h
include/asm-arm/arch-cl7500/serial.h
include/asm-arm/arch-ebsa110/serial.h
include/asm-arm/arch-ebsa285/serial.h
include/asm-arm/arch-epxa10db/serial.h
include/asm-arm/arch-integrator/serial.h
include/asm-arm/arch-iop3xx/serial.h
include/asm-arm/arch-l7200/serial.h
include/asm-arm/arch-pxa/serial.h
include/asm-arm/arch-rpc/serial.h
include/asm-arm/arch-sa1100/serial.h
include/asm-arm/arch-shark/serial.h
include/asm-arm/arch-tbox/serial.h
include/asm-arm26/serial.h
include/asm-i386/serial.h
include/asm-m68k/serial.h
include/asm-sh/bigsur/serial.h
include/asm-sh/ec3104/serial.h
include/asm-sh/serial-bigsur.h
include/asm-sh/serial-ec3104.h
include/asm-sh/serial.h
include/asm-v850/serial.h
include/asm-x86_64/serial.h

index 0b339a0c11e2d3764f37b63a7dfbe93703c33102..7b2d9ee95a44683b0546b43cc149d37de0c1a4e2 100644 (file)
@@ -26,9 +26,6 @@
 #define FOURPORT_FLAGS ASYNC_FOURPORT
 #define ACCENT_FLAGS 0
 #define BOCA_FLAGS 0
-#define RS_TABLE_SIZE  64
-#else
-#define RS_TABLE_SIZE  4
 #endif
        
 #define STD_SERIAL_PORT_DEFNS                  \
index 2325cd765f1362fff6cf8b7988f574da3ad1f0ae..ce4e87699c91500f3bc17529f6f7084e1a93861c 100644 (file)
@@ -21,8 +21,6 @@
 
 #ifdef CONFIG_ARCH_ADI_EVB
 
-#define RS_TABLE_SIZE 1
-
 /*
  * One serial port, int goes to FIQ, so we run in polled mode
  */
index 66c70f599e6acea135c9878aaa6ddeb896fbb0f4..76499f2a3f870d5c5cdc56661b185f3deaa3acab 100644 (file)
@@ -20,7 +20,6 @@
 /*
  * UART3 and UART4 are not supported yet
  */
-#define RS_TABLE_SIZE          3
 #define STD_SERIAL_PORT_DEFNS  \
        { 0, 0, IO_BASE + UART0, IRQ_UART0, 0 }, \
        { 0, 0, IO_BASE + UART1, IRQ_UART1, 0 }, \
index 4611f7975f46648ee8fd6e836451eee0c0e84f99..1d9fbc9d616efe98f8f67b13e503d24bd87b42c9 100644 (file)
@@ -22,8 +22,6 @@
  */
 #define BASE_BAUD (1843200 / 16)
 
-#define RS_TABLE_SIZE  16
-
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
      /* UART CLK        PORT  IRQ     FLAGS        */
index a861317e552966f7278b6379ac18249dbff2c353..17aff6692501b18094b2de135e261d7f2fab7be2 100644 (file)
@@ -24,8 +24,6 @@
 
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
-#define RS_TABLE_SIZE  2
-
      /* UART CLK        PORT  IRQ     FLAGS        */
 #define STD_SERIAL_PORT_DEFNS \
        { 0, BASE_BAUD, 0x3F8,  1, STD_COM_FLAGS },     /* ttyS0 */     \
index 3bba8f9ccba16811c7cd878cc4fb5a8a7012293a..409b30a0e01378847bf3554f8d807f66a1411aac 100644 (file)
@@ -28,8 +28,6 @@
 #define _SER_IRQ0      IRQ_ISA_UART
 #define _SER_IRQ1      IRQ_ISA_UART2
 
-#define RS_TABLE_SIZE  16
-
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
      /* UART CLK        PORT  IRQ     FLAGS        */
index f019158ac3e90564541fdb2a42a7e07f2961b4d7..08f2d31cae95a5b4ac7d2dca47f1d6d86546e138 100644 (file)
@@ -36,8 +36,6 @@
 #define _SER_IRQ0      IRQ_UARTINT0
 #define _SER_IRQ1      IRQ_UARTINT1
 
-#define RS_TABLE_SIZE  2
-
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
      /* UART CLK        PORT  IRQ     FLAGS        */
index 06ab7379b0b0fd0c22344e4d3188167199860b81..8ee6f88a03c9052bfe7a973dbf77628f969f99cc 100644 (file)
@@ -35,8 +35,6 @@
 #define _SER_IRQ0      IRQ_UARTINT0
 #define _SER_IRQ1      IRQ_UARTINT1
 
-#define RS_TABLE_SIZE  2
-
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
      /* UART CLK        PORT  IRQ     FLAGS        */
index 60a2b61e75e147e77527563b137be370615c6604..8217c12b812e05cd4094fb08b31b6731d55b48d9 100644 (file)
@@ -20,8 +20,6 @@
 #define IRQ_UART1      IRQ_IQ80310_UART1
 #define IRQ_UART2      IRQ_IQ80310_UART2
 
-#define RS_TABLE_SIZE 2
-
 #define STD_SERIAL_PORT_DEFNS                  \
        /* UART CLK      PORT        IRQ        FLAGS        */                 \
        { 0, BASE_BAUD, IQ80310_UART2, IRQ_UART2, STD_COM_FLAGS },  /* ttyS0 */ \
@@ -33,8 +31,6 @@
 
 #define IRQ_UART1      IRQ_IQ80321_UART
 
-#define RS_TABLE_SIZE 1
-
 #define STD_SERIAL_PORT_DEFNS                  \
        /* UART CLK      PORT        IRQ        FLAGS        */                 \
        { 0, BASE_BAUD, 0xfe800000, IRQ_UART1, STD_COM_FLAGS },  /* ttyS0 */
index d5630bcf3a1c1302f8defa61f319a513d6114ab1..defb8b7fca737c87dc15881145673e53d602c7e3 100644 (file)
@@ -27,8 +27,6 @@
  */
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
-#define RS_TABLE_SIZE 2
-
 #define STD_SERIAL_PORT_DEFNS          \
        /* MAGIC UART CLK   PORT       IRQ     FLAGS */                 \
        { 0, BASE_BAUD, UART1_BASE, IRQ_UART_1, STD_COM_FLAGS },  /* ttyLU0 */ \
index 1a8423ac6f202df8b51b52b017fa633d707eb3f8..3ef5d802bf66ba544c077ba689070ce48c3c40c9 100644 (file)
@@ -15,8 +15,6 @@
 /* Standard COM flags */
 #define STD_COM_FLAGS (ASYNC_SKIP_TEST)
 
-#define RS_TABLE_SIZE  5
-
 #define STD_SERIAL_PORT_DEFNS  \
        {       \
                type:                   PORT_PXA,       \
index 2f12e6da9bf608aa9c1bd29530a9f6200dda765d..854304f5a64221ebdd3c306431143225c7be6447 100644 (file)
@@ -24,8 +24,6 @@
 
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
-#define RS_TABLE_SIZE  16
-
      /* UART CLK        PORT  IRQ     FLAGS        */
 #define STD_SERIAL_PORT_DEFNS \
        { 0, BASE_BAUD, 0x3F8, 10, STD_COM_FLAGS },     /* ttyS0 */     \
index a6a2267a2dfa538bc87d6a3eeaf8c222f7a3e94f..47dc77ecd6dc888cf5d99cb45523c211417015ae 100644 (file)
@@ -19,8 +19,6 @@
  */
 #ifdef CONFIG_SA1100_TRIZEPS
 
-#define RS_TABLE_SIZE 2
-
 #define STD_SERIAL_PORT_DEFNS  \
        /* UART CLK             PORT            IRQ             FLAGS           */ \
        { 0,    1500000,        TRIZEPS_UART5,  IRQ_GPIO16,     STD_COM_FLAGS },   \
@@ -28,8 +26,6 @@
 
 #else
 
-#define RS_TABLE_SIZE 4
-
 /*
  * This assumes you have a 1.8432 MHz clock for your UART.
  *
index 7b23d4fb5b510abd13de2a8e373780628f5448e3..2edfa7540eb663b6c8194a2ae4c25fe01692c747 100644 (file)
@@ -20,8 +20,6 @@
 
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
-#define RS_TABLE_SIZE 2
-
      /* UART CLK        PORT  IRQ     FLAGS        */
 #define STD_SERIAL_PORT_DEFNS \
        { 0, BASE_BAUD, 0x3F8,  4, STD_COM_FLAGS },     /* ttyS0 */     \
index abb7ecbebd9771761c19f215ead744083a5f233b..7e4aff996fd874ef8b8f3c38c58776c97e29e06e 100644 (file)
@@ -20,8 +20,6 @@
  */
 #define BASE_BAUD (1843200 / 16)
 
-#define RS_TABLE_SIZE  2
-
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
      /* UART CLK        PORT  IRQ     FLAGS        */
index 7d1d4dba7a5e117b59cb7d2ef9b8ebc99bf97753..21e1df31f086f6c6651af9a9e4187ea4445199c6 100644 (file)
@@ -27,8 +27,6 @@
 
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
-#define RS_TABLE_SIZE   16
-
 #if defined(CONFIG_ARCH_A5K)
      /* UART CLK        PORT  IRQ     FLAGS        */
 
index 7a4b29893986bdc69b5b103fb72fde2321ddc264..9d67798a31e04f11161912f5e4d8e9b9bec2e120 100644 (file)
@@ -27,9 +27,6 @@
 #define ACCENT_FLAGS 0
 #define BOCA_FLAGS 0
 #define HUB6_FLAGS 0
-#define RS_TABLE_SIZE  64
-#else
-#define RS_TABLE_SIZE
 #endif
 
 #define MCA_COM_FLAGS  (STD_COM_FLAGS|ASYNC_BOOT_ONLYMCA)
index a2f385829c6e2992e81f8cfb7eac63d9b6133922..97f16d6e494ebde366f66725e887e8e43df663a8 100644 (file)
@@ -30,9 +30,6 @@
 #define FOURPORT_FLAGS ASYNC_FOURPORT
 #define ACCENT_FLAGS 0
 #define BOCA_FLAGS 0
-#define RS_TABLE_SIZE  64
-#else
-#define RS_TABLE_SIZE  4
 #endif
        
 #define STD_SERIAL_PORT_DEFNS                  \
index 4f84027f439ed447d0cc3b012e2c888cf42e1617..540f12205923732c3fd280b61a12bd3cf0a45fb4 100644 (file)
@@ -11,9 +11,6 @@
 
 #define BASE_BAUD (3379200 / 16)
 
-/* Leave 2 spare for possible PCMCIA serial cards */
-#define RS_TABLE_SIZE  3
-
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
 
index 5ab27923072bf6153b263cc5c4a947a6d09fe331..f8eb16312ed9dde876e2fa2c4dc5b5dc1e26e8a3 100644 (file)
@@ -4,8 +4,6 @@
  * guess.  */
 #define BASE_BAUD (16800000 / 16)
 
-#define RS_TABLE_SIZE  3
-
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
 /* there is a fourth serial port with the expected values as well, but
index bfe1837914aeec760162574b9c17ba54b59231ee..bd1c79627a97f9e92b9b642b5daad62aa3008db8 100644 (file)
@@ -11,9 +11,6 @@
 
 #define BASE_BAUD (3379200 / 16)
 
-/* Leave 2 spare for possible PCMCIA serial cards */
-#define RS_TABLE_SIZE  3
-
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
 
index 1c70227d58c9e4ce3379abc60e28ec06c20fd1ea..2b74cd028c2727eea99f5235d969d76f3a5a6244 100644 (file)
@@ -4,8 +4,6 @@
  * guess.  */
 #define BASE_BAUD (16800000 / 16)
 
-#define RS_TABLE_SIZE  3
-
 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 
 /* there is a fourth serial port with the expected values as well, but
index 52c8ea5e86b341cb8b705e57302fe2b6f581d18b..012649927fc5c0a7fd244ea9a2f9ca3f84e563d0 100644 (file)
 #ifdef CONFIG_HD64465
 #include <asm/hd64465.h>
 
-#define RS_TABLE_SIZE  1
-
 #define STD_SERIAL_PORT_DEFNS                   \
         /* UART CLK   PORT IRQ     FLAGS        */                      \
         { 0, BASE_BAUD, 0x3F8, HD64465_IRQ_UART, STD_COM_FLAGS }  /* ttyS0 */
 
 #else
 
-#define RS_TABLE_SIZE  2
-
 #define STD_SERIAL_PORT_DEFNS                  \
        /* UART CLK   PORT IRQ     FLAGS        */                      \
        { 0, BASE_BAUD, 0x3F8, 4, STD_COM_FLAGS },      /* ttyS0 */     \
index 1b62e3eda8862f7d907b5abca0ee17cceb23314d..8c2a609ba2b0487f81583660ec34f9b799699f04 100644 (file)
@@ -16,7 +16,6 @@
 
 #define irq_cannonicalize(x) (x)
 #define BASE_BAUD      250000  /* (16MHz / (16 * 38400)) * 9600 */
-#define RS_TABLE_SIZE  1
 #define SERIAL_PORT_DFNS \
    { 0, BASE_BAUD, CB_UART_BASE, IRQ_CB_EXTSIO, STD_COM_FLAGS },
 
index 067ff0a79ae11c8b8095a4f90292c4e924c186ba..dbab232044cd64505f57a5698feb191b4f9fcd53 100644 (file)
@@ -27,9 +27,6 @@
 #define ACCENT_FLAGS 0
 #define BOCA_FLAGS 0
 #define HUB6_FLAGS 0
-#define RS_TABLE_SIZE  64
-#else
-#define RS_TABLE_SIZE
 #endif
 
 #define MCA_COM_FLAGS  (STD_COM_FLAGS|ASYNC_BOOT_ONLYMCA)