Carl-Daniel Hailfinger wrote:
MMCONF_BASE_ADDRESS, EXT_CONF_BASE_ADDRESS and DEFAULT_PCIEXBAR have the same purpose.
We need exactly one variable for the base address and another one for the size of that area.
Yes.
Ideas about the name?
Counter-question. Does this apply to anything but PCI Express? HT? If it really is only PCI Express, then I like DEFAULT_PCIE_BAR or maybe DEFAULT_PCIE_BAR_BASE and _SIZE. If not only PCI Express then DEFAULT_EXT_BAR_BASE and _SIZE seems better.
//Peter