]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
x86/PCI: don't bother with root quirks if _CRS is used
authorYinghai Lu <yinghai@kernel.org>
Tue, 21 Apr 2009 01:35:40 +0000 (18:35 -0700)
committerJesse 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

index e121ee050f7cd68aef17fdd5ba2a189ea082dcf1..f893d6a6e803e266f3d36030f8744fecda130bf9 100644 (file)
@@ -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;