Add sensors based on information in the SMART/health log page,
authorjmatthew <jmatthew@openbsd.org>
Fri, 13 Sep 2024 09:57:34 +0000 (09:57 +0000)
committerjmatthew <jmatthew@openbsd.org>
Fri, 13 Sep 2024 09:57:34 +0000 (09:57 +0000)
commit3800fc3581d8812fd1c522b2a75e85fb3d9ce5db
tree8682ff65cc00c1e9b2e3c18051154781758b62f1
parent17ca662f6c9e925258594275540eb4d34a97ecda
Add sensors based on information in the SMART/health log page,
showing overall device health and temperature.

tested by many (a while ago)
tweaks from gkoehler@ kettenis@ dv@
ok kettenis@ jca@ (earlier version), dlg@
sys/dev/ic/nvme.c
sys/dev/ic/nvmereg.h
sys/dev/ic/nvmevar.h