]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r324978: Report only the valid slots in the firmware log page.
authormav <mav@FreeBSD.org>
Thu, 1 Feb 2018 21:14:54 +0000 (21:14 +0000)
committermav <mav@FreeBSD.org>
Thu, 1 Feb 2018 21:14:54 +0000 (21:14 +0000)
commitd43541b00cec60eaaf38b8ecb6da02dc6ccf1204
treec3710d17e3834483ac70e5a62ce782a50e9e26fd
parent1756784674f633db19d33a466608043903fbafc4
MFC r324978: 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)
sbin/nvmecontrol/logpage.c