summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-05-27 10:03:16 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-05-27 10:03:16 +0000
commitb40cf0ca3671219ffc3a641ea1fe7920cfa14eb5 (patch)
tree278ce30cc9a373a225e0defca479a28d630ac68b /sys/dev/pci/if_em.c
parentd23e96a827be6ec46a6d87db28b3619d3d3ad491 (diff)
remove IFCAP_JUMBO_MTU interface capabilities flag and set if_hardmtu in a few
more drivers. ok reyk@
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r--sys/dev/pci/if_em.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 57567c6c113..852314909e2 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.125 2006/05/26 20:50:41 deraadt Exp $ */
+/* $OpenBSD: if_em.c,v 1.126 2006/05/27 10:03:15 brad Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -1514,12 +1514,11 @@ em_setup_interface(struct em_softc *sc)
if (sc->hw.mac_type != em_82573) {
ifp->if_hardmtu =
sc->hw.max_frame_size - ETHER_HDR_LEN - ETHER_CRC_LEN;
- ifp->if_capabilities |= IFCAP_JUMBO_MTU;
}
IFQ_SET_MAXLEN(&ifp->if_snd, sc->num_tx_desc - 1);
IFQ_SET_READY(&ifp->if_snd);
- ifp->if_capabilities |= IFCAP_VLAN_MTU;
+ ifp->if_capabilities = IFCAP_VLAN_MTU;
/*
* Specify the media types supported by this adapter and register