diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/dev/hmevar.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/hmevar.h b/sys/arch/sparc/dev/hmevar.h index b4fc66d1a91..eff7e00fb60 100644 --- a/sys/arch/sparc/dev/hmevar.h +++ b/sys/arch/sparc/dev/hmevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hmevar.h,v 1.8 2003/06/02 18:40:59 jason Exp $ */ +/* $OpenBSD: hmevar.h,v 1.9 2003/06/18 19:13:01 jason Exp $ */ /* * Copyright (c) 1998 Jason L. Wright (jason@thought.net) @@ -58,3 +58,10 @@ struct hme_softc { int sc_first_td, sc_last_td, sc_no_td; /* tx counters */ int sc_last_rd; /* rx counters */ }; + +#ifndef EVL_ENCAPLEN /* defined if NVLAN > 0 */ +#define EVL_ENCAPLEN 0 +#endif + +#define HME_MTU \ + (ETHERMTU + EVL_ENCAPLEN + sizeof(u_int32_t) + sizeof(struct ether_header)) |