acpi/pcib: If bus does not present, give other bus drivers chance
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 17 Apr 2011 10:58:26 +0000 (18:58 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 17 Apr 2011 10:58:26 +0000 (18:58 +0800)
commit2c61a93fa6fa30927436688cd4c9ea56d22fabdf
tree058a9a6f9e09ba9dfd4d724417128078f5f1b841
parentad65f9668e5e9b2ca1f423ab3e19d9d442e511e3
acpi/pcib: If bus does not present, give other bus drivers chance

- Call acpi_DeviceIsPresent() during probing, so that if bus does not
  present other bus drivers could have chance to take over the bus.
- In acpi_pcib_attach(), assert that bus is present, since the presence
  of the bus is checked during probing.

Reported-by: swildner@
sys/dev/acpica5/acpi_pcib.c
sys/dev/acpica5/acpi_pcib_acpi.c
sys/dev/acpica5/acpi_pcib_pci.c
sys/dev/acpica5/acpi_pcibvar.h