[PATCH] Fill in bridge resources

From: Matthew Wilcox <willy_at_debian.org>
Date: 2004-03-19 03:51:43
We need to call pci_read_bridge_bases() in pcibios_fixup_bus() otherwise
the bridge resources don't get filled in.  This is a dependency for a
bugfix that will be going in through the pci hotplug people.

Index: arch/ia64/pci/pci.c
===================================================================
RCS file: /var/cvs/linux-2.6/arch/ia64/pci/pci.c,v
retrieving revision 1.7
diff -u -p -r1.7 pci.c
--- a/arch/ia64/pci/pci.c	16 Mar 2004 15:39:51 -0000	1.7
+++ b/arch/ia64/pci/pci.c	18 Mar 2004 16:48:23 -0000
@@ -380,8 +379,7 @@ pcibios_fixup_bus (struct pci_bus *b)
 
 	for (ln = b->devices.next; ln != &b->devices; ln = ln->next)
 		pcibios_fixup_device_resources(pci_dev_b(ln), b);
-
-	return;
+	pci_read_bridge_bases(b);
 }
 
 void __devinit

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Mar 18 11:58:33 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:24 EST