Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amiga/dev Only output message on really special DEB...



details:   https://anonhg.NetBSD.org/src/rev/f669395b9c09
branches:  trunk
changeset: 481996:f669395b9c09
user:      is <is%NetBSD.org@localhost>
date:      Fri Feb 11 19:09:56 2000 +0000

description:
Only output message on really special DEBUG kernels.

diffstat:

 sys/arch/amiga/dev/if_ed.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r d4dc443eed62 -r f669395b9c09 sys/arch/amiga/dev/if_ed.c
--- a/sys/arch/amiga/dev/if_ed.c        Fri Feb 11 18:39:02 2000 +0000
+++ b/sys/arch/amiga/dev/if_ed.c        Fri Feb 11 19:09:56 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ed.c,v 1.32 1999/05/18 23:52:52 thorpej Exp $       */
+/*     $NetBSD: if_ed.c,v 1.33 2000/02/11 19:09:56 is Exp $    */
 
 /*
  * Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@@ -659,9 +659,11 @@
                        ++ifp->if_ipackets;
                } else {
                        /* Really BAD.  The ring pointers are corrupted. */
+#ifdef DEBUG_AMIGA_IF_ED
                        log(LOG_ERR,
                            "%s: NIC memory corrupt - invalid packet length %d\n",
                            sc->sc_dev.dv_xname, len);
+#endif
                        ++ifp->if_ierrors;
                        ed_reset(sc);
                        return;



Home | Main Index | Thread Index | Old Index