From ba9a0a8677e961ab7cd1aa003140b74abfbd2ff0 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Wed, 8 Dec 2004 04:28:41 +0000 Subject: use ETHER_MAX_LEN --- sys/dev/pci/if_em.c | 4 ++-- 1 file 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; -- cgit v1.2.3