summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/mms/dmd/dmd.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/usr/src/uts/common/io/mms/dmd/dmd.c b/usr/src/uts/common/io/mms/dmd/dmd.c
index 2749e4cf37..30d38d7ad2 100644
--- a/usr/src/uts/common/io/mms/dmd/dmd.c
+++ b/usr/src/uts/common/io/mms/dmd/dmd.c
@@ -147,11 +147,14 @@ static dmd_wcr_t *dmd_wcr_p;
static dmd_stat_t *dmd_stat_p;
static major_t dmd_major;
static int dmd_next_ord = DMD_FIRST_DEV_ORDINAL;
-#ifdef DEBUG
-static int dmd_debug = 1;
-#else
-static int dmd_debug = 0;
-#endif
+
+/*
+ * To turn dmd_debug messages on, set dmd_debug to 1 by doing:
+ * echo 'dmd_debug/W 1' | mdb -kw
+ * or add the following to /etc/system and reboot:
+ * set dmd:dmd_debug=1
+ */
+int dmd_debug = 0;
/*
* State variables
*/