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_ti.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_ti.c')
-rw-r--r-- | sys/dev/pci/if_ti.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c index b7a2dd8fbc0..a1f46bb92dc 100644 --- a/sys/dev/pci/if_ti.c +++ b/sys/dev/pci/if_ti.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ti.c,v 1.80 2006/05/20 03:47:56 brad Exp $ */ +/* $OpenBSD: if_ti.c,v 1.81 2006/05/27 10:03:15 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -1648,11 +1648,12 @@ ti_attach(struct device *parent, struct device *self, void *aux) ifp->if_ioctl = ti_ioctl; ifp->if_start = ti_start; ifp->if_watchdog = ti_watchdog; + ifp->if_hardmtu = ETHERMTU_JUMBO; IFQ_SET_MAXLEN(&ifp->if_snd, TI_TX_RING_CNT - 1); IFQ_SET_READY(&ifp->if_snd); 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 TI_VLAN #if NVLAN > 0 |