summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-06-13 08:54:36 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2003-06-13 08:54:36 +0000
commit2998353aac7d5863a64cd64c11f85081b37c7728 (patch)
tree3912ce401972b56143d9b24ed32b40322cc107b2 /sys/dev
parent40ed085d560d435e1ac8825e0e7cbe9b369863fb (diff)
turn these DIAGNOSTIC into NE_DEBUG. there is no really need to fill
dmesg with it under normal circumstances.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pcmcia/if_ne_pcmcia.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/if_ne_pcmcia.c b/sys/dev/pcmcia/if_ne_pcmcia.c
index 0b483f45b13..6ac588e5a89 100644
--- a/sys/dev/pcmcia/if_ne_pcmcia.c
+++ b/sys/dev/pcmcia/if_ne_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ne_pcmcia.c,v 1.70 2003/06/13 08:49:30 pb Exp $ */
+/* $OpenBSD: if_ne_pcmcia.c,v 1.71 2003/06/13 08:54:35 fgsch Exp $ */
/* $NetBSD: if_ne_pcmcia.c,v 1.17 1998/08/15 19:00:04 thorpej Exp $ */
/*
@@ -950,7 +950,7 @@ ne_pcmcia_ax88190_set_iobase(psc)
goto fail_2;
}
-#ifdef DIAGNOSTIC
+#ifdef NE_DEBUG
printf(": LAN iobase 0x%x (0x%x) ->",
bus_space_read_1(pcmh.memt, pcmh.memh, offset + 0) |
bus_space_read_1(pcmh.memt, pcmh.memh, offset + 2) << 8,
@@ -960,7 +960,7 @@ ne_pcmcia_ax88190_set_iobase(psc)
psc->sc_pcioh.addr & 0xff);
bus_space_write_1(pcmh.memt, pcmh.memh, offset + 2,
psc->sc_pcioh.addr >> 8);
-#ifdef DIAGNOSTIC
+#ifdef NE_DEBUG
printf(" 0x%x", bus_space_read_1(pcmh.memt, pcmh.memh, offset + 0) |
bus_space_read_1(pcmh.memt, pcmh.memh, offset + 2) << 8);
#endif