2 * include/asm-ppc/platforms/powerpmc250_serial.h
4 * Motorola PrPMC750 serial support
6 * Author: Troy Benjegerdes <tbenjegerdes@mvista.com>
8 * Copyright 2001 MontaVista Software Inc.
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the
12 * Free Software Foundation; either version 2 of the License, or (at your
13 * option) any later version.
17 #ifndef __ASMPPC_POWERPMC250_SERIAL_H
18 #define __ASMPPC_POWERPMC250_SERIAL_H
20 #include <linux/config.h>
21 #include <platforms/powerpmc250.h>
23 #define RS_TABLE_SIZE 1
25 #define BASE_BAUD (POWERPMC250_BASE_BAUD / 16)
27 #ifdef CONFIG_SERIAL_DETECT_IRQ
28 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_SKIP_TEST|ASYNC_AUTO_IRQ)
29 #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_AUTO_IRQ)
31 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_SKIP_TEST)
32 #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF)
35 #define SERIAL_PORT_DFNS \
36 { 0, BASE_BAUD, POWERPMC250_SERIAL, POWERPMC250_SERIAL_IRQ, STD_COM_FLAGS, /* ttyS0 */\
37 iomem_base: (u8 *)POWERPMC250_SERIAL, \
39 io_type: SERIAL_IO_MEM }
42 #endif /* __KERNEL__ */