patch-2.3.20 linux/arch/ppc/kernel/pci.c

Next file: linux/arch/ppc/kernel/pmac_pic.c
Previous file: linux/arch/ppc/kernel/open_pic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.19/linux/arch/ppc/kernel/pci.c linux/arch/ppc/kernel/pci.c
@@ -1,5 +1,5 @@
 /*
- * $Id: pci.c,v 1.60 1999/09/08 03:04:07 cort Exp $
+ * $Id: pci.c,v 1.64 1999/09/17 18:01:53 cort Exp $
  * Common pmac/prep/chrp pci routines. -- Cort
  */
 
@@ -92,7 +92,7 @@
 				struct resource *pr;
 				if (!r->start)
 					continue;
-				pr = pci_find_parent_resource(dev, r);
+				pr = pci_find_parent_resource(dev, r, 0);
 				if (!pr || request_resource(pr, r) < 0)
 				{
 					printk(KERN_ERR "PCI: Address space collision on region %d of device %s\n", idx, dev->name);
@@ -117,7 +117,7 @@
 	return str;
 }
 
-#ifndef CONFIG_MBX
+#ifndef CONFIG_8xx
 /* Recursively searches any node that is of type PCI-PCI bridge. Without
  * this, the old code would miss children of P2P bridges and hence not
  * fix IRQ's for cards located behind P2P bridges.
@@ -141,8 +141,3 @@
 	}
 }
 #endif
-
-int pcibios_assign_resource(struct pci_dev *pdev, int resource)
-{
-	return 0;
-}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)