Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/amiga/dev Pull up revision 1.33 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/8a6b779b7db3
branches:  netbsd-1-4
changeset: 470361:8a6b779b7db3
user:      he <he%NetBSD.org@localhost>
date:      Sat Feb 12 21:45:55 2000 +0000

description:
Pull up revision 1.33 (requested by is):
  Only output diagnostic 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 5b1ec8538f09 -r 8a6b779b7db3 sys/arch/amiga/dev/if_ed.c
--- a/sys/arch/amiga/dev/if_ed.c        Sat Feb 12 21:37:13 2000 +0000
+++ b/sys/arch/amiga/dev/if_ed.c        Sat Feb 12 21:45:55 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ed.c,v 1.31 1999/03/25 23:10:13 thorpej Exp $       */
+/*     $NetBSD: if_ed.c,v 1.31.2.1 2000/02/12 21:45:55 he 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