diff options
author | jimharris <jimharris@FreeBSD.org> | 2013-03-26 21:01:53 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2013-03-26 21:01:53 +0000 |
commit | de4e1d06957d2dd6251b3c635d759e8c824fb114 (patch) | |
tree | f2ac54c182b8f5da298dfa2293238868b08e9805 /sys/dev/nvme/nvme_private.h | |
parent | 3c0b8367a2ce30c62befa431e1720df65cfc1f49 (diff) | |
download | FreeBSD-src-de4e1d06957d2dd6251b3c635d759e8c824fb114.zip FreeBSD-src-de4e1d06957d2dd6251b3c635d759e8c824fb114.tar.gz |
Add structure definitions and a controller command function for
error 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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/nvme/nvme_private.h b/sys/dev/nvme/nvme_private.h index 406a2e0..d988be5 100644 --- a/sys/dev/nvme/nvme_private.h +++ b/sys/dev/nvme/nvme_private.h @@ -342,6 +342,11 @@ void nvme_ctrlr_cmd_set_interrupt_coalescing(struct nvme_controller *ctrlr, uint32_t threshold, nvme_cb_fn_t cb_fn, void *cb_arg); +void nvme_ctrlr_cmd_get_error_page(struct nvme_controller *ctrlr, + struct nvme_error_information_entry *payload, + uint32_t num_entries, /* 0 = max */ + nvme_cb_fn_t cb_fn, + void *cb_arg); void nvme_ctrlr_cmd_get_health_information_page(struct nvme_controller *ctrlr, uint32_t nsid, struct nvme_health_information_page *payload, |