Index: arch/mips/pci/pci.c =================================================================== RCS file: /home/cvs/linux/arch/mips/pci/pci.c,v retrieving revision 1.30 diff -u -p -r1.30 pci.c --- arch/mips/pci/pci.c 16 Dec 2004 12:55:01 -0000 1.30 +++ arch/mips/pci/pci.c 8 Jul 2005 09:17:59 -0000 @@ -20,11 +20,19 @@ * Make this long-lived so that we know when shutting down * whether we probed only or not. */ -int pci_probe_only; +#ifdef CONFIG_SGI_IP27 +int pci_probe_only = 1; +#else +int pci_probe_only; +#endif #define PCI_ASSIGN_ALL_BUSSES 1 -unsigned int pci_probe = PCI_ASSIGN_ALL_BUSSES; +#ifdef CONFIG_SGI_IP27 +unsigned int pci_probe; +#else +unsigned int pci_probe = PCI_ASSIGN_ALL_BUSSES; +#endif /* * The PCI controller list. @@ -131,10 +131,12 @@ static int __init pcibios_init(void) if(hose->pre_scan(hose) < 0) goto out; +#ifndef CONFIG_SGI_IP27 if (request_resource(&iomem_resource, hose->mem_resource) < 0) goto out; if (request_resource(&ioport_resource, hose->io_resource) < 0) goto out_free_mem_resource; +#endif if (!hose->iommu) PCI_DMA_BUS_IS_PHYS = 1;