Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves.
This commit is contained in:
parent
9da505740a
commit
962833e128
|
@ -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 @@ struct cfattach ed_zbus_ca = {
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue