From 6c48e37379705763c340629fb759ead80fb3c4cf Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 10 Jun 2025 23:31:58 -0400 Subject: kernel: ahci: Fix issue of undetectable devices - Only check PxSCTL.SET within the port reset logic - Do not create device file for ATAPI devices (yet) Signed-off-by: Ian Moffett --- sys/include/dev/ic/ahciregs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/include') diff --git a/sys/include/dev/ic/ahciregs.h b/sys/include/dev/ic/ahciregs.h index 129ac76..232b41e 100644 --- a/sys/include/dev/ic/ahciregs.h +++ b/sys/include/dev/ic/ahciregs.h @@ -163,6 +163,8 @@ struct hba_memspace { #define AHCI_DIAG_T BIT(24) /* Transport state transition error */ #define AHCI_DIAG_F BIT(25) /* Unknown FIS type */ +#define ATAPI_SIG 0xEB140101 + /* * Device detection initialization values * See section 3.3.11 of the AHCI spec. -- cgit v1.2.3