Skip to contentSkip to conversation

Fill in bridge resources

PATCH New Matthew Wilcox 1 participant 1 message Mar 18, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fill in bridge resources

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

arch/ia64/pci/pci.c +1 -2
diff -u -p -r1.7 pci.c
@@ -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
Signature · 6 lines
"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