Merging upstream version 2.14.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
0d9181726f
commit
f268303a51
572 changed files with 4636 additions and 1730 deletions
|
@ -11,10 +11,22 @@
|
|||
|
||||
#define FEAT_PLUGIN_VERSION "1.0"
|
||||
#define POWER_MGMT_DESC "Get and set power management feature"
|
||||
#define PERFC_DESC "Get and set perf characteristics feature"
|
||||
#define HCTM_DESC "Get and set host controlled thermal management feature"
|
||||
#define TIMESTAMP_DESC "Get and set timestamp feature"
|
||||
#define TEMP_THRESH_DESC "Get and set temperature threshold feature"
|
||||
|
||||
#define FEAT_ARGS(n, ...) \
|
||||
NVME_ARGS(n, ##__VA_ARGS__, OPT_FLAG("save", 's', NULL, save), \
|
||||
OPT_BYTE("sel", 'S', &cfg.sel, sel))
|
||||
|
||||
PLUGIN(NAME("feat", "NVMe feature extensions", FEAT_PLUGIN_VERSION),
|
||||
COMMAND_LIST(
|
||||
ENTRY("power-mgmt", POWER_MGMT_DESC, feat_power_mgmt)
|
||||
ENTRY("perf-characteristics", PERFC_DESC, feat_perfc)
|
||||
ENTRY("hctm", HCTM_DESC, feat_hctm)
|
||||
ENTRY("timestamp", TIMESTAMP_DESC, feat_timestamp)
|
||||
ENTRY("temp-thresh", TEMP_THRESH_DESC, feat_temp_thresh)
|
||||
)
|
||||
);
|
||||
#endif /* !FEAT_NVME || CMD_HEADER_MULTI_READ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue