]> git.baikalelectronics.ru Git - kernel.git/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)
commitc43347d8eb6e57fc7efcbd2704cc902157972bc4
treedd9caa96f0b5d5bff3d4fccc4be410c4ecad03aa
parent0d45a22b4367510c857618900e29cb6520612da2
[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