This is the fifth part of my Xilleon port. This patch adds definitions for the Xilleon's serial ports. Patch against 2.6.14-rc2 from linux-mips.org Signed-off-by: David Daney <ddaney@xxxxxxxxxx> Add Xilleon serial port definitions. --- commit 33019afad122415869a7a0b2f2a3600249c55704 tree 26526fc552934a5abf2b112dadac9fb9cbd2f8cb parent 43a5e067ae126cee417017e8c69dfde18b82e670 author David Daney <daney@xxxxxxxxxxxxxxxxxx> Tue, 04 Oct 2005 13:44:30 -0700 committer David Daney <daney@xxxxxxxxxxxxxxxxxx> Tue, 04 Oct 2005 13:44:30 -0700 include/asm-mips/serial.h | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/include/asm-mips/serial.h b/include/asm-mips/serial.h --- a/include/asm-mips/serial.h +++ b/include/asm-mips/serial.h @@ -185,6 +185,28 @@ #define AU1000_SERIAL_PORT_DEFNS #endif +#ifdef CONFIG_ATI_XILLEON + +#include <asm/mach-xilleon/xilleon.h> +#include <asm/mach-xilleon/xilleonint.h> +#define XILLEON_SERIAL_PORT_DEFNS \ + { .baud_base = XILLEON_BASE_BAUD, \ + .port = XILLEON_UART0_REGS_BASE, \ + .iomem_base = (unsigned char *)XILLEON_UART0_REGS_BASE, \ + .irq =XILLEON_UART1_INT, \ + .flags = STD_COM_FLAGS, \ + .io_type = SERIAL_IO_MEM }, \ + { .baud_base = XILLEON_BASE_BAUD, \ + .port = XILLEON_UART1_REGS_BASE, \ + .iomem_base = (unsigned char *)XILLEON_UART1_REGS_BASE, \ + .irq = XILLEON_UART2_INT, \ + .flags = STD_COM_FLAGS, \ + .io_type = SERIAL_IO_MEM}, + +#else +#define XILLEON_SERIAL_PORT_DEFNS +#endif + #ifdef CONFIG_HAVE_STD_PC_SERIAL_PORT #define STD_SERIAL_PORT_DEFNS \ /* UART CLK PORT IRQ FLAGS */ \ @@ -332,6 +354,7 @@ MOMENCO_OCELOT_C_SERIAL_PORT_DEFNS \ MOMENCO_OCELOT_SERIAL_PORT_DEFNS \ MOMENCO_OCELOT_3_SERIAL_PORT_DEFNS \ - AU1000_SERIAL_PORT_DEFNS + AU1000_SERIAL_PORT_DEFNS \ + XILLEON_SERIAL_PORT_DEFNS #endif /* _ASM_SERIAL_H */