2 * include/asm-ppc/serial.h
6 #ifndef __ASM_SERIAL_H__
7 #define __ASM_SERIAL_H__
9 #include <linux/config.h>
11 #if defined(CONFIG_EV64260)
12 #include <platforms/ev64260.h>
13 #elif defined(CONFIG_GEMINI)
14 #include <platforms/gemini_serial.h>
15 #elif defined(CONFIG_POWERPMC250)
16 #include <platforms/powerpmc250_serial.h>
17 #elif defined(CONFIG_LOPEC)
18 #include <platforms/lopec_serial.h>
19 #elif defined(CONFIG_MCPN765)
20 #include <platforms/mcpn765_serial.h>
21 #elif defined(CONFIG_MVME5100)
22 #include <platforms/mvme5100_serial.h>
23 #elif defined(CONFIG_PRPMC750)
24 #include <platforms/prpmc750_serial.h>
25 #elif defined(CONFIG_PRPMC800)
26 #include <platforms/prpmc800_serial.h>
27 #elif defined(CONFIG_SANDPOINT)
28 #include <platforms/sandpoint.h>
29 #elif defined(CONFIG_SPRUCE)
30 #include <platforms/spruce.h>
31 #elif defined(CONFIG_4xx)
32 #include <asm/ibm4xx.h>
36 * XXX Assume for now it has PC-style ISA serial ports.
37 * This is true for PReP and CHRP at least.
39 #include <asm/pc_serial.h>
41 #if defined(CONFIG_MAC_SERIAL)
42 #define SERIAL_DEV_OFFSET ((_machine == _MACH_prep || _machine == _MACH_chrp) ? 0 : 2)
45 #endif /* !CONFIG_GEMINI and others */
46 #endif /* __ASM_SERIAL_H__ */
47 #endif /* __KERNEL__ */