]> err.no Git - linux-2.6/commit
[PATCH] acpi hotplug: decouple slot power state changes from physical hotplug
authorRajesh Shah <rajesh.shah@intel.com>
Thu, 28 Apr 2005 07:25:57 +0000 (00:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2005 04:52:43 +0000 (21:52 -0700)
commit8d50e332c8bd4f4e8cc76e8ed7326aa6f18182aa
treedd9caa96f0b5d5bff3d4fccc4be410c4ecad03aa
parent8e7561cfbdf00fb1cee694cef0e825d0548aedbc
[PATCH] acpi hotplug: decouple slot power state changes from physical hotplug

Current acpiphp code does not distinguish between the physical presence and
power state of a device/slot.  That is, if a device has to be disabled, it
also tries to physically ejects the device.  This patch decouples power state
from physical presence.  You can now echo to the corresponding sysfs power
control file to repeatedly enable and disable a device without having to
physically re-insert it.

Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/acpiphp_glue.c