On Sat, 24 Sep 2022 11:24:01 +0200, Pali Rohár wrote: > PCI controllers and lot of non-ECAM compliant PCIe controllers still use > Intel PCI Configuration Mechanism #1 for accessing PCI config space. > > Native PCIe controller drivers invents its own macros which implements > config space address calculation and in lof of cases it is just > duplication of the same code. > > [...] Applied to pci/misc, thanks! [1/3] PCI: Add standard PCI Config Address macros https://git.kernel.org/lpieralisi/pci/c/8a9b7ef74369 [2/3] PCI: ftpci100: Use PCI_CONF1_ADDRESS() macro https://git.kernel.org/lpieralisi/pci/c/f75a27dc6c07 [3/3] PCI: mt7621: Use PCI_CONF1_EXT_ADDRESS() macro https://git.kernel.org/lpieralisi/pci/c/2301a3e1a566 Thanks, Lorenzo