diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
| commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
| tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-ppc/serial.h | |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-ppc/serial.h')
| -rw-r--r-- | include/asm-ppc/serial.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/include/asm-ppc/serial.h b/include/asm-ppc/serial.h new file mode 100644 index 000000000000..6d47438be58c --- /dev/null +++ b/include/asm-ppc/serial.h | |||
| @@ -0,0 +1,57 @@ | |||
| 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__ */ | ||
