diff options
author | Ian Moffett <ian@osmora.org> | 2025-02-20 10:22:17 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-02-20 10:22:17 -0500 |
commit | 059e77b4ff53704504db5ac3ccc8f4b7c5d9098b (patch) | |
tree | 9588eb89bd4912d2bce9cca786d32fbdb5ffa283 /sys | |
parent | 213cb06f5a95f2ca1b9e2f3886535f1f62a8171c (diff) |
kernel: ahci: Add AHCI spinwait timeout
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/include/dev/ic/ahcivar.h | 2 |
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_ */ |