summaryrefslogtreecommitdiff
path: root/sys/include/dev/ic
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/dev/ic')
-rw-r--r--sys/include/dev/ic/ahciregs.h1
-rw-r--r--sys/include/dev/ic/ahcivar.h2
2 files changed, 3 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
diff --git a/sys/include/dev/ic/ahcivar.h b/sys/include/dev/ic/ahcivar.h
index 4b6cf12..dc4e492 100644
--- a/sys/include/dev/ic/ahcivar.h
+++ b/sys/include/dev/ic/ahcivar.h
@@ -45,6 +45,7 @@ struct ahci_cmd_hdr;
* @nslots: Number of command slots
* @ems: Enclosure management support
* @sal: Supports activity LED
+ * @sss: Supports staggered spin up
*/
struct ahci_hba {
struct hba_memspace *io;
@@ -53,6 +54,7 @@ struct ahci_hba {
uint32_t nslots;
uint8_t ems : 1;
uint8_t sal : 1;
+ uint8_t sss : 1;
};
/*