diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-02-21 13:30:36 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-02-21 13:30:36 +0000 |
commit | 49a3beac398bd3e89dc4c8a5caff106cbd1e0cff (patch) | |
tree | 4f9a8bfdbe571a81ca63b73ae45c0b466661fb35 /include/asm-mips/serial.h | |
parent | b8d3cc7ceb61a07b865b420139477b91a4be202f (diff) |
ITE 8172 patches from Pete Popov slightly hacked by me.
Diffstat (limited to 'include/asm-mips/serial.h')
-rw-r--r-- | include/asm-mips/serial.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asm-mips/serial.h b/include/asm-mips/serial.h index aad63051c..d2057f158 100644 --- a/include/asm-mips/serial.h +++ b/include/asm-mips/serial.h @@ -102,6 +102,25 @@ #define EV96100_SERIAL_PORT_DEFNS #endif +#ifdef CONFIG_MIPS_ITE8172 +#include <asm/it8172/it8172.h> +#include <asm/it8172/it8172_int.h> +#include <asm/it8712.h> +#define ITE_SERIAL_PORT_DEFNS \ + { baud_base: BASE_BAUD, port: (IT8172_PCI_IO_BASE + IT_UART_BASE), \ + irq: IT8172_UART_IRQ, flags: STD_COM_FLAGS, type: 0x3 }, \ + { baud_base: (24000000/(16*13)), port: (IT8172_PCI_IO_BASE + IT8712_UART1_PORT), \ + irq: IT8172_SERIRQ_4, flags: STD_COM_FLAGS, type: 0x3 }, \ + /* Smart Card Reader 0 */ \ + { baud_base: BASE_BAUD, port: (IT8172_PCI_IO_BASE + IT_SCR0_BASE), \ + irq: IT8172_SCR0_IRQ, flags: STD_COM_FLAGS, type: 0x3 }, \ + /* Smart Card Reader 1 */ \ + { baud_base: BASE_BAUD, port: (IT8172_PCI_IO_BASE + IT_SCR1_BASE), \ + irq: IT8172_SCR1_IRQ, flags: STD_COM_FLAGS, type: 0x3 }, +#else +#define ITE_SERIAL_PORT_DEFNS +#endif + #ifdef CONFIG_HAVE_STD_PC_SERIAL_PORT #define STD_SERIAL_PORT_DEFNS \ /* UART CLK PORT IRQ FLAGS */ \ @@ -200,6 +219,7 @@ #endif #define SERIAL_PORT_DFNS \ + ITE_SERIAL_PORT_DEFNS \ ATLAS_SERIAL_PORT_DEFNS \ EV96100_SERIAL_PORT_DEFNS \ JAZZ_SERIAL_PORT_DEFNS \ |