--- //depot/vendor/freebsd/src/sys/amd64/pci/pci_cfgreg.c 2008/09/11 21:45:15 +++ //depot/user/jhb/acpipci/amd64/pci/pci_cfgreg.c 2009/03/23 16:02:11 @@ -119,6 +119,7 @@ { if (cfgmech == CFGMECH_PCIE && + (bus >= pcie_minbus && bus <= pcie_maxbus) && (bus != 0 || !(1 << slot & pcie_badslots))) return (pciereg_cfgread(bus, slot, func, reg, bytes)); else @@ -158,6 +159,7 @@ { if (cfgmech == CFGMECH_PCIE && + (bus >= pcie_minbus && bus <= pcie_maxbus) && (bus != 0 || !(1 << slot & pcie_badslots))) pciereg_cfgwrite(bus, slot, func, reg, data, bytes); else --- //depot/vendor/freebsd/src/sys/i386/pci/pci_cfgreg.c 2008/09/11 21:45:15 +++ //depot/user/jhb/acpipci/i386/pci/pci_cfgreg.c 2009/03/23 16:02:11 @@ -206,6 +207,7 @@ { if (cfgmech == CFGMECH_PCIE && + (bus >= pcie_minbus && bus <= pcie_maxbus) && (bus != 0 || !(1 << slot & pcie_badslots))) return (pciereg_cfgread(bus, slot, func, reg, bytes)); else @@ -240,6 +242,7 @@ { if (cfgmech == CFGMECH_PCIE && + (bus >= pcie_minbus && bus <= pcie_maxbus) && (bus != 0 || !(1 << slot & pcie_badslots))) pciereg_cfgwrite(bus, slot, func, reg, data, bytes); else