summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Clulow <jmc@joyent.com>2013-03-04 18:44:25 +0000
committerJoshua M. Clulow <jmc@joyent.com>2013-03-04 18:44:25 +0000
commit947548b267e5fea5ad5b1d830d0cf1779cb13900 (patch)
tree8927a4ba0405f9934362153cc147bd17112fe5bb
parentd6d286bb2a5d05a747447ddd1a1ca0c9a6794996 (diff)
downloadillumos-joyent-947548b267e5fea5ad5b1d830d0cf1779cb13900.tar.gz
OS-1985 ::mptsas should show slot/enclosure for targets
-rw-r--r--usr/src/cmd/mdb/common/modules/mpt_sas/mpt_sas.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/cmd/mdb/common/modules/mpt_sas/mpt_sas.c b/usr/src/cmd/mdb/common/modules/mpt_sas/mpt_sas.c
index 7c97ec8b42..fa6e1a578c 100644
--- a/usr/src/cmd/mdb/common/modules/mpt_sas/mpt_sas.c
+++ b/usr/src/cmd/mdb/common/modules/mpt_sas/mpt_sas.c
@@ -286,8 +286,10 @@ display_targets(struct mptsas_slots *s)
mdb_printf("devhdl %x, sasaddress %"PRIx64", phymask %x,"
"devinfo %x\n", ptgt->m_devhdl, ptgt->m_sas_wwn,
ptgt->m_phymask, ptgt->m_deviceinfo);
- mdb_printf("throttle %x, dr_flag %x, m_t_ncmds %x\n",
- ptgt->m_t_throttle, ptgt->m_dr_flag, ptgt->m_t_ncmds);
+ mdb_printf("throttle %x, dr_flag %x, m_t_ncmds %x, "
+ "enclosure %x, slot_num %x\n", ptgt->m_t_throttle,
+ ptgt->m_dr_flag, ptgt->m_t_ncmds, ptgt->m_enclosure,
+ ptgt->m_slot_num);
mdb_free(ptgt, sizeof (mptsas_target_t));
ptgt = (mptsas_target_t *)hash_traverse(