diff options
Diffstat (limited to 'arch/sh/drivers/pci/pci-sh7780.c')
-rw-r--r-- | arch/sh/drivers/pci/pci-sh7780.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/sh/drivers/pci/pci-sh7780.c b/arch/sh/drivers/pci/pci-sh7780.c index 4706e880b087..e8f3a308c075 100644 --- a/arch/sh/drivers/pci/pci-sh7780.c +++ b/arch/sh/drivers/pci/pci-sh7780.c | |||
@@ -130,14 +130,12 @@ int __init sh7780_pcic_init(struct pci_channel *chan, | |||
130 | pci_write_reg(chan, map->window1.base, SH4_PCILAR1); | 130 | pci_write_reg(chan, map->window1.base, SH4_PCILAR1); |
131 | pci_write_reg(chan, map->window1.base, SH7780_PCIMBAR1); | 131 | pci_write_reg(chan, map->window1.base, SH7780_PCIMBAR1); |
132 | 132 | ||
133 | /* Map IO space into PCI IO window | 133 | /* Map IO space into PCI IO window: |
134 | * The IO window is 64K-PCIBIOS_MIN_IO in size | 134 | * IO addresses will be translated to the PCI IO window base address |
135 | * IO addresses will be translated to the | ||
136 | * PCI IO window base address | ||
137 | */ | 135 | */ |
138 | pr_debug("PCI: Mapping IO address 0x%x - 0x%x to base 0x%x\n", | 136 | pr_debug("PCI: Mapping IO address 0x%x - 0x%x to base 0x%x\n", |
139 | PCIBIOS_MIN_IO, (64 << 10), | 137 | chan->io_resource->start, chan->io_resource->end, |
140 | SH7780_PCI_IO_BASE + PCIBIOS_MIN_IO); | 138 | SH7780_PCI_IO_BASE + chan->io_resource->start); |
141 | 139 | ||
142 | /* NOTE: I'm ignoring the PCI error IRQs for now.. | 140 | /* NOTE: I'm ignoring the PCI error IRQs for now.. |
143 | * TODO: add support for the internal error interrupts and | 141 | * TODO: add support for the internal error interrupts and |