diff options
Diffstat (limited to 'arch/x86/pci/amd_bus.c')
| -rw-r--r-- | arch/x86/pci/amd_bus.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/pci/amd_bus.c b/arch/x86/pci/amd_bus.c index f893d6a6e803..3ffa10df20b9 100644 --- a/arch/x86/pci/amd_bus.c +++ b/arch/x86/pci/amd_bus.c | |||
| @@ -100,8 +100,9 @@ void x86_pci_root_bus_res_quirks(struct pci_bus *b) | |||
| 100 | int j; | 100 | int j; |
| 101 | struct pci_root_info *info; | 101 | struct pci_root_info *info; |
| 102 | 102 | ||
| 103 | /* don't go for it if _CRS is used */ | 103 | /* don't go for it if _CRS is used already */ |
| 104 | if (pci_probe & PCI_USE__CRS) | 104 | if (b->resource[0] != &ioport_resource || |
| 105 | b->resource[1] != &iomem_resource) | ||
| 105 | return; | 106 | return; |
| 106 | 107 | ||
| 107 | /* if only one root bus, don't need to anything */ | 108 | /* if only one root bus, don't need to anything */ |
| @@ -116,6 +117,9 @@ void x86_pci_root_bus_res_quirks(struct pci_bus *b) | |||
| 116 | if (i == pci_root_num) | 117 | if (i == pci_root_num) |
| 117 | return; | 118 | return; |
| 118 | 119 | ||
| 120 | printk(KERN_DEBUG "PCI: peer root bus %02x res updated from pci conf\n", | ||
| 121 | b->number); | ||
| 122 | |||
| 119 | info = &pci_root_info[i]; | 123 | info = &pci_root_info[i]; |
| 120 | for (j = 0; j < info->res_num; j++) { | 124 | for (j = 0; j < info->res_num; j++) { |
| 121 | struct resource *res; | 125 | struct resource *res; |
