kristen.c.accardi@xxxxxxxxx wrote:
This patch expands the definition of link power management to
include the notion of simply powering the entire port off.
We add a new valid value for link_power_management_policy:
power_off: phy is not on at all.
min_power: driver uses minimum possible power. hotplug
may or may not be available.
medium_power: best power/performance tradeoff. hotplug
may or may not be available
max_performance: max performance without regard to power
hot plug is available.
Additionally - this patch modifies the libata-core to
power off the port automatically at init time if the
driver marks the port as not hotpluggable.
The user may not power off a port if it is occupied.
If the port is powered off, and a new drive is plugged
in, the drive will not be detected until the port is
powered back up by setting the link_power_management_policy
to "max_performance".
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@xxxxxxxxx>
---
drivers/ata/libata-core.c | 58 +++++++++++++++++++++++++++++++++++++++++++++-
drivers/ata/libata-scsi.c | 1
include/linux/libata.h | 2 +
3 files changed, 60 insertions(+), 1 deletion(-)
Looks good to me, ACK.
I'm apply soonish, unless there are other complaints.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html