OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-ppc/] [serial.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
/*
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_GEMINI)
12
#include <platforms/gemini_serial.h>
13
#elif defined(CONFIG_LOPEC)
14
#include <platforms/lopec_serial.h>
15
#elif defined(CONFIG_SANDPOINT)
16
#include <platforms/sandpoint_serial.h>
17
#elif defined(CONFIG_SPRUCE)
18
#include <platforms/spruce.h>
19
#elif defined(CONFIG_PRPMC750)
20
#include <platforms/prpmc750_serial.h>
21
#elif defined(CONFIG_4xx)
22
#include <asm/ibm4xx.h>
23
#else
24
 
25
/*
26
 * XXX Assume for now it has PC-style ISA serial ports.
27
 * This is true for PReP and CHRP at least.
28
 */
29
#include <asm/pc_serial.h>
30
#include <asm/processor.h>
31
 
32
#if defined(CONFIG_MAC_SERIAL)
33
#define SERIAL_DEV_OFFSET       ((_machine == _MACH_prep || _machine == _MACH_chrp) ? 0 : 2)
34
#endif
35
 
36
#endif /* !CONFIG_GEMINI and others */
37
#endif /* __ASM_SERIAL_H__ */
38
#endif /* __KERNEL__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.