aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/sh03
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 16:43:28 +0900
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 16:43:28 +0900
commit959f85f8a3223c116bbe95dd8a9b207790b5d4d3 (patch)
treee7da9ccf292f860bfa0ff9cc8b2682cd1d6bad4d /arch/sh/boards/sh03
parentserial: Rework sh-sci for driver model. (diff)
downloadlinux-dev-959f85f8a3223c116bbe95dd8a9b207790b5d4d3.tar.xz
linux-dev-959f85f8a3223c116bbe95dd8a9b207790b5d4d3.zip
sh: Consolidated SH7751/SH7780 PCI support.
This cleans up quite a lot of the PCI mess that we currently have, and attempts to consolidate the duplication in the SH7780 and SH7751 PCI controllers. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/sh03')
-rw-r--r--arch/sh/boards/sh03/setup.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/sh/boards/sh03/setup.c b/arch/sh/boards/sh03/setup.c
index dab742a00c6f..7d31d6aed8a5 100644
--- a/arch/sh/boards/sh03/setup.c
+++ b/arch/sh/boards/sh03/setup.c
@@ -12,11 +12,10 @@
#include <asm/sh03/io.h>
#include <asm/sh03/sh03.h>
#include <asm/addrspace.h>
-#include "../../drivers/pci/pci-sh7751.h"
const char *get_system_type(void)
{
- return "Interface CTP/PCI-SH03)";
+ return "Interface (CTP/PCI-SH03)";
}
static void init_sh03_IRQ(void)
@@ -39,7 +38,7 @@ static void __iomem *sh03_ioport_map(unsigned long port, unsigned int size)
if (((port >= 0x1f0) && (port <= 0x1f7)) || (port == 0x3f6))
return (void __iomem *)((unsigned long)cf_io_base + port);
- return (void __iomem *)(port + SH7751_PCI_IO_BASE);
+ return (void __iomem *)(port + PCI_IO_BASE);
}
struct sh_machine_vector mv_sh03 __initmv = {
@@ -51,7 +50,6 @@ struct sh_machine_vector mv_sh03 __initmv = {
.mv_heartbeat = heartbeat_sh03,
#endif
};
-
ALIAS_MV(sh03)
/* arch/sh/boards/sh03/rtc.c */