This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / ppc / platforms / dmv182_serial.h
1 #ifndef __DMV182_SERIAL_H
2 #define __DMV182_SERIAL_H
3
4 #include <linux/serial.h>
5 #include <platforms/dmv182.h>
6
7 #define BASE_BAUD (36864000 / 16)
8 #define RS_TABLE_SIZE 2
9
10 #define STD_UART_OP(num) \
11         { .baud_base = BASE_BAUD, \
12           .irq = DMV182_IRQ_SERIAL_CH##num, \
13           .flags = ASYNC_SKIP_TEST | ASYNC_BUGGY_UART, \
14           .iomem_base = dmv182_fpga_io + 0x18 + 8 * (num - 1), \
15           .io_type = SERIAL_IO_MEM },
16
17 #define SERIAL_PORT_DFNS STD_UART_OP(1) STD_UART_OP(2)
18
19 #endif