summaryrefslogtreecommitdiff
path: root/sys/include/dev/ic/ahcivar.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-05-26 01:49:45 -0400
committerIan Moffett <ian@osmora.org>2025-05-26 01:50:28 -0400
commit08d925bce8a18361655a56bf5b38d6f9e9134b8a (patch)
tree0d5f58926f6b935e5f75d3eee5c6da3c05498e52 /sys/include/dev/ic/ahcivar.h
parentd2ae9910bd6d5d4d2bd79cd2c835d6ca1a64364c (diff)
kernel: ahci: Detect max SATA sector count
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/ic/ahcivar.h')
-rw-r--r--sys/include/dev/ic/ahcivar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/dev/ic/ahcivar.h b/sys/include/dev/ic/ahcivar.h
index a23a654..67f2efe 100644
--- a/sys/include/dev/ic/ahcivar.h
+++ b/sys/include/dev/ic/ahcivar.h
@@ -96,6 +96,7 @@ struct ahci_hba {
* @io: Memory mapped port registers
* @hba: HBA descriptor
* @cmdlist: Command list [p]
+ * @nlba: Max number of addressable blocks
* @fra: FIS receive area [p]
* @dev: Device minor number.
*/
@@ -104,6 +105,7 @@ struct hba_device {
struct ahci_hba *hba;
struct ahci_cmd_hdr *cmdlist;
struct dcdr *dcdr;
+ uint32_t nlba;
void *fra;
dev_t dev;
};