]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add an nvme_function structure array, defining the name, C function and
authorjimharris <jimharris@FreeBSD.org>
Wed, 26 Jun 2013 23:11:20 +0000 (23:11 +0000)
committerjimharris <jimharris@FreeBSD.org>
Wed, 26 Jun 2013 23:11:20 +0000 (23:11 +0000)
commit57728d033757510c81668f7054bc1ccc5945933e
tree00bbcb9f49d7b842ba297eb80c53dfdd86562f59
parent80f07df07fecb98013650d346f36fba697638bc9
Add an nvme_function structure array, defining the name, C function and
usage message for each nvmecontrol command.  This helps reduce some code
clutter both now and for future commits which will add logpage and
firmware support to nvmecontrol(8).

Also move helper function prototypes to the end of the header file, after
the per-command functions.

Sponsored by: Intel
MFC after: 3 days
sbin/nvmecontrol/nvmecontrol.c
sbin/nvmecontrol/nvmecontrol.h