|
@@ -351,6 +351,8 @@ pci_acpi_scan_root(struct acpi_pci_root *root)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
INIT_LIST_HEAD(&info.resources);
|
|
INIT_LIST_HEAD(&info.resources);
|
|
|
|
+ /* insert busn resource at first */
|
|
|
|
+ pci_add_resource(&info.resources, &root->secondary);
|
|
acpi_walk_resources(device->handle, METHOD_NAME__CRS, count_window,
|
|
acpi_walk_resources(device->handle, METHOD_NAME__CRS, count_window,
|
|
&windows);
|
|
&windows);
|
|
if (windows) {
|
|
if (windows) {
|
|
@@ -384,7 +386,7 @@ pci_acpi_scan_root(struct acpi_pci_root *root)
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
|
|
|
|
- pbus->busn_res.end = pci_scan_child_bus(pbus);
|
|
|
|
|
|
+ pci_scan_child_bus(pbus);
|
|
return pbus;
|
|
return pbus;
|
|
|
|
|
|
out3:
|
|
out3:
|