]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI : Load device driver according to the status of acpi device
authorZhao Yakui <yakui.zhao@intel.com>
Mon, 11 Aug 2008 05:40:22 +0000 (13:40 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Nov 2008 22:54:49 +0000 (14:54 -0800)
commitc56d539ed9fdc100e03888bf1b6b52faa3e9b521
tree073a1c265a0117d16d3d5fafc118349eced68f03
parent65347ce15fb47f3aa58107be55ec00fa6f1eda22
ACPI : Load device driver according to the status of acpi device

commit 39a0ad871000d2a016a4fa113a6e53d22aabf25d upstream.

According to ACPI spec when the status of some device is not present
but functional, the device is valid and the children of this device
should be enumerated. It means that the device should be added to
linux acpi device tree. But the device driver for this device should not
be loaded.
    The detailed info can be found in the section 6.3.7 of ACPI 3.0b spec.
    _STA may return bit 0 clear (not present) with bit 3 set (device is
functional). This case is used to indicate a valid device for which no
device driver should be loaded (for example, a bridge device.).
Children of this device may be present and valid. OS should continue
enumeration below a device whose _STA returns this bit combination

http://bugzilla.kernel.org/show_bug.cgi?id=3358

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Li Shaohua <shaohua.li@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Cc: Holger Macht <hmacht@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/bus.c
drivers/acpi/scan.c
drivers/pnp/pnpacpi/core.c