summaryrefslogtreecommitdiffstats
path: root/sbin/nvmecontrol/nvmecontrol.c
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2013-06-27 00:08:25 +0000
committerjimharris <jimharris@FreeBSD.org>2013-06-27 00:08:25 +0000
commitc15f698fb461ff5e7a9135b74eede196265fc6ca (patch)
tree3571085198d80536800262955a43857e3051d055 /sbin/nvmecontrol/nvmecontrol.c
parent246ba1c3a87a263471fd5516bb5f329ab6143c1c (diff)
downloadFreeBSD-src-c15f698fb461ff5e7a9135b74eede196265fc6ca.zip
FreeBSD-src-c15f698fb461ff5e7a9135b74eede196265fc6ca.tar.gz
Add firmware replacement and activation support to nvmecontrol(8) through
a new firmware command. NVMe controllers may support up to 7 firmware slots for storing of different firmware revisions. This new firmware command supports firmware replacement (i.e. firmware download) with or without immediate activation, or activation of a previously stored firmware image. It also supports selection of the firmware slot during replacement operations, using IDENTIFY information from the controller to check that the specified slot is valid. Newly activated firmware does not take effect until the new controller reset, either via a reboot or separate 'nvmecontrol reset' command to the same controller. Submitted by: Joe Golio <joseph.golio@emc.com> Obtained from: EMC / Isilon Storage Division MFC after: 3 days
Diffstat (limited to 'sbin/nvmecontrol/nvmecontrol.c')
-rw-r--r--sbin/nvmecontrol/nvmecontrol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/nvmecontrol/nvmecontrol.c b/sbin/nvmecontrol/nvmecontrol.c
index 61bfc0a..8dc0e36 100644
--- a/sbin/nvmecontrol/nvmecontrol.c
+++ b/sbin/nvmecontrol/nvmecontrol.c
@@ -56,6 +56,7 @@ struct nvme_function {
{"perftest", perftest, PERFTEST_USAGE},
{"reset", reset, RESET_USAGE},
{"logpage", logpage, LOGPAGE_USAGE},
+ {"firmware", firmware, FIRMWARE_USAGE},
{NULL, NULL, NULL},
};
OpenPOWER on IntegriCloud