git: ahci - Properly check and set SATA capabilities and features for ALPM.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Tue Dec 9 10:56:34 PST 2025


commit d41d1a09426a4611e71e6565641f34d0ffc1cc4d
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Dec 6 21:53:05 2025 +0100

    ahci - Properly check and set SATA capabilities and features for ALPM.
    
    - This should now only enable device-initiated and/or host-initiated link
      power-management when it is supported by both controller and disk device.
    
    - Also this now allows for device-initiated power-management to be enabled
      with AHCI controllers that don't support automatic host-initiated
      power-management.
    
    - In addition, this adds support for automatic promotion of "partial" state
      to "slumber" state (i.e. without needing to go through "active" state).
    
    - The kernel console output now explicitly tells when it's enabling DIPM
      (device-initiated power management) and HIPM (host-initiated power
      management) respectively.

Summary of changes:
 share/man/man4/ahci.4              |  10 +++-
 sys/dev/disk/ahci/ahci.c           | 119 +++++++++++++++++++++++++++++++------
 sys/dev/disk/ahci/ahci_dragonfly.c |  13 ++--
 sys/dev/disk/ahci/atascsi.h        |  10 +++-
 4 files changed, 122 insertions(+), 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d41d1a09426a4611e71e6565641f34d0ffc1cc4d


-- 
DragonFly BSD source repository


More information about the Commits mailing list