b241ff70304d116c047e2ac4ff560ac376928ed7
[openwrt/staging/dedeckeh.git] / openwrt / package / linux / kernel-patches / 036-include_asm-mips_serial_h
1 --- linux-mips-cvs/include/asm-mips/serial.h 2004-08-20 00:33:33.000000000 +0200
2 +++ linux-broadcom/include/asm-mips/serial.h 2005-01-31 13:13:14.000000000 +0100
3 @@ -223,6 +223,13 @@
4 #define TXX927_SERIAL_PORT_DEFNS
5 #endif
6
7 +#ifdef CONFIG_BCM947XX
8 +/* reserve 4 ports to be configured at runtime */
9 +#define BCM947XX_SERIAL_PORT_DEFNS { 0, }, { 0, }, { 0, }, { 0, },
10 +#else
11 +#define BCM947XX_SERIAL_PORT_DEFNS
12 +#endif
13 +
14 #ifdef CONFIG_HAVE_STD_PC_SERIAL_PORT
15 #define STD_SERIAL_PORT_DEFNS \
16 /* UART CLK PORT IRQ FLAGS */ \
17 @@ -470,6 +477,7 @@
18 #define SERIAL_PORT_DFNS \
19 ATLAS_SERIAL_PORT_DEFNS \
20 AU1000_SERIAL_PORT_DEFNS \
21 + BCM947XX_SERIAL_PORT_DEFNS \
22 COBALT_SERIAL_PORT_DEFNS \
23 DDB5477_SERIAL_PORT_DEFNS \
24 EV96100_SERIAL_PORT_DEFNS \