summaryrefslogtreecommitdiff
path: root/sys/include/dev/ic/ahciregs.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-05-09 22:13:41 -0400
committerIan Moffett <ian@osmora.org>2025-05-09 22:13:41 -0400
commit310af38f1324c57ef5a072b27c91110cd4ec4a3a (patch)
tree9508479ab8ec7fd6ccdc5e869e17cfdabff414c3 /sys/include/dev/ic/ahciregs.h
parent260316209d0c3b781d1ae483372958434da70689 (diff)
kernel: ahci: Detect staggered spin up
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/ic/ahciregs.h')
-rw-r--r--sys/include/dev/ic/ahciregs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/dev/ic/ahciregs.h b/sys/include/dev/ic/ahciregs.h
index 2f2fa84..f73e587 100644
--- a/sys/include/dev/ic/ahciregs.h
+++ b/sys/include/dev/ic/ahciregs.h
@@ -126,6 +126,7 @@ struct hba_memspace {
#define AHCI_CAP_NCS(CAP) ((CAP >> 8) & 0x1F) /* Number of command slots */
#define AHCI_CAP_EMS(CAP) ((CAP >> 6) & 1) /* Enclosure management support */
#define AHCI_CAP_SAL(CAP) ((CAP >> 25) & 1) /* Supports activity LED */
+#define AHCI_CAP_SSS(CAP) ((CAP >> 27) & 1) /* Supports staggered spin up */
/*
* Device detection (DET) and Interface power