2 * include/asm-ppc/platforms/powerpmc250_serial.h
4 * Motorola PrPMC750 serial support
6 * Author: Troy Benjegerdes <tbenjegerdes@mvista.com>
8 * 2001 (c) MontaVista, Software, Inc. This file is licensed under
9 * the terms of the GNU General Public License version 2. This program
10 * is licensed "as is" without any warranty of any kind, whether express
15 #ifndef __ASMPPC_POWERPMC250_SERIAL_H
16 #define __ASMPPC_POWERPMC250_SERIAL_H
18 #include <linux/config.h>
19 #include <platforms/powerpmc250.h>
21 #define RS_TABLE_SIZE 1
23 #define BASE_BAUD (POWERPMC250_BASE_BAUD / 16)
25 #ifdef CONFIG_SERIAL_DETECT_IRQ
26 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_SKIP_TEST|ASYNC_AUTO_IRQ)
27 #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_AUTO_IRQ)
29 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_SKIP_TEST)
30 #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF)
33 #define SERIAL_PORT_DFNS \
34 { 0, BASE_BAUD, POWERPMC250_SERIAL, POWERPMC250_SERIAL_IRQ, STD_COM_FLAGS, /* ttyS0 */\
35 iomem_base: (u8 *)POWERPMC250_SERIAL, \
37 io_type: SERIAL_IO_MEM }
40 #endif /* __KERNEL__ */