diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-04-17 04:00:27 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-17 04:00:27 -0400 |
commit | f1dcab756687622b658154ded1657538984edcdb (patch) | |
tree | bf014b5d57be91f32bf1338113751b3f30bc2fe2 /arch/sh/drivers | |
parent | c66c1d79a94a7a302e2dc6c93da40902423eac3e (diff) |
sh: pci: Set the I/O port base to the SH7780 I/O window default.
Presently the I/O port base isn't being set anywhere, which allows things
like generic_inl() to blow up. Fix this up to point at the PCI IO window.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers')
-rw-r--r-- | arch/sh/drivers/pci/pci-sh7780.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/drivers/pci/pci-sh7780.c b/arch/sh/drivers/pci/pci-sh7780.c index fa73b0d15888..207b7206fbda 100644 --- a/arch/sh/drivers/pci/pci-sh7780.c +++ b/arch/sh/drivers/pci/pci-sh7780.c | |||
@@ -112,5 +112,7 @@ int __init sh7780_pcic_init(struct pci_channel *chan, | |||
112 | word = SH4_PCICR_PREFIX | SH4_PCICR_CFIN | SH4_PCICR_FTO; | 112 | word = SH4_PCICR_PREFIX | SH4_PCICR_CFIN | SH4_PCICR_FTO; |
113 | pci_write_reg(chan, word, SH4_PCICR); | 113 | pci_write_reg(chan, word, SH4_PCICR); |
114 | 114 | ||
115 | __set_io_port_base(SH7780_PCI_IO_BASE); | ||
116 | |||
115 | return 0; | 117 | return 0; |
116 | } | 118 | } |