]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r252269:
authorjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 3 Jul 2013 23:53:28 +0000 (23:53 +0000)
committerjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 3 Jul 2013 23:53:28 +0000 (23:53 +0000)
commit59349d066ac33aea6b3767e5e55f023a356c577b
treebfc70a54009093108b57ac0b2d5d242b6e88ad33
parentcee983d05cb2f20e1ff0c0876f9861e0fa6a3666
MFC r252269:

  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.

Also add missing static keyword that glebius@ fixed as part of r252302.

Sponsored by: Intel

git-svn-id: svn://svn.freebsd.org/base/stable/9@252662 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/nvmecontrol/nvmecontrol.c
sbin/nvmecontrol/nvmecontrol.h