diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 02:16:42 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 02:16:42 -0400 |
commit | d7cdc9e8ac82c43fdcd4fde6b5b53d2dcba7f707 (patch) | |
tree | 2489b1831a1b5818af0927e4d3c8933bf7d05f31 /arch/sh/boards/renesas/rts7751r2d/io.c | |
parent | 26ff6c11ef38e08990c1e417c299246e6ab18ff7 (diff) |
sh: ioremap() overhaul.
ioremap() overhaul. Add support for transparent PMB mapping, get rid of
p3_ioremap(), etc. Also drop ioremap() and iounmap() routines from the
machvec, as everyone can use the generic ioremap() API instead. For PCI
memory apertures and other special cases, use the pci_iomap() API, as
boards are already required to get the mapping right there.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/renesas/rts7751r2d/io.c')
-rw-r--r-- | arch/sh/boards/renesas/rts7751r2d/io.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sh/boards/renesas/rts7751r2d/io.c b/arch/sh/boards/renesas/rts7751r2d/io.c index 9e7fa726a86d..8dc2a2e2e5df 100644 --- a/arch/sh/boards/renesas/rts7751r2d/io.c +++ b/arch/sh/boards/renesas/rts7751r2d/io.c | |||
@@ -321,15 +321,6 @@ void rts7751r2d_outsl(unsigned long port, const void *addr, unsigned long count) | |||
321 | maybebadio(port); | 321 | maybebadio(port); |
322 | } | 322 | } |
323 | 323 | ||
324 | void *rts7751r2d_ioremap(unsigned long offset, unsigned long size) | ||
325 | { | ||
326 | if (offset >= 0xfd000000) | ||
327 | return (void *)offset; | ||
328 | else | ||
329 | return (void *)P2SEGADDR(offset); | ||
330 | } | ||
331 | EXPORT_SYMBOL(rts7751r2d_ioremap); | ||
332 | |||
333 | unsigned long rts7751r2d_isa_port2addr(unsigned long offset) | 324 | unsigned long rts7751r2d_isa_port2addr(unsigned long offset) |
334 | { | 325 | { |
335 | return port2adr(offset); | 326 | return port2adr(offset); |