From c256c32cc57a1f365178de24d047cfef583d7444 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Wed, 18 Jun 2003 19:13:02 +0000 Subject: oops, missed this part of the hme vlan stuff --- sys/arch/sparc/dev/hmevar.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sys/arch/sparc/dev') 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)) -- cgit v1.2.3