diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-06-19 09:37:31 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-19 09:37:31 +0200 |
commit | d819c49da624e3ee09b2844603d58265039eecdd (patch) | |
tree | 09a503b98769767d81337ec8e5c14c60874a4e77 /arch/mips/pci/pci-sb1250.c | |
parent | f18f982abf183e91f435990d337164c7a43d1e6d (diff) | |
parent | 9bedbcb207ed9a571b239231d99c8fd4a34ae24d (diff) | |
download | kernel_samsung_aries-d819c49da624e3ee09b2844603d58265039eecdd.zip kernel_samsung_aries-d819c49da624e3ee09b2844603d58265039eecdd.tar.gz kernel_samsung_aries-d819c49da624e3ee09b2844603d58265039eecdd.tar.bz2 |
Merge branch 'linus' into sched/urgent
Diffstat (limited to 'arch/mips/pci/pci-sb1250.c')
-rw-r--r-- | arch/mips/pci/pci-sb1250.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/mips/pci/pci-sb1250.c b/arch/mips/pci/pci-sb1250.c index 42e4d2c..2a09ad9 100644 --- a/arch/mips/pci/pci-sb1250.c +++ b/arch/mips/pci/pci-sb1250.c @@ -207,6 +207,7 @@ struct pci_controller sb1250_controller = { static int __init sb1250_pcibios_init(void) { + void __iomem *io_map_base; uint32_t cmdreg; uint64_t reg; extern int pci_probe_only; @@ -253,12 +254,13 @@ static int __init sb1250_pcibios_init(void) * works correctly with most of Linux's drivers. * XXX ehs: Should this happen in PCI Device mode? */ - - set_io_port_base((unsigned long) - ioremap(A_PHYS_LDTPCI_IO_MATCH_BYTES, 65536)); isa_slot_offset = (unsigned long) ioremap(A_PHYS_LDTPCI_IO_MATCH_BYTES_32, 1024 * 1024); + io_map_base = ioremap(A_PHYS_LDTPCI_IO_MATCH_BYTES, 1024 * 1024); + sb1250_controller.io_map_base = io_map_base; + set_io_port_base((unsigned long)io_map_base); + #ifdef CONFIG_SIBYTE_HAS_LDT /* * Also check the LDT bridge's enable, just in case we didn't |