summaryrefslogtreecommitdiffstats
path: root/plugins/memblaze/memblaze-nvme.h
blob: 8f7024dd81fd31dd3f998cd9e4d0d90fbae6cfe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#undef CMD_INC_FILE
#define CMD_INC_FILE plugins/memblaze/memblaze-nvme

#if !defined(MEMBLAZE_NVME) || defined(CMD_HEADER_MULTI_READ)
#define MEMBLAZE_NVME

#include "cmd.h"
#include "common.h"

#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>

PLUGIN(NAME("memblaze", "Memblaze vendor specific extensions"),
	COMMAND_LIST(
		ENTRY("smart-log-add", "Retrieve Memblaze SMART Log, show it", get_additional_smart_log)
		ENTRY("get-feature-add", "Get Memblaze feature and show the resulting value", get_additional_feature)
		ENTRY("set-feature-add", "Set a Memblaze feature and show the resulting value", set_additional_feature)
		ENTRY("select-download", "Selective Firmware Download", memblaze_selective_download)
	)
);

#endif

#include "define_cmd.h"