]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Report only the valid slots in the firmware log page.
authorimp <imp@FreeBSD.org>
Wed, 25 Oct 2017 15:26:03 +0000 (15:26 +0000)
committerimp <imp@FreeBSD.org>
Wed, 25 Oct 2017 15:26:03 +0000 (15:26 +0000)
commitecad90217692ee9cff9708d12df07b10d263d28c
tree60b0521bd3851da45909509f0fcb6c5c64d0f4c5
parent5377ad35587142414a185616c22d1e616fac5250
Report only the valid slots in the firmware log page.

Printing the entire log page is causing confusion over available
slots. Report only those slots that are valid. In the case where the
firmware download isn't supported, assume that only the first slot is
valid (I have no hardware to test this assumption though)

Sponsored by: Netflix
sbin/nvmecontrol/logpage.c