diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-06-24 06:54:48 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-24 06:54:48 -0400 |
commit | f8e53553f452dcbf67cb89c8cba63a1cd6eb4cc0 (patch) | |
tree | 4f3276734dbc9ab453f638bf60bbb0a84d73b7be | |
parent | 8e6986149129acc6528a7231350c31ce3e3dadc5 (diff) |
serial: sh-sci: Kill off more unused defines.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | drivers/serial/sh-sci.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h index def626307c33..1b2ce1546979 100644 --- a/drivers/serial/sh-sci.h +++ b/drivers/serial/sh-sci.h | |||
@@ -18,8 +18,6 @@ | |||
18 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) | 18 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) |
19 | # define SCIF0 0xA4400000 | 19 | # define SCIF0 0xA4400000 |
20 | # define SCIF2 0xA4410000 | 20 | # define SCIF2 0xA4410000 |
21 | # define SCSMR_Ir 0xA44A0000 | ||
22 | # define IRDA_SCIF SCIF0 | ||
23 | # define SCPCR 0xA4000116 | 21 | # define SCPCR 0xA4000116 |
24 | # define SCPDR 0xA4000136 | 22 | # define SCPDR 0xA4000136 |
25 | #elif defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 23 | #elif defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
@@ -80,7 +78,6 @@ | |||
80 | # define SCIF_ORER 0x0001 /* overrun error bit */ | 78 | # define SCIF_ORER 0x0001 /* overrun error bit */ |
81 | #elif defined(CONFIG_CPU_SUBTYPE_SH5_101) || defined(CONFIG_CPU_SUBTYPE_SH5_103) | 79 | #elif defined(CONFIG_CPU_SUBTYPE_SH5_101) || defined(CONFIG_CPU_SUBTYPE_SH5_103) |
82 | # define SCIF_PTR2_OFFS 0x0000020 | 80 | # define SCIF_PTR2_OFFS 0x0000020 |
83 | # define SCIF_LSR2_OFFS 0x0000024 | ||
84 | # define SCSPTR2 ((port->mapbase)+SCIF_PTR2_OFFS) /* 16 bit SCIF */ | 81 | # define SCSPTR2 ((port->mapbase)+SCIF_PTR2_OFFS) /* 16 bit SCIF */ |
85 | #elif defined(CONFIG_H83007) || defined(CONFIG_H83068) | 82 | #elif defined(CONFIG_H83007) || defined(CONFIG_H83068) |
86 | # define H8300_SCI_DR(ch) *(volatile char *)(P1DR + h8300_sci_pins[ch].port) | 83 | # define H8300_SCI_DR(ch) *(volatile char *)(P1DR + h8300_sci_pins[ch].port) |
@@ -210,23 +207,11 @@ | |||
210 | /* SCFCR */ | 207 | /* SCFCR */ |
211 | #define SCFCR_RFRST 0x0002 | 208 | #define SCFCR_RFRST 0x0002 |
212 | #define SCFCR_TFRST 0x0004 | 209 | #define SCFCR_TFRST 0x0004 |
213 | #define SCFCR_TCRST 0x4000 | ||
214 | #define SCFCR_MCE 0x0008 | 210 | #define SCFCR_MCE 0x0008 |
215 | 211 | ||
216 | #define SCI_MAJOR 204 | 212 | #define SCI_MAJOR 204 |
217 | #define SCI_MINOR_START 8 | 213 | #define SCI_MINOR_START 8 |
218 | 214 | ||
219 | /* Generic serial flags */ | ||
220 | #define SCI_RX_THROTTLE 0x0000001 | ||
221 | |||
222 | #define SCI_MAGIC 0xbabeface | ||
223 | |||
224 | /* | ||
225 | * Events are used to schedule things to happen at timer-interrupt | ||
226 | * time, instead of at rs interrupt time. | ||
227 | */ | ||
228 | #define SCI_EVENT_WRITE_WAKEUP 0 | ||
229 | |||
230 | #define SCI_IN(size, offset) \ | 215 | #define SCI_IN(size, offset) \ |
231 | if ((size) == 8) { \ | 216 | if ((size) == 8) { \ |
232 | return ioread8(port->membase + (offset)); \ | 217 | return ioread8(port->membase + (offset)); \ |