From 561ad1494cad32243fa256af8acb755466ef12a7 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 21 Sep 2025 14:12:27 -0400 Subject: kern: ahci: Scan for implemented ports with PI reg Signed-off-by: Ian Moffett --- src/sys/include/io/ic/ahcivar.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/sys/include/io') diff --git a/src/sys/include/io/ic/ahcivar.h b/src/sys/include/io/ic/ahcivar.h index b045c9d..250630c 100644 --- a/src/sys/include/io/ic/ahcivar.h +++ b/src/sys/include/io/ic/ahcivar.h @@ -34,6 +34,12 @@ struct ahci_hba { volatile struct hba_memspace *io; + uint32_t pi; + uint32_t nport; +}; + +struct ahci_port { + volatile struct hba_port *io; }; #define AHCI_TIMEOUT 500 -- cgit v1.2.3