aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-04-20 06:00:32 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-04-20 06:00:32 -0400
commit5ba7205fc49ff72e88784c94fb661f93e7ae7d36 (patch)
treea74ed26781658ff0582722c575f5ef1a624837ed
parent3f8daeacd7ed7a502daf0998e2515cea4f467f21 (diff)
sh: pci: Kill off the now unused hose->io_base.
Nothing is using this any more, so kill it off. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/drivers/pci/pci-sh7751.c8
-rw-r--r--arch/sh/drivers/pci/pci-sh7780.c1
-rw-r--r--arch/sh/include/asm/pci.h1
3 files changed, 0 insertions, 10 deletions
diff --git a/arch/sh/drivers/pci/pci-sh7751.c b/arch/sh/drivers/pci/pci-sh7751.c
index af8874436d2f..4c08fd7f665d 100644
--- a/arch/sh/drivers/pci/pci-sh7751.c
+++ b/arch/sh/drivers/pci/pci-sh7751.c
@@ -40,7 +40,6 @@ int __init sh7751_pci_init(struct pci_channel *chan)
40 pr_debug("PCI: Starting intialization.\n"); 40 pr_debug("PCI: Starting intialization.\n");
41 41
42 chan->reg_base = 0xfe200000; 42 chan->reg_base = 0xfe200000;
43 chan->io_base = 0xfe240000;
44 43
45 /* check for SH7751/SH7751R hardware */ 44 /* check for SH7751/SH7751R hardware */
46 id = pci_read_reg(chan, SH7751_PCICONF0); 45 id = pci_read_reg(chan, SH7751_PCICONF0);
@@ -136,13 +135,6 @@ int __init sh7751_pcic_init(struct pci_channel *chan,
136 pr_debug("PCI: Setting upper bits of Memory window to 0x%x\n", word); 135 pr_debug("PCI: Setting upper bits of Memory window to 0x%x\n", word);
137 pci_write_reg(chan, word , SH4_PCIMBR); 136 pci_write_reg(chan, word , SH4_PCIMBR);
138 137
139 /* Map IO space into PCI IO window:
140 * IO addresses will be translated to the PCI IO window base address
141 */
142 pr_debug("PCI: Mapping IO address 0x%x - 0x%x to base 0x%lx\n",
143 chan->io_resource->start, chan->io_resource->end,
144 chan->io_base + chan->io_resource->start);
145
146 /* Make sure the MSB's of IO window are set to access PCI space 138 /* Make sure the MSB's of IO window are set to access PCI space
147 * correctly */ 139 * correctly */
148 word = chan->io_resource->start & SH4_PCIIOBR_MASK; 140 word = chan->io_resource->start & SH4_PCIIOBR_MASK;
diff --git a/arch/sh/drivers/pci/pci-sh7780.c b/arch/sh/drivers/pci/pci-sh7780.c
index 57a3b870a276..ae13ff925c61 100644
--- a/arch/sh/drivers/pci/pci-sh7780.c
+++ b/arch/sh/drivers/pci/pci-sh7780.c
@@ -62,7 +62,6 @@ static int __init sh7780_pci_init(void)
62 printk(KERN_NOTICE "PCI: Starting intialization.\n"); 62 printk(KERN_NOTICE "PCI: Starting intialization.\n");
63 63
64 chan->reg_base = 0xfe040000; 64 chan->reg_base = 0xfe040000;
65 chan->io_base = 0xfe200000;
66 65
67 /* Enable CPU access to the PCIC registers. */ 66 /* Enable CPU access to the PCIC registers. */
68 __raw_writel(PCIECR_ENBL, PCIECR); 67 __raw_writel(PCIECR_ENBL, PCIECR);
diff --git a/arch/sh/include/asm/pci.h b/arch/sh/include/asm/pci.h
index 0be20521a1fe..f36c7899295b 100644
--- a/arch/sh/include/asm/pci.h
+++ b/arch/sh/include/asm/pci.h
@@ -33,7 +33,6 @@ struct pci_channel {
33 int enabled; 33 int enabled;
34 34
35 unsigned long reg_base; 35 unsigned long reg_base;
36 unsigned long io_base;
37 36
38 unsigned long io_map_base; 37 unsigned long io_map_base;
39}; 38};