From b40cf0ca3671219ffc3a641ea1fe7920cfa14eb5 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 27 May 2006 10:03:16 +0000 Subject: remove IFCAP_JUMBO_MTU interface capabilities flag and set if_hardmtu in a few more drivers. ok reyk@ --- sys/dev/pci/if_lge.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_lge.c') diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c index ad8bd5612a2..09122271bf3 100644 --- a/sys/dev/pci/if_lge.c +++ b/sys/dev/pci/if_lge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lge.c,v 1.40 2006/05/20 03:47:56 brad Exp $ */ +/* $OpenBSD: if_lge.c,v 1.41 2006/05/27 10:03:15 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -564,12 +564,13 @@ lge_attach(struct device *parent, struct device *self, void *aux) ifp->if_start = lge_start; ifp->if_watchdog = lge_watchdog; ifp->if_baudrate = 1000000000; + ifp->if_hardmtu = ETHERMTU_JUMBO; IFQ_SET_MAXLEN(&ifp->if_snd, LGE_TX_LIST_CNT - 1); IFQ_SET_READY(&ifp->if_snd); DPRINTFN(5, ("bcopy\n")); bcopy(sc->sc_dv.dv_xname, ifp->if_xname, IFNAMSIZ); - ifp->if_capabilities = IFCAP_VLAN_MTU | IFCAP_JUMBO_MTU; + ifp->if_capabilities = IFCAP_VLAN_MTU; if (CSR_READ_4(sc, LGE_GMIIMODE) & LGE_GMIIMODE_PCSENH) sc->lge_pcs = 1; -- cgit v1.2.3