]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 252576:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 17 Jul 2013 14:04:18 +0000 (14:04 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 17 Jul 2013 14:04:18 +0000 (14:04 +0000)
commite993beffc73d42c901f7b51eab6ae6658673afe5
treedb593dc350aa3f5c2f9263f5e13c3468949cf50d
parent9cf65c51a89f276c4a3ed860347271667853a6b6
MFC 252576:
Don't perform the acpi_DeviceIsPresent() check for PCI-PCI bridges.  If
we are probing a PCI-PCI bridge it is because we found one by enumerating
the devices on a PCI bus, so the bridge is definitely present.  A few
BIOSes report incorrect status (_STA) for some bridges that claimed they
were not present when in fact they were.

While here, move this check earlier for Host-PCI bridges so attach fails
before doing any work that needs to be torn down.

PR: kern/91594
Approved by: re (marius)

git-svn-id: svn://svn.freebsd.org/base/stable/9@253426 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/acpica/acpi_pcib.c
sys/dev/acpica/acpi_pcib_acpi.c