summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2000-09-17 20:42:28 +0000
committerken <ken@FreeBSD.org>2000-09-17 20:42:28 +0000
commitd50e5c60417c2e1ad1833ca6986ec056761c2d21 (patch)
treef7681588b1e84c253fe2323a2e40bbcc894c2b68 /sbin
parent86bd96948b39236010d8d47f7c71add8abce9e2a (diff)
downloadFreeBSD-src-d50e5c60417c2e1ad1833ca6986ec056761c2d21.zip
FreeBSD-src-d50e5c60417c2e1ad1833ca6986ec056761c2d21.tar.gz
Adjust 'camcontrol negotiate -v' so it prints out the initiator ID from the
Path Inquiry CCB.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/camcontrol/camcontrol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c
index d0e6cec..892fb4a 100644
--- a/sbin/camcontrol/camcontrol.c
+++ b/sbin/camcontrol/camcontrol.c
@@ -2305,6 +2305,8 @@ cpi_print(struct ccb_pathinq *cpi)
cpi->max_lun);
fprintf(stdout, "%s highest path ID in subsystem: %d\n",
adapter_str, cpi->hpath_id);
+ fprintf(stdout, "%s initiator ID: %d\n", adapter_str,
+ cpi->initiator_id);
fprintf(stdout, "%s SIM vendor: %s\n", adapter_str, cpi->sim_vid);
fprintf(stdout, "%s HBA vendor: %s\n", adapter_str, cpi->hba_vid);
fprintf(stdout, "%s bus ID: %d\n", adapter_str, cpi->bus_id);
OpenPOWER on IntegriCloud