diff options
author | asomers <asomers@FreeBSD.org> | 2016-05-16 18:11:53 +0000 |
---|---|---|
committer | asomers <asomers@FreeBSD.org> | 2016-05-16 18:11:53 +0000 |
commit | 0b59bb7a64049fbc914c5c7225befe1b68adacd8 (patch) | |
tree | a62d069d12119ff4bade718e7654448e60e71103 /sys/cam/scsi/scsi_all.h | |
parent | bb22f56baff0eb4cd03f458e01206493f4d2d3db (diff) | |
download | FreeBSD-src-0b59bb7a64049fbc914c5c7225befe1b68adacd8.zip FreeBSD-src-0b59bb7a64049fbc914c5c7225befe1b68adacd8.tar.gz |
MFC 298212
Add the ability to read a SAS device's Target Port NAA designator
sys/cam/scsi/scsi_all.h
sys/cam/scsi/scsi_all.c
Add the scsi_devid_is_port_naa helper function
Diffstat (limited to 'sys/cam/scsi/scsi_all.h')
-rw-r--r-- | sys/cam/scsi/scsi_all.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h index 615a42a..b394eea 100644 --- a/sys/cam/scsi/scsi_all.h +++ b/sys/cam/scsi/scsi_all.h @@ -3659,6 +3659,7 @@ int scsi_devid_is_lun_eui64(uint8_t *bufp); int scsi_devid_is_lun_naa(uint8_t *bufp); int scsi_devid_is_lun_name(uint8_t *bufp); int scsi_devid_is_lun_t10(uint8_t *bufp); +int scsi_devid_is_port_naa(uint8_t *bufp); struct scsi_vpd_id_descriptor * scsi_get_devid(struct scsi_vpd_device_id *id, uint32_t len, scsi_devid_checkfn_t ck_fn); |