|
@@ -96,6 +96,7 @@ EXPORT_SYMBOL(pcibios_align_resource);
|
|
* the fact the PCI specs explicitly allow address decoders to be
|
|
* the fact the PCI specs explicitly allow address decoders to be
|
|
* shared between expansion ROMs and other resource regions, it's
|
|
* shared between expansion ROMs and other resource regions, it's
|
|
* at least dangerous)
|
|
* at least dangerous)
|
|
|
|
+ * - bad resource sizes or overlaps with other regions
|
|
*
|
|
*
|
|
* Our solution:
|
|
* Our solution:
|
|
* (1) Allocate resources for all buses behind PCI-to-PCI bridges.
|
|
* (1) Allocate resources for all buses behind PCI-to-PCI bridges.
|
|
@@ -136,6 +137,7 @@ static void __init pcibios_allocate_bus_resources(struct list_head *bus_list)
|
|
* child resource allocations in this
|
|
* child resource allocations in this
|
|
* range.
|
|
* range.
|
|
*/
|
|
*/
|
|
|
|
+ r->start = r->end = 0;
|
|
r->flags = 0;
|
|
r->flags = 0;
|
|
}
|
|
}
|
|
}
|
|
}
|