Skip to content

Commit

Permalink
x86/PCI: don't bother with root quirks if _CRS is used
Browse files Browse the repository at this point in the history
It will be overwriten later if _CRS is used, so don't bother to set it.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
  • Loading branch information
Yinghai Lu authored and Jesse Barnes committed Apr 22, 2009
1 parent cffb2fa commit b10ceb5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/x86/pci/amd_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ void x86_pci_root_bus_res_quirks(struct pci_bus *b)
int j;
struct pci_root_info *info;

/* don't go for it if _CRS is used */
if (pci_probe & PCI_USE__CRS)
return;

/* if only one root bus, don't need to anything */
if (pci_root_num < 2)
return;
Expand Down

0 comments on commit b10ceb5

Please sign in to comment.