Date: Wed, 29 Apr 2009 21:17:18 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ata ata-all.h ata-pci.c ata-sata.c src/sys/dev/ata/chipsets ata-ahci.c Message-ID: <200904292119.n3TLJRCb063988@repoman.freebsd.org>
index | next in thread | raw e-mail
mav 2009-04-29 21:17:18 UTC
FreeBSD src repository
Modified files:
sys/dev/ata ata-all.h ata-pci.c ata-sata.c
sys/dev/ata/chipsets ata-ahci.c
Log:
SVN rev 191674 on 2009-04-29 21:17:18Z by mav
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.
Revision Changes Path
1.143 +5 -1 src/sys/dev/ata/ata-all.h
1.144 +3 -0 src/sys/dev/ata/ata-pci.c
1.5 +3 -4 src/sys/dev/ata/ata-sata.c
1.24 +8 -6 src/sys/dev/ata/chipsets/ata-ahci.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904292119.n3TLJRCb063988>
