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-v850/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-v850/serial.h')
-rw-r--r-- | include/asm-v850/serial.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/include/asm-v850/serial.h b/include/asm-v850/serial.h new file mode 100644 index 000000000000..8c2a609ba2b0 --- /dev/null +++ b/include/asm-v850/serial.h | |||
@@ -0,0 +1,57 @@ | |||
1 | /* | ||
2 | * This file is subject to the terms and conditions of the GNU General Public | ||
3 | * License. See the file "COPYING" in the main directory of this archive | ||
4 | * for more details. | ||
5 | * | ||
6 | * Copyright (C) 1999 by Ralf Baechle | ||
7 | * Copyright (C) 1999, 2000 Silicon Graphics, Inc. | ||
8 | */ | ||
9 | #include <linux/config.h> | ||
10 | |||
11 | #ifdef CONFIG_RTE_CB_ME2 | ||
12 | |||
13 | #include <asm/rte_me2_cb.h> | ||
14 | |||
15 | #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST) | ||
16 | |||
17 | #define irq_cannonicalize(x) (x) | ||
18 | #define BASE_BAUD 250000 /* (16MHz / (16 * 38400)) * 9600 */ | ||
19 | #define SERIAL_PORT_DFNS \ | ||
20 | { 0, BASE_BAUD, CB_UART_BASE, IRQ_CB_EXTSIO, STD_COM_FLAGS }, | ||
21 | |||
22 | /* Redefine UART register offsets. */ | ||
23 | #undef UART_RX | ||
24 | #undef UART_TX | ||
25 | #undef UART_DLL | ||
26 | #undef UART_TRG | ||
27 | #undef UART_DLM | ||
28 | #undef UART_IER | ||
29 | #undef UART_FCTR | ||
30 | #undef UART_IIR | ||
31 | #undef UART_FCR | ||
32 | #undef UART_EFR | ||
33 | #undef UART_LCR | ||
34 | #undef UART_MCR | ||
35 | #undef UART_LSR | ||
36 | #undef UART_MSR | ||
37 | #undef UART_SCR | ||
38 | #undef UART_EMSR | ||
39 | |||
40 | #define UART_RX (0 * CB_UART_REG_GAP) | ||
41 | #define UART_TX (0 * CB_UART_REG_GAP) | ||
42 | #define UART_DLL (0 * CB_UART_REG_GAP) | ||
43 | #define UART_TRG (0 * CB_UART_REG_GAP) | ||
44 | #define UART_DLM (1 * CB_UART_REG_GAP) | ||
45 | #define UART_IER (1 * CB_UART_REG_GAP) | ||
46 | #define UART_FCTR (1 * CB_UART_REG_GAP) | ||
47 | #define UART_IIR (2 * CB_UART_REG_GAP) | ||
48 | #define UART_FCR (2 * CB_UART_REG_GAP) | ||
49 | #define UART_EFR (2 * CB_UART_REG_GAP) | ||
50 | #define UART_LCR (3 * CB_UART_REG_GAP) | ||
51 | #define UART_MCR (4 * CB_UART_REG_GAP) | ||
52 | #define UART_LSR (5 * CB_UART_REG_GAP) | ||
53 | #define UART_MSR (6 * CB_UART_REG_GAP) | ||
54 | #define UART_SCR (7 * CB_UART_REG_GAP) | ||
55 | #define UART_EMSR (7 * CB_UART_REG_GAP) | ||
56 | |||
57 | #endif /* CONFIG_RTE_CB_ME2 */ | ||