projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cffb2fa
)
x86/PCI: don't bother with root quirks if _CRS is used
author
Yinghai Lu
<yinghai@kernel.org>
Tue, 21 Apr 2009 01:35:40 +0000
(18:35 -0700)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Wed, 22 Apr 2009 22:06:29 +0000
(15:06 -0700)
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>
arch/x86/pci/amd_bus.c
patch
|
blob
|
history
diff --git
a/arch/x86/pci/amd_bus.c
b/arch/x86/pci/amd_bus.c
index e121ee050f7cd68aef17fdd5ba2a189ea082dcf1..f893d6a6e803e266f3d36030f8744fecda130bf9 100644
(file)
--- a/
arch/x86/pci/amd_bus.c
+++ b/
arch/x86/pci/amd_bus.c
@@
-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;