From 61d0a8bdffbbb7229776d2f4f2e79ed22d21551f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 1 Jul 2023 00:36:10 +0200 Subject: Merging upstream version 1.5. Signed-off-by: Daniel Baumann --- doc/man/nvme_mi_ctrl_id.2 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/man/nvme_mi_ctrl_id.2 (limited to 'doc/man/nvme_mi_ctrl_id.2') diff --git a/doc/man/nvme_mi_ctrl_id.2 b/doc/man/nvme_mi_ctrl_id.2 new file mode 100644 index 0000000..2207e92 --- /dev/null +++ b/doc/man/nvme_mi_ctrl_id.2 @@ -0,0 +1,16 @@ +.TH "nvme_mi_ctrl_id" 9 "nvme_mi_ctrl_id" "June 2023" "libnvme API manual" LINUX +.SH NAME +nvme_mi_ctrl_id \- get the ID of a controller +.SH SYNOPSIS +.B "__u16" nvme_mi_ctrl_id +.BI "(nvme_mi_ctrl_t ctrl " ");" +.SH ARGUMENTS +.IP "ctrl" 12 +controller to query +.SH "DESCRIPTION" +Retrieve the ID of the controller, as defined by hardware, and available +in the Identify (Controller List) data. This is the value passed to +\fInvme_mi_init_ctrl\fP, but may have been created internally via +\fInvme_mi_scan_ep\fP. +.SH "RETURN" +the (locally-stored) ID of this controller. -- cgit v1.2.3