git: ahci: Add some DevSleep defintions. Recognize DevSleep link state.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Fri Apr 22 13:59:41 PDT 2016
commit d90e4fd11dfe04d50a912628b090cd5d02cdea2d
Author: Imre Vadász <imre at vdsz.com>
Date: Sun Aug 2 12:30:28 2015 +0200
ahci: Add some DevSleep defintions. Recognize DevSleep link state.
* Add the AHCI_PREG_SSTS_IPM_DEVSLEEP definition, and recognize
the DevSleep power-state via the dev.ahci.X.Y.link_pwr_state sysctl.
* Use AHCI_PREG_SSTS_* definitions in ahci_port_link_pwr_state(), instead
of SATA_PM_SSTS_* ones.
* Add CAP2 bits for DevSleep.
* Add DEVSLP register definitions.
Summary of changes:
sys/dev/disk/ahci/ahci.c | 10 ++++++----
sys/dev/disk/ahci/ahci.h | 11 ++++++++++-
sys/dev/disk/ahci/ahci_dragonfly.c | 3 ++-
3 files changed, 18 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d90e4fd11dfe04d50a912628b090cd5d02cdea2d
--
DragonFly BSD source repository
More information about the Commits
mailing list