Commit ef5eb14d authored by Deepak Saxena's avatar Deepak Saxena

Merge

parents 6fc4adc6 8e752dd7
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include <asm/mach/pci.h> #include <asm/mach/pci.h>
static int debug_pci; static int debug_pci;
static int use_firmware;
/* /*
* We can't use pci_find_device() here since we are * We can't use pci_find_device() here since we are
...@@ -596,15 +597,17 @@ void __init pci_common_init(struct hw_pci *hw) ...@@ -596,15 +597,17 @@ void __init pci_common_init(struct hw_pci *hw)
list_for_each_entry(sys, &hw->buses, node) { list_for_each_entry(sys, &hw->buses, node) {
struct pci_bus *bus = sys->bus; struct pci_bus *bus = sys->bus;
/* if (!use_firmware) {
* Size the bridge windows. /*
*/ * Size the bridge windows.
pci_bus_size_bridges(bus); */
pci_bus_size_bridges(bus);
/* /*
* Assign resources. * Assign resources.
*/ */
pci_bus_assign_resources(bus); pci_bus_assign_resources(bus);
}
/* /*
* Tell drivers about devices found. * Tell drivers about devices found.
...@@ -618,6 +621,9 @@ char * __init pcibios_setup(char *str) ...@@ -618,6 +621,9 @@ char * __init pcibios_setup(char *str)
if (!strcmp(str, "debug")) { if (!strcmp(str, "debug")) {
debug_pci = 1; debug_pci = 1;
return NULL; return NULL;
} else if (!strcmp, "firmware") {
use_firmware = 1;
return NULL;
} }
return str; return str;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment