diff -urN -X ignore orig/linux-2.4.21-pre4/include/asm-mips/serial.h new/linux-2.4.21-pre4/include/asm-mips/serial.h --- orig/linux-2.4.21-pre4/include/asm-mips/serial.h Mon Jun 16 08:42:21 2003 +++ new/linux-2.4.21-pre4/include/asm-mips/serial.h Tue Feb 10 18:10:44 2004 @@ -332,6 +332,18 @@ #else #define DDB5477_SERIAL_PORT_DEFNS #endif +#ifdef CONFIG_TANBAC_TB0229 +#include +#define VR4131_SERIAL_PORT_DEFNS \ + { .baud_base = 1152000, .irq = SIU_IRQ, \ + .flags = STD_COM_FLAGS, .iomem_base = (u8*)0xaf000800, \ + .iomem_reg_shift = 0, .io_type = SERIAL_IO_MEM}, \ + { .baud_base = 1152000, .irq = DSIU_IRQ, \ + .flags = STD_COM_FLAGS, .iomem_base = (u8*)0xaf000820, \ + .iomem_reg_shift = 0, .io_type = SERIAL_IO_MEM}, +#else +#define VR4131_SERIAL_PORT_DEFNS +#endif #define SERIAL_PORT_DFNS \ IVR_SERIAL_PORT_DEFNS \ @@ -349,4 +361,5 @@ MOMENCO_OCELOT_C_SERIAL_PORT_DEFNS \ AU1000_SERIAL_PORT_DEFNS \ TXX927_SERIAL_PORT_DEFNS \ - DDB5477_SERIAL_PORT_DEFNS + DDB5477_SERIAL_PORT_DEFNS \ + VR4131_SERIAL_PORT_DEFNS