diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-08 02:03:07 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-08 02:03:07 -0400 |
commit | e6ea8b94bf9fbf4e0715d2d723fa978975c5bc5b (patch) | |
tree | bf93338380079375caa8ad304e74a62208527d41 /sys/include/dev | |
parent | 35cdb5152c51ac2bb240421e79cff1496ff94d94 (diff) |
kernel: ahci: Initialize each HBA port
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev')
-rw-r--r-- | sys/include/dev/ic/ahcivar.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/include/dev/ic/ahcivar.h b/sys/include/dev/ic/ahcivar.h index 1d8fbe9..98fdf81 100644 --- a/sys/include/dev/ic/ahcivar.h +++ b/sys/include/dev/ic/ahcivar.h @@ -34,6 +34,8 @@ #include <sys/types.h> #include <dev/ic/ahciregs.h> +struct ahci_cmd_hdr; + /* * AHCI Host Bus Adapter * @@ -56,13 +58,20 @@ struct ahci_hba { /* * A device attached to a physical HBA port. * + * [d]: Dynalloc'd memory + * [p]: Paged memory (allocated pageframe) + * * @io: Memory mapped port registers * @hba: HBA descriptor + * @cmdlist: Command list [p] + * @fra: FIS receive area [p] * @dev: Device minor number. */ struct hba_device { struct hba_port *io; struct ahci_hba *hba; + struct ahci_cmd_hdr *cmdlist; + void *fra; dev_t dev; }; |