projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66c1d7
)
sh: pci: Set the I/O port base to the SH7780 I/O window default.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 17 Apr 2009 08:00:27 +0000
(17:00 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 17 Apr 2009 08:00:27 +0000
(17:00 +0900)
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>
arch/sh/drivers/pci/pci-sh7780.c
patch
|
blob
|
history
diff --git
a/arch/sh/drivers/pci/pci-sh7780.c
b/arch/sh/drivers/pci/pci-sh7780.c
index fa73b0d158888432980b30191a5c86fc94c7fa55..207b7206fbdae201d6358656f2581ddda2efdbcb 100644
(file)
--- 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,
word = SH4_PCICR_PREFIX | SH4_PCICR_CFIN | SH4_PCICR_FTO;
pci_write_reg(chan, word, SH4_PCICR);
+ __set_io_port_base(SH7780_PCI_IO_BASE);
+
return 0;
}