diff options
author | Alexander Motin <mav@FreeBSD.org> | 2018-02-01 21:11:17 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2018-02-01 21:11:17 +0000 |
commit | 3c5e2b9445dde917097cf4c014e992b84e58952f (patch) | |
tree | e4dcd1470611a1233f6680a872a8a2a3da358756 /sys/cam/cam_ccb.h | |
parent | 39fff2f124897658583cbb644fae5cad2a867be4 (diff) | |
download | src-test2-3c5e2b9445dde917097cf4c014e992b84e58952f.tar.gz src-test2-3c5e2b9445dde917097cf4c014e992b84e58952f.zip |
Notes
Diffstat (limited to 'sys/cam/cam_ccb.h')
-rw-r--r-- | sys/cam/cam_ccb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h index 024fd4862b93..bcfc2bcb29ee 100644 --- a/sys/cam/cam_ccb.h +++ b/sys/cam/cam_ccb.h @@ -362,8 +362,7 @@ struct ccb_getdev { u_int8_t serial_num[252]; u_int8_t inq_flags; u_int8_t serial_num_len; - const struct nvme_controller_data *nvme_cdata; - const struct nvme_namespace_data *nvme_data; + void *padding[2]; }; /* Device Statistics CCB */ @@ -1227,6 +1226,8 @@ struct ccb_dev_advinfo { #define CDAI_TYPE_PHYS_PATH 3 #define CDAI_TYPE_RCAPLONG 4 #define CDAI_TYPE_EXT_INQ 5 +#define CDAI_TYPE_NVME_CNTRL 6 /* NVMe Identify Controller data */ +#define CDAI_TYPE_NVME_NS 7 /* NVMe Identify Namespace data */ off_t bufsiz; /* IN: Size of external buffer */ #define CAM_SCSI_DEVID_MAXLEN 65536 /* length in buffer is an uint16_t */ off_t provsiz; /* OUT: Size required/used */ |