summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-05-08 16:03:20 +0000
committerderaadt <deraadt@openbsd.org>2007-05-08 16:03:20 +0000
commit8e94d74383749a2793bb6093e22cf01cdfae3a67 (patch)
treef460d0cee272eedba0b9443ce32b3e032038cc79 /sys
parentatapi_print() is never used (diff)
downloadwireguard-openbsd-8e94d74383749a2793bb6093e22cf01cdfae3a67.tar.xz
wireguard-openbsd-8e94d74383749a2793bb6093e22cf01cdfae3a67.zip
ahb_debug should be inside #ifdef AHBDEBUG
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/eisa/aha1742.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/eisa/aha1742.c b/sys/dev/eisa/aha1742.c
index bd5d3a9369a..2b28fea37ad 100644
--- a/sys/dev/eisa/aha1742.c
+++ b/sys/dev/eisa/aha1742.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aha1742.c,v 1.24 2007/04/10 17:47:55 miod Exp $ */
+/* $OpenBSD: aha1742.c,v 1.25 2007/05/08 16:03:20 deraadt Exp $ */
/* $NetBSD: aha1742.c,v 1.61 1996/05/12 23:40:01 mycroft Exp $ */
/*
@@ -297,7 +297,10 @@ void ahb_print_active_ecb(struct ahb_softc *);
int ahbprint(void *, const char *);
#define MAX_SLOTS 15
+
+#ifdef AHBDEBUG
int ahb_debug = 0;
+#endif /* AHBDEBUG */
#define AHB_SHOWECBS 0x01
#define AHB_SHOWINTS 0x02
#define AHB_SHOWCMDS 0x04