diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-09-28 00:21:24 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-09-28 00:21:24 +0000 |
commit | cf535cb2a696315685dd770ec7ee82b244de6159 (patch) | |
tree | 4c54a520bef97d844779f564490c586e2a782257 /sys/arch/sparc/dev/hmevar.h | |
parent | 80dce2e7d18adec0e477b0e67c6afec515c76e53 (diff) |
- Use ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN instead of HME_MTU
- Use ETHER_CRC_POLY_LE instead of MC_POLY_LE from hmereg.h
Diffstat (limited to 'sys/arch/sparc/dev/hmevar.h')
-rw-r--r-- | sys/arch/sparc/dev/hmevar.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/arch/sparc/dev/hmevar.h b/sys/arch/sparc/dev/hmevar.h index a6e6a749755..9b39ebfbf5d 100644 --- a/sys/arch/sparc/dev/hmevar.h +++ b/sys/arch/sparc/dev/hmevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hmevar.h,v 1.10 2004/08/08 19:01:20 brad Exp $ */ +/* $OpenBSD: hmevar.h,v 1.11 2004/09/28 00:21:23 brad Exp $ */ /* * Copyright (c) 1998 Jason L. Wright (jason@thought.net) @@ -60,10 +60,3 @@ 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)) |