diff options
author | jimharris <jimharris@FreeBSD.org> | 2013-03-26 18:43:53 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2013-03-26 18:43:53 +0000 |
commit | a3af497c87192d7864d33b58a637530aaac4d1dc (patch) | |
tree | e7895b6a4c35bbcf77a8065abd85833c703fe678 /sys/dev/nvme/nvme.h | |
parent | e3ff62c98768bfe7a9c12d4af4b16ca3fe3295f8 (diff) | |
download | FreeBSD-src-a3af497c87192d7864d33b58a637530aaac4d1dc.zip FreeBSD-src-a3af497c87192d7864d33b58a637530aaac4d1dc.tar.gz |
Create a generic nvme_ctrlr_cmd_get_log_page function, and change the
health information log page function to use it.
Sponsored by: Intel
Diffstat (limited to 'sys/dev/nvme/nvme.h')
-rw-r--r-- | sys/dev/nvme/nvme.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h index 9b7bc9e..a9d214e 100644 --- a/sys/dev/nvme/nvme.h +++ b/sys/dev/nvme/nvme.h @@ -713,6 +713,10 @@ void nvme_ctrlr_cmd_get_feature(struct nvme_controller *ctrlr, uint8_t feature, uint32_t cdw11, void *payload, uint32_t payload_size, nvme_cb_fn_t cb_fn, void *cb_arg); +void nvme_ctrlr_cmd_get_log_page(struct nvme_controller *ctrlr, + uint8_t log_page, uint32_t nsid, + void *payload, uint32_t payload_size, + nvme_cb_fn_t cb_fn, void *cb_arg); /* NVM I/O functions */ int nvme_ns_cmd_write(struct nvme_namespace *ns, void *payload, |