From 059e77b4ff53704504db5ac3ccc8f4b7c5d9098b Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 20 Feb 2025 10:22:17 -0500 Subject: kernel: ahci: Add AHCI spinwait timeout Signed-off-by: Ian Moffett --- sys/include/dev/ic/ahcivar.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/include/dev/ic') diff --git a/sys/include/dev/ic/ahcivar.h b/sys/include/dev/ic/ahcivar.h index 1efea70..0d307cd 100644 --- a/sys/include/dev/ic/ahcivar.h +++ b/sys/include/dev/ic/ahcivar.h @@ -36,4 +36,6 @@ struct ahci_hba { struct hba_memspace *io; }; +#define AHCI_TIMEOUT 500 /* In ms */ + #endif /* !_IC_AHCIVAR_H_ */ -- cgit v1.2.3