diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-12-08 04:28:41 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-12-08 04:28:41 +0000 |
commit | ba9a0a8677e961ab7cd1aa003140b74abfbd2ff0 (patch) | |
tree | bd0270a10353da793f5d18121c47f1022f3700da /sys/dev/pci/if_em.c | |
parent | a731a96696dbf3288d4789714b2401437c162ca8 (diff) |
use ETHER_MAX_LEN
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r-- | sys/dev/pci/if_em.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index 741dfdaaa90..ae6fa93f8a2 100644 --- a/sys/dev/pci/if_em.c +++ b/sys/dev/pci/if_em.c @@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ /* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */ -/* $OpenBSD: if_em.c,v 1.32 2004/11/16 14:39:14 brad Exp $ */ +/* $OpenBSD: if_em.c,v 1.33 2004/12/08 04:28:40 brad Exp $ */ #include "bpfilter.h" #include "vlan.h" @@ -546,7 +546,7 @@ em_attach(struct device *parent, struct device *self, void *aux) * sized frames */ sc->hw.max_frame_size = - ETHERMTU + ETHER_HDR_LEN + ETHER_CRC_LEN; + ETHER_MAX_LEN; sc->hw.min_frame_size = MINIMUM_ETHERNET_PACKET_SIZE + ETHER_CRC_LEN; |