summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-01-17 16:40:39 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-01-17 16:40:39 +0000
commit26c43f519cb4a8bb8268ffe4ad2439fdac6b278f (patch)
tree15bbf5a4c5c23cab4f6ac492a1d2150f39ae83e4 /sys
parent0bb6090ecbca481fd87a7d53c68e42936293e41b (diff)
s/defined(DEBUG)/defined(EP_DEBUG)/g
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/elink3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c
index 2224672db1c..831e2466166 100644
--- a/sys/dev/ic/elink3.c
+++ b/sys/dev/ic/elink3.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elink3.c,v 1.20 1997/10/30 23:49:28 niklas Exp $ */
+/* $OpenBSD: elink3.c,v 1.21 1998/01/17 16:40:38 mickey Exp $ */
/* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */
/*
@@ -719,7 +719,7 @@ epsetmedia(sc, medium)
case EPMEDIA_MII:
break;
default:
-#if defined(DEBUG)
+#if defined(EP_DEBUG)
printf("%s unknown media 0x%x\n", sc->sc_dev.dv_xname, medium);
#endif
break;
@@ -738,14 +738,14 @@ epsetmedia(sc, medium)
config1 = (u_int)bus_space_read_2(iot, ioh,
EP_W3_INTERNAL_CONFIG + 2);
-#if defined(DEBUG)
+#if defined(EP_DEBUG)
printf("%s: read 0x%x, 0x%x from EP_W3_CONFIG register\n",
sc->sc_dev.dv_xname, config0, config1);
#endif
config1 = config1 & ~CONFIG_MEDIAMASK;
config1 |= (medium << CONFIG_MEDIAMASK_SHIFT);
-#if defined(DEBUG)
+#if defined(EP_DEBUG)
printf("epsetmedia: %s: medium 0x%x, 0x%x to EP_W3_CONFIG\n",
sc->sc_dev.dv_xname, medium, config1);
#endif