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 /arch/frv/kernel/gdb-io.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 'arch/frv/kernel/gdb-io.h')
-rw-r--r-- | arch/frv/kernel/gdb-io.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/arch/frv/kernel/gdb-io.h b/arch/frv/kernel/gdb-io.h new file mode 100644 index 000000000000..138714bacc40 --- /dev/null +++ b/arch/frv/kernel/gdb-io.h | |||
@@ -0,0 +1,55 @@ | |||
1 | /* gdb-io.h: FR403 GDB I/O port defs | ||
2 | * | ||
3 | * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved. | ||
4 | * Written by David Howells (dhowells@redhat.com) | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License | ||
8 | * as published by the Free Software Foundation; either version | ||
9 | * 2 of the License, or (at your option) any later version. | ||
10 | */ | ||
11 | |||
12 | #ifndef _GDB_IO_H | ||
13 | #define _GDB_IO_H | ||
14 | |||
15 | #include <asm/serial-regs.h> | ||
16 | |||
17 | #undef UART_RX | ||
18 | #undef UART_TX | ||
19 | #undef UART_DLL | ||
20 | #undef UART_DLM | ||
21 | #undef UART_IER | ||
22 | #undef UART_IIR | ||
23 | #undef UART_FCR | ||
24 | #undef UART_LCR | ||
25 | #undef UART_MCR | ||
26 | #undef UART_LSR | ||
27 | #undef UART_MSR | ||
28 | #undef UART_SCR | ||
29 | |||
30 | #define UART_RX 0*8 /* In: Receive buffer (DLAB=0) */ | ||
31 | #define UART_TX 0*8 /* Out: Transmit buffer (DLAB=0) */ | ||
32 | #define UART_DLL 0*8 /* Out: Divisor Latch Low (DLAB=1) */ | ||
33 | #define UART_DLM 1*8 /* Out: Divisor Latch High (DLAB=1) */ | ||
34 | #define UART_IER 1*8 /* Out: Interrupt Enable Register */ | ||
35 | #define UART_IIR 2*8 /* In: Interrupt ID Register */ | ||
36 | #define UART_FCR 2*8 /* Out: FIFO Control Register */ | ||
37 | #define UART_LCR 3*8 /* Out: Line Control Register */ | ||
38 | #define UART_MCR 4*8 /* Out: Modem Control Register */ | ||
39 | #define UART_LSR 5*8 /* In: Line Status Register */ | ||
40 | #define UART_MSR 6*8 /* In: Modem Status Register */ | ||
41 | #define UART_SCR 7*8 /* I/O: Scratch Register */ | ||
42 | |||
43 | #define UART_LCR_DLAB 0x80 /* Divisor latch access bit */ | ||
44 | #define UART_LCR_SBC 0x40 /* Set break control */ | ||
45 | #define UART_LCR_SPAR 0x20 /* Stick parity (?) */ | ||
46 | #define UART_LCR_EPAR 0x10 /* Even parity select */ | ||
47 | #define UART_LCR_PARITY 0x08 /* Parity Enable */ | ||
48 | #define UART_LCR_STOP 0x04 /* Stop bits: 0=1 stop bit, 1= 2 stop bits */ | ||
49 | #define UART_LCR_WLEN5 0x00 /* Wordlength: 5 bits */ | ||
50 | #define UART_LCR_WLEN6 0x01 /* Wordlength: 6 bits */ | ||
51 | #define UART_LCR_WLEN7 0x02 /* Wordlength: 7 bits */ | ||
52 | #define UART_LCR_WLEN8 0x03 /* Wordlength: 8 bits */ | ||
53 | |||
54 | |||
55 | #endif /* _GDB_IO_H */ | ||