blob: 485a924e4d06b83b97d97d85c61c80dedc8b1184 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * include/asm-ppc/serial.h
3 */
4
5#ifdef __KERNEL__
6#ifndef __ASM_SERIAL_H__
7#define __ASM_SERIAL_H__
8
9#include <linux/config.h>
10
11#if defined(CONFIG_EV64260)
12#include <platforms/ev64260.h>
13#elif defined(CONFIG_CHESTNUT)
14#include <platforms/chestnut.h>
15#elif defined(CONFIG_GEMINI)
16#include <platforms/gemini_serial.h>
17#elif defined(CONFIG_POWERPMC250)
18#include <platforms/powerpmc250.h>
19#elif defined(CONFIG_LOPEC)
20#include <platforms/lopec.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#elif defined(CONFIG_MVME5100)
22#include <platforms/mvme5100.h>
23#elif defined(CONFIG_PAL4)
24#include <platforms/pal4_serial.h>
25#elif defined(CONFIG_PRPMC750)
26#include <platforms/prpmc750.h>
27#elif defined(CONFIG_PRPMC800)
28#include <platforms/prpmc800.h>
29#elif defined(CONFIG_SANDPOINT)
30#include <platforms/sandpoint.h>
31#elif defined(CONFIG_SPRUCE)
32#include <platforms/spruce.h>
33#elif defined(CONFIG_4xx)
34#include <asm/ibm4xx.h>
35#elif defined(CONFIG_83xx)
36#include <asm/mpc83xx.h>
37#elif defined(CONFIG_85xx)
38#include <asm/mpc85xx.h>
39#elif defined(CONFIG_RADSTONE_PPC7D)
40#include <platforms/radstone_ppc7d.h>
41#else
42
43/*
44 * XXX Assume for now it has PC-style ISA serial ports.
45 * This is true for PReP and CHRP at least.
46 */
47#include <asm/pc_serial.h>
48
49#if defined(CONFIG_MAC_SERIAL)
50#define SERIAL_DEV_OFFSET ((_machine == _MACH_prep || _machine == _MACH_chrp) ? 0 : 2)
51#endif
52
53#endif /* !CONFIG_GEMINI and others */
54#endif /* __ASM_SERIAL_H__ */
55#endif /* __KERNEL__ */