summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-05-31 19:14:06 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-05-31 19:14:06 +0000
commit1e6595fcf51d596aabc3c7bb9385f70d1cdfd37a (patch)
tree3a09a7b98d06a4074349894fde9b93cb602cc51f /sys/dev/pci
parentaea9077f84985d0d79a0430260fcd7fb56a53635 (diff)
enable all debugging messages by default if the driver is compiled with
MYX_DEBUG
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_myx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_myx.c b/sys/dev/pci/if_myx.c
index 657727e1366..a6ade9682a2 100644
--- a/sys/dev/pci/if_myx.c
+++ b/sys/dev/pci/if_myx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_myx.c,v 1.2 2007/05/31 19:12:56 reyk Exp $ */
+/* $OpenBSD: if_myx.c,v 1.3 2007/05/31 19:14:05 reyk Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@openbsd.org>
@@ -62,7 +62,7 @@
#define MYXDBG_CMD (2<<0) /* commands */
#define MYXDBG_INTR (2<<0) /* interrupts */
#define MYXDBG_ALL 0xffff /* enable all debugging messages */
-int myx_debug = 0;
+int myx_debug = MYXDBG_ALL;
#define DPRINTF(_lvl, _arg...) do { \
if (myx_debug & (_lvl)) \
printf(_arg); \