aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-02-20 10:22:17 -0500
committerIan Moffett <ian@osmora.org>2025-02-20 10:22:17 -0500
commit059e77b4ff53704504db5ac3ccc8f4b7c5d9098b (patch)
tree9588eb89bd4912d2bce9cca786d32fbdb5ffa283
parent213cb06f5a95f2ca1b9e2f3886535f1f62a8171c (diff)
kernel: ahci: Add AHCI spinwait timeout
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/include/dev/ic/ahcivar.h2
1 files changed, 2 insertions, 0 deletions
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_ */