summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-06-18 19:13:02 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-06-18 19:13:02 +0000
commitc256c32cc57a1f365178de24d047cfef583d7444 (patch)
tree04e49e5cbbd0aaba4d350ebf0f3639022be0bf3a /sys/arch
parentcba2bef2bd0999474c0621c93a201937bf569ca2 (diff)
oops, missed this part of the hme vlan stuff
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/hmevar.h9
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))