diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-14 20:07:48 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-14 20:07:48 -0400 |
commit | 6a0c08f51e59328d9a158bb521b1f1cf57663962 (patch) | |
tree | 44a51ce4ef501a9905042d249c9f71e11aec7711 /src/sys/include/io/ic | |
parent | 3d90d40225f2934a0c3edba9ebcea5a6899bcdc7 (diff) |
kern: ahci: Don't hardcode block sizes
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/io/ic')
-rw-r--r-- | src/sys/include/io/ic/ahcivar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/include/io/ic/ahcivar.h b/src/sys/include/io/ic/ahcivar.h index ed6bee2..823f419 100644 --- a/src/sys/include/io/ic/ahcivar.h +++ b/src/sys/include/io/ic/ahcivar.h @@ -60,6 +60,7 @@ struct ahci_hba { * @cmdlist: Command list base * @fis_rx: FIS recieve area * @portno: Port number + * @bsize: Block size (in bytes) */ struct ahci_port { volatile struct ahci_hba *parent; @@ -67,6 +68,7 @@ struct ahci_port { dma_addr_t cmdlist; dma_addr_t fis_rx; uint32_t portno; + uint16_t bsize; TAILQ_ENTRY(ahci_port) link; }; |