at v2.6.13-rc4 57 lines 1.5 kB view raw
1/* 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> 21#elif defined(CONFIG_MCPN765) 22#include <platforms/mcpn765.h> 23#elif defined(CONFIG_MVME5100) 24#include <platforms/mvme5100.h> 25#elif defined(CONFIG_PAL4) 26#include <platforms/pal4_serial.h> 27#elif defined(CONFIG_PRPMC750) 28#include <platforms/prpmc750.h> 29#elif defined(CONFIG_PRPMC800) 30#include <platforms/prpmc800.h> 31#elif defined(CONFIG_SANDPOINT) 32#include <platforms/sandpoint.h> 33#elif defined(CONFIG_SPRUCE) 34#include <platforms/spruce.h> 35#elif defined(CONFIG_4xx) 36#include <asm/ibm4xx.h> 37#elif defined(CONFIG_83xx) 38#include <asm/mpc83xx.h> 39#elif defined(CONFIG_85xx) 40#include <asm/mpc85xx.h> 41#elif defined(CONFIG_RADSTONE_PPC7D) 42#include <platforms/radstone_ppc7d.h> 43#else 44 45/* 46 * XXX Assume for now it has PC-style ISA serial ports. 47 * This is true for PReP and CHRP at least. 48 */ 49#include <asm/pc_serial.h> 50 51#if defined(CONFIG_MAC_SERIAL) 52#define SERIAL_DEV_OFFSET ((_machine == _MACH_prep || _machine == _MACH_chrp) ? 0 : 2) 53#endif 54 55#endif /* !CONFIG_GEMINI and others */ 56#endif /* __ASM_SERIAL_H__ */ 57#endif /* __KERNEL__ */