summaryrefslogtreecommitdiffstats
path: root/sys/dev/nvme/nvme_private.h
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2013-03-26 21:03:03 +0000
committerjimharris <jimharris@FreeBSD.org>2013-03-26 21:03:03 +0000
commit79d7c4eec2fd77c96bb69d6b27e64aa33b66786f (patch)
tree81a376975425d64e088551b45d9c617218adc9e3 /sys/dev/nvme/nvme_private.h
parentde4e1d06957d2dd6251b3c635d759e8c824fb114 (diff)
downloadFreeBSD-src-79d7c4eec2fd77c96bb69d6b27e64aa33b66786f.zip
FreeBSD-src-79d7c4eec2fd77c96bb69d6b27e64aa33b66786f.tar.gz
Add structure definitions and controller command function for firmware
log pages. Sponsored by: Intel Reviewed by: carl
Diffstat (limited to 'sys/dev/nvme/nvme_private.h')
-rw-r--r--sys/dev/nvme/nvme_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/nvme/nvme_private.h b/sys/dev/nvme/nvme_private.h
index d988be5..624ae11 100644
--- a/sys/dev/nvme/nvme_private.h
+++ b/sys/dev/nvme/nvme_private.h
@@ -352,6 +352,10 @@ void nvme_ctrlr_cmd_get_health_information_page(struct nvme_controller *ctrlr,
struct nvme_health_information_page *payload,
nvme_cb_fn_t cb_fn,
void *cb_arg);
+void nvme_ctrlr_cmd_get_firmware_page(struct nvme_controller *ctrlr,
+ struct nvme_firmware_page *payload,
+ nvme_cb_fn_t cb_fn,
+ void *cb_arg);
void nvme_ctrlr_cmd_create_io_cq(struct nvme_controller *ctrlr,
struct nvme_qpair *io_que, uint16_t vector,
nvme_cb_fn_t cb_fn, void *cb_arg);
OpenPOWER on IntegriCloud