diff options
Diffstat (limited to 'arch/ppc/platforms/gemini_serial.h')
-rw-r--r-- | arch/ppc/platforms/gemini_serial.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/arch/ppc/platforms/gemini_serial.h b/arch/ppc/platforms/gemini_serial.h deleted file mode 100644 index b915eff79fdb..000000000000 --- a/arch/ppc/platforms/gemini_serial.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | #ifdef __KERNEL__ | ||
2 | #ifndef __ASMPPC_GEMINI_SERIAL_H | ||
3 | #define __ASMPPC_GEMINI_SERIAL_H | ||
4 | |||
5 | #include <platforms/gemini.h> | ||
6 | |||
7 | #ifdef CONFIG_SERIAL_MANY_PORTS | ||
8 | #define RS_TABLE_SIZE 64 | ||
9 | #else | ||
10 | #define RS_TABLE_SIZE 4 | ||
11 | #endif | ||
12 | |||
13 | /* Rate for the 24.576 Mhz clock for the onboard serial chip */ | ||
14 | #define BASE_BAUD (24576000 / 16) | ||
15 | |||
16 | #ifdef CONFIG_SERIAL_DETECT_IRQ | ||
17 | #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_SKIP_TEST|ASYNC_AUTO_IRQ) | ||
18 | #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_AUTO_IRQ) | ||
19 | #else | ||
20 | #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_SKIP_TEST) | ||
21 | #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF) | ||
22 | #endif | ||
23 | |||
24 | #define STD_SERIAL_PORT_DEFNS \ | ||
25 | { 0, BASE_BAUD, GEMINI_SERIAL_A, 15, STD_COM_FLAGS }, /* ttyS0 */ \ | ||
26 | { 0, BASE_BAUD, GEMINI_SERIAL_B, 14, STD_COM_FLAGS }, /* ttyS1 */ \ | ||
27 | |||
28 | #ifdef CONFIG_GEMINI_PU32 | ||
29 | #define PU32_SERIAL_PORT_DEFNS \ | ||
30 | { 0, BASE_BAUD, NULL, 0, STD_COM_FLAGS }, | ||
31 | #else | ||
32 | #define PU32_SERIAL_PORT_DEFNS | ||
33 | #endif | ||
34 | |||
35 | #define SERIAL_PORT_DFNS \ | ||
36 | STD_SERIAL_PORT_DEFNS \ | ||
37 | PU32_SERIAL_PORT_DEFNS | ||
38 | |||
39 | #endif | ||
40 | #endif /* __KERNEL__ */ | ||