From e6e0bb0d435b3410d520baea60652af05cae8232 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 21 Sep 2025 16:53:03 -0400 Subject: kern: ahci: Only support 64-bit HBAs for now Abort if the host controller does not support 64-bit addressing Signed-off-by: Ian Moffett --- src/sys/include/io/ic/ahciregs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sys/include') diff --git a/src/sys/include/io/ic/ahciregs.h b/src/sys/include/io/ic/ahciregs.h index cb212ea..a62df04 100644 --- a/src/sys/include/io/ic/ahciregs.h +++ b/src/sys/include/io/ic/ahciregs.h @@ -134,6 +134,7 @@ struct hba_memspace { #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 */ +#define AHCI_CAP_S64A(CAP) ((CAP >> 31) & 1) /* Supports 64-bit addressing */ /* * Device detection (DET) and Interface power -- cgit v1.2.3