diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-05-27 10:03:16 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-05-27 10:03:16 +0000 |
commit | b40cf0ca3671219ffc3a641ea1fe7920cfa14eb5 (patch) | |
tree | 278ce30cc9a373a225e0defca479a28d630ac68b /sys/dev/pci/if_lge.c | |
parent | d23e96a827be6ec46a6d87db28b3619d3d3ad491 (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_lge.c')
-rw-r--r-- | sys/dev/pci/if_lge.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |