need to be applied after gregkh-pci-pci-make-pci-extended-config-space-a-driver-opt-in.patch x86_64-set-cfg_size-for-amd-family-10h-in-case-mmconfig-is-used.patch
[PATCH] x86_64: AMD Family 10h enable ext config in quirk because of changes of gregkh-pci-pci-make-pci-extended-config-space-a-driver-opt-in.patch need to call pci_enable_ext_config to enable mmconfig before set right cfg_size even MCFG is there Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> --- a/arch/x86/pci/fixup.c 2008-01-22 00:54:38.000000000 -0800 +++ b/arch/x86/pci/fixup.c 2008-01-22 00:55:06.000000000 -0800 @@ -498,10 +498,12 @@ * access it. Maybe we don't have a way to generate extended config space * accesses. So check it */ -static void fam10h_pci_cfg_space_size(struct pci_dev *dev) +static void fam10h_enable_pci_ext_cfg(struct pci_dev *dev) { + pci_enable_ext_config(dev); + /* recheck cfg_size without pcie_pcix checking */ dev->cfg_size = pci_cfg_space_size_ext(dev, 0); } DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, PCI_ANY_ID, - fam10h_pci_cfg_space_size); + fam10h_enable_pci_ext_cfg); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/