git: acpi/pcib: If bus does not present, give other bus drivers chance
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sun Apr 17 04:45:04 PDT 2011
commit 2c61a93fa6fa30927436688cd4c9ea56d22fabdf
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Sun Apr 17 18:58:26 2011 +0800
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@
Summary of changes:
sys/dev/acpica5/acpi_pcib.c | 31 +++++++++++++++++++++++--------
sys/dev/acpica5/acpi_pcib_acpi.c | 10 +++++++---
sys/dev/acpica5/acpi_pcib_pci.c | 11 ++++++-----
sys/dev/acpica5/acpi_pcibvar.h | 1 +
4 files changed, 37 insertions(+), 16 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2c61a93fa6fa30927436688cd4c9ea56d22fabdf
--
DragonFly BSD source repository
More information about the Commits
mailing list