From 35cdb5152c51ac2bb240421e79cff1496ff94d94 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 8 May 2025 02:01:32 -0400 Subject: kernel: ahci: Split CLB/FB into lower/upper bits Signed-off-by: Ian Moffett --- sys/include/dev/ic/ahciregs.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/include/dev/ic/ahciregs.h') diff --git a/sys/include/dev/ic/ahciregs.h b/sys/include/dev/ic/ahciregs.h index 973c761..2f2fa84 100644 --- a/sys/include/dev/ic/ahciregs.h +++ b/sys/include/dev/ic/ahciregs.h @@ -34,8 +34,10 @@ #include struct hba_port { - volatile uint64_t clb; /* Command list base (1k-byte aligned) */ - volatile uint64_t fb; /* FIS base (256-byte aligned) */ + volatile uint32_t clb; /* Command list base low (1k-byte aligned) */ + volatile uint32_t clbu; /* Command list base upper */ + volatile uint32_t fb; /* FIS base (256-byte aligned) */ + volatile uint32_t fbu; /* FIS base upper */ volatile uint32_t is; /* Interrupt status */ volatile uint32_t ie; /* Interrupt enable */ volatile uint32_t cmd; /* Command and status */ -- cgit v1.2.3