Replace repeated uses of magic number 0xffffffff with nice #define NVME_GONE.
authorkrw <krw@openbsd.org>
Mon, 27 May 2024 14:18:02 +0000 (14:18 +0000)
committerkrw <krw@openbsd.org>
Mon, 27 May 2024 14:18:02 +0000 (14:18 +0000)
commit1488c4e907c73726939e696985b47fa04529fe6e
tree59252d58c062d6d37cf7860994c55bb2979c2588
parent2c3b56a6cc786900b2dc11d7d69bea696e638d98
Replace repeated uses of magic number 0xffffffff with nice #define NVME_GONE.
Name taken from FreeBSD.

Add separate #define NVME_TIMO_PT for passthrough command poll timeout. Same
value as the currently reused NVME_TIMO_QOP.

No functional change.
sys/dev/ic/nvme.c