summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-01-18 13:51:36 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-01-18 13:51:36 +0000
commit66ac0aa5fe117bcd0467534da9724d3fd62f2d4d (patch)
treef850761d8e47f133746d8d0b53bdaafda9f6f757 /sys/arch/macppc/dev
parent5959948e41bdaa3846318fe94f65f97c4e9ad156 (diff)
Silence match() unless DEBUG.
Diffstat (limited to 'sys/arch/macppc/dev')
-rw-r--r--sys/arch/macppc/dev/awacs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/macppc/dev/awacs.c b/sys/arch/macppc/dev/awacs.c
index 7b01af735fb..22349a304e4 100644
--- a/sys/arch/macppc/dev/awacs.c
+++ b/sys/arch/macppc/dev/awacs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: awacs.c,v 1.16 2003/10/16 03:31:25 drahn Exp $ */
+/* $OpenBSD: awacs.c,v 1.17 2004/01/18 13:51:35 miod Exp $ */
/* $NetBSD: awacs.c,v 1.4 2001/02/26 21:07:51 wiz Exp $ */
/*-
@@ -248,8 +248,10 @@ awacs_match(struct device *parent, void *match, void *aux)
strcmp(ca->ca_name, "davbus") != 0)
return 0;
+#ifdef DEBUG
printf("awacs: matched %s nreg %d nintr %d\n",
ca->ca_name, ca->ca_nreg, ca->ca_nintr);
+#endif
if (ca->ca_nreg < 24 || ca->ca_nintr < 12)
return 0;