/* * include/asm-ppc/serial.h */ #ifdef __KERNEL__ #ifndef __ASM_SERIAL_H__ #define __ASM_SERIAL_H__ #include #if defined(CONFIG_GEMINI) #include #elif defined(CONFIG_LOPEC) #include #elif defined(CONFIG_SANDPOINT) #include #elif defined(CONFIG_SPRUCE) #include #elif defined(CONFIG_PRPMC750) #include #elif defined(CONFIG_4xx) #include #else /* * XXX Assume for now it has PC-style ISA serial ports. * This is true for PReP and CHRP at least. */ #include #include #if defined(CONFIG_MAC_SERIAL) #define SERIAL_DEV_OFFSET ((_machine == _MACH_prep || _machine == _MACH_chrp) ? 0 : 2) #endif #endif /* !CONFIG_GEMINI and others */ #endif /* __ASM_SERIAL_H__ */ #endif /* __KERNEL__ */