aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci-sb1250.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/pci-sb1250.c')
-rw-r--r--arch/mips/pci/pci-sb1250.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/mips/pci/pci-sb1250.c b/arch/mips/pci/pci-sb1250.c
index 42e4d2c800fa..bf639590b8b2 100644
--- a/arch/mips/pci/pci-sb1250.c
+++ b/arch/mips/pci/pci-sb1250.c
@@ -207,9 +207,9 @@ struct pci_controller sb1250_controller = {
207 207
208static int __init sb1250_pcibios_init(void) 208static int __init sb1250_pcibios_init(void)
209{ 209{
210 void __iomem *io_map_base;
210 uint32_t cmdreg; 211 uint32_t cmdreg;
211 uint64_t reg; 212 uint64_t reg;
212 extern int pci_probe_only;
213 213
214 /* CFE will assign PCI resources */ 214 /* CFE will assign PCI resources */
215 pci_probe_only = 1; 215 pci_probe_only = 1;
@@ -253,11 +253,9 @@ static int __init sb1250_pcibios_init(void)
253 * works correctly with most of Linux's drivers. 253 * works correctly with most of Linux's drivers.
254 * XXX ehs: Should this happen in PCI Device mode? 254 * XXX ehs: Should this happen in PCI Device mode?
255 */ 255 */
256 256 io_map_base = ioremap(A_PHYS_LDTPCI_IO_MATCH_BYTES, 1024 * 1024);
257 set_io_port_base((unsigned long) 257 sb1250_controller.io_map_base = io_map_base;
258 ioremap(A_PHYS_LDTPCI_IO_MATCH_BYTES, 65536)); 258 set_io_port_base((unsigned long)io_map_base);
259 isa_slot_offset = (unsigned long)
260 ioremap(A_PHYS_LDTPCI_IO_MATCH_BYTES_32, 1024 * 1024);
261 259
262#ifdef CONFIG_SIBYTE_HAS_LDT 260#ifdef CONFIG_SIBYTE_HAS_LDT
263 /* 261 /*