summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2018-02-01 21:25:56 +0000
committermav <mav@FreeBSD.org>2018-02-01 21:25:56 +0000
commitf35215facdf49f064beb27c7dc42e3916228a5d7 (patch)
tree96437c66b8c81da43b70f9e8b583c2787f79aa3c /sys/cam
parentd647dac2515610aa47152371fc7043b4f062b736 (diff)
downloadFreeBSD-src-f35215facdf49f064beb27c7dc42e3916228a5d7.zip
FreeBSD-src-f35215facdf49f064beb27c7dc42e3916228a5d7.tar.gz
MFC r327034 (by imp):
Return domain, bus, slot, and function for the transport settings in PATH_INQ requests for nvme.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/cam_ccb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h
index bcfc2bc..d278f4d 100644
--- a/sys/cam/cam_ccb.h
+++ b/sys/cam/cam_ccb.h
@@ -626,6 +626,11 @@ struct ccb_pathinq_settings_sas {
struct ccb_pathinq_settings_nvme {
uint32_t nsid; /* Namespace ID for this path */
+ uint32_t domain;
+ uint8_t bus;
+ uint8_t slot;
+ uint8_t function;
+ uint8_t extra;
};
#define PATHINQ_SETTINGS_SIZE 128
OpenPOWER on IntegriCloud