diff mbox

[1/2] pci: release that leaf bridge' resource that is not big -v11

Message ID 4B0F854C.4010902@kernel.org (mailing list archive)
State RFC, archived
Headers show

Commit Message

Yinghai Lu Nov. 27, 2009, 7:52 a.m. UTC
None
diff mbox

Patch

Index: linux-2.6/drivers/pci/setup-bus.c
===================================================================
--- linux-2.6.orig/drivers/pci/setup-bus.c
+++ linux-2.6/drivers/pci/setup-bus.c
@@ -918,8 +918,7 @@  static void pci_bus_dump_resources(struc
  * second try will clear small leaf bridge res
  * third try will clear related bridge: some aggressive
  */
-/* assume we only have 4 level bridges, so only try 5 times */
-int pci_try_num = 5;
+int pci_try_num = 1;
 void __init
 pci_assign_unassigned_resources(void)
 {