]> git.baikalelectronics.ru Git - kernel.git/commit
libata: Power off empty ports
authorKristen Carlson Accardi <kristen@linux.intel.com>
Fri, 4 Mar 2011 18:24:11 +0000 (10:24 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 20 May 2011 00:50:53 +0000 (20:50 -0400)
commit434871f2193d4197852d8dfa6ddae61920396fb3
treef8f08be7a284d195f30a8b2e6fc63b714e4f7f21
parent3ec7f2753e8d0c7d9fe3e82f45da0ce0ffefef6c
libata: Power off empty ports

Give users the option of completely powering off unoccupied
SATA ports using the existing min_power link_power_management_policy
option.  When the use selects this option on an empty port, we
will power the port off by setting DET to off.  For occupied ports,
behavior is unchanged.

Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
include/linux/libata.h