diff options
author | mav <mav@FreeBSD.org> | 2009-04-29 21:17:18 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-04-29 21:17:18 +0000 |
commit | 3dc3901e620940ba07bb79d79b198c33373f9f97 (patch) | |
tree | 1b163858d9c61d296281a1cd9a3977f00ed15967 /sys/kern/imgact_shell.c | |
parent | 453b86f943612b273e23c7de9941d00149802f15 (diff) | |
download | FreeBSD-src-3dc3901e620940ba07bb79d79b198c33373f9f97.zip FreeBSD-src-3dc3901e620940ba07bb79d79b198c33373f9f97.tar.gz |
Add experimental support for SATA interface power management.
Feature is controlled by hint.ata.X.pm_level tunable:
0 - PM disabled, old behaviour, default.
1 - device is allowed to initiate PM state change, host is passive.
2 - host initiates PARTIAL state transition every time port is idle.
3 - host initiates SLUMBER state transition every time port is idle.
PARTIAL state has up to 100us (50us for me) wakeup latency, but for my
ICH8M saves 0.5W of power per drive. SLUMBER state has up to 10ms (3.5ms
for me) wakeup latency, but saves 0.8W of power.
Modes 2 and 3 are implemented only for AHCI driver now.
Interface power management is incompatible with device presence detection
(host receives no signal from drive, so unable to monitor it), so later is
disabled when PM is used.
Diffstat (limited to 'sys/kern/imgact_shell.c')
0 files changed, 0 insertions, 0 deletions