From: Gary Hade Date: Thu, 5 Jul 2007 18:10:46 +0000 (-0700) Subject: PCI: hotplug: acpiphp: fix slot poweroff problem on systems without _PS3 X-Git-Tag: v2.6.23-rc1~1106^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfceafc5979d9055e04f03f970de6ff7a4bce1b6;p=pandora-kernel.git PCI: hotplug: acpiphp: fix slot poweroff problem on systems without _PS3 On systems where the optional _PS3 ACPI object is not implemented acpiphp fails to power off the slot. This is happening because the current code does not attempt to remove power using the _EJ0 ACPI object. This patch restores the _EJ0 evaluation attempt which was apparently inadvertently removed from the power-off sequence when the _EJ0 evaluation code was relocated from power_off_slot() to acpiphp_eject_slot(). Signed-off-by: Gary Hade Cc: Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed