Deleted Added
full compact
nvmecontrol.h (328716) nvmecontrol.h (328725)
1/*-
2 * Copyright (C) 2012-2013 Intel Corporation
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (C) 2012-2013 Intel Corporation
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: stable/11/sbin/nvmecontrol/nvmecontrol.h 328716 2018-02-01 19:37:50Z mav $
26 * $FreeBSD: stable/11/sbin/nvmecontrol/nvmecontrol.h 328725 2018-02-01 19:44:24Z mav $
27 */
28
29#ifndef __NVMECONTROL_H__
30#define __NVMECONTROL_H__
31
32#include <dev/nvme/nvme.h>
33
34typedef void (*nvme_fn_t)(int argc, char *argv[]);

--- 18 unchanged lines hidden (view full) ---

53" <-s size_in_bytes> <-t time_in_seconds>\n" \
54" <-i intr|wait> [-f refthread] [-p]\n" \
55" <namespace id>\n"
56
57#define RESET_USAGE \
58" nvmecontrol reset <controller id>\n"
59
60#define LOGPAGE_USAGE \
27 */
28
29#ifndef __NVMECONTROL_H__
30#define __NVMECONTROL_H__
31
32#include <dev/nvme/nvme.h>
33
34typedef void (*nvme_fn_t)(int argc, char *argv[]);

--- 18 unchanged lines hidden (view full) ---

53" <-s size_in_bytes> <-t time_in_seconds>\n" \
54" <-i intr|wait> [-f refthread] [-p]\n" \
55" <namespace id>\n"
56
57#define RESET_USAGE \
58" nvmecontrol reset <controller id>\n"
59
60#define LOGPAGE_USAGE \
61" nvmecontrol logpage <-p page_id> [-x] \n" \
61" nvmecontrol logpage <-p page_id> [-b] [-v vendor] [-x] <controller id|namespace id>\n" \
62
63#define FIRMWARE_USAGE \
64" nvmecontrol firmware [-s slot] [-f path_to_firmware] [-a] <controller id>\n"
65
66#define POWER_USAGE \
67" nvmecontrol power [-l] [-p new-state [-w workload-hint]] <controller id>\n"
68
69#define WDC_USAGE \

--- 23 unchanged lines hidden ---
62
63#define FIRMWARE_USAGE \
64" nvmecontrol firmware [-s slot] [-f path_to_firmware] [-a] <controller id>\n"
65
66#define POWER_USAGE \
67" nvmecontrol power [-l] [-p new-state [-w workload-hint]] <controller id>\n"
68
69#define WDC_USAGE \

--- 23 unchanged lines hidden ---