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 Use ETHER_*_LEN constants from <net/if_et...



details:   https://anonhg.NetBSD.org/src/rev/4379735b8b90
branches:  trunk
changeset: 467557:4379735b8b90
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Mar 25 23:10:13 1999 +0000

description:
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves.

diffstat:

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

diffs (20 lines):

diff -r eb855ed3a867 -r 4379735b8b90 sys/arch/amiga/dev/if_ed.c
--- a/sys/arch/amiga/dev/if_ed.c        Thu Mar 25 23:08:28 1999 +0000
+++ b/sys/arch/amiga/dev/if_ed.c        Thu Mar 25 23:10:13 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ed.c,v 1.30 1999/01/10 12:59:20 tron Exp $  */
+/*     $NetBSD: if_ed.c,v 1.31 1999/03/25 23:10:13 thorpej Exp $       */
 
 /*
  * Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@@ -126,10 +126,6 @@
        sizeof(struct ed_softc), ed_zbus_match, ed_zbus_attach
 };
 
-#define        ETHER_MIN_LEN   64
-#define        ETHER_MAX_LEN   1518
-#define        ETHER_ADDR_LEN  6
-
 static inline void
 NIC_PUT(sc, off, val)
        struct ed_softc *sc;



Home | Main Index | Thread Index | Old Index