summaryrefslogtreecommitdiff
path: root/usr/src/cmd
diff options
context:
space:
mode:
authorcth <none@none>2006-05-10 07:09:23 -0700
committercth <none@none>2006-05-10 07:09:23 -0700
commit144dfaa9a648eea321858b34d4941d2268130176 (patch)
tree2fd5da8ff99a6656c6f52052f38aea6844fdbdbb /usr/src/cmd
parent2439af7605af3f1ede6f8a92500e6101898f6512 (diff)
downloadillumos-gate-144dfaa9a648eea321858b34d4941d2268130176.tar.gz
6423041 PSARC 2006/242 'mdi interfaces to support pHCI driver locking' and related fixes
Diffstat (limited to 'usr/src/cmd')
-rw-r--r--usr/src/cmd/mdb/common/modules/mpxio/mpxio_dcmds.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/usr/src/cmd/mdb/common/modules/mpxio/mpxio_dcmds.c b/usr/src/cmd/mdb/common/modules/mpxio/mpxio_dcmds.c
index 12f1f5bbb4..0284cbe6af 100644
--- a/usr/src/cmd/mdb/common/modules/mpxio/mpxio_dcmds.c
+++ b/usr/src/cmd/mdb/common/modules/mpxio/mpxio_dcmds.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -266,29 +265,30 @@ mdivhci(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv)
mdb_printf("----------------- mdi_vhci @ %#lr ----------\n", addr);
dump_string((uintptr_t)value.vh_class, "Class name (vh_class)");
- dump_state_str("Load Balance (vh_lb)", value.vh_lb, client_lb_str);
- mdb_printf("vh_client_count: %19d\n", value.vh_client_count);
-
- mdb_printf("vh_client_table: %19l#r::print struct client_hash\n",
- value.vh_client_table);
+ mdb_printf("vh_refcnt: %19d\n", value.vh_refcnt);
mdb_printf("vh_dip: %28l#r::print struct dev_info\n", value.vh_dip);
mdb_printf("vh_next: %27l#r::print struct mdi_vhci\n", value.vh_next);
mdb_printf("vh_prev: %27l#r::print struct mdi_vhci\n", value.vh_prev);
+ dump_state_str("Load Balance (vh_lb)", value.vh_lb, client_lb_str);
mdb_printf("vh_ops: %28l#r::print struct mdi_vhci_ops\n",
value.vh_ops);
+
+ dump_mutex(value.vh_phci_mutex, "phci mutex (vh_phci_mutex):");
+ mdb_printf("vh_phci_count: %21d\n", value.vh_phci_count);
mdb_printf("\nvh_phci_head: %22l#r::print struct mdi_phci\n",
value.vh_phci_head);
mdb_printf("vh_phci_tail: %22l#r::print struct mdi_phci\n",
value.vh_phci_tail);
- mdb_printf("vh_phci_count: %21d\n", value.vh_phci_count);
+ dump_mutex(value.vh_phci_mutex, "client mutex (vh_client_mutex):");
+ mdb_printf("vh_client_count: %19d\n", value.vh_client_count);
+ mdb_printf("vh_client_table: %19l#r::print struct client_hash\n",
+ value.vh_client_table);
+
mdb_printf("List of pHCIs:\n");
mdb_pwalk("mdiphci_list", (mdb_walk_cb_t)mpxio_walk_cb,
mdiphci_cb_str, (uintptr_t)value.vh_phci_head);
-
mdb_printf("\n");
- mdb_printf("vh_flags UNUSED: %19d\n", value.vh_flags);
-
return (DCMD_OK);
}