diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-10 23:31:58 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-10 23:35:24 -0400 |
commit | 6c48e37379705763c340629fb759ead80fb3c4cf (patch) | |
tree | 55f987cef3887ce394e1cf0de81b720553dab00a /sys/include | |
parent | c3fe4c4c4dfb662e65299669147a904585eb5aca (diff) |
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 <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/dev/ic/ahciregs.h | 2 |
1 files changed, 2 insertions, 0 deletions
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. |