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_sk.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_sk.c')
-rw-r--r-- | sys/dev/pci/if_sk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c index 9c48007e585..ec4a935fe1b 100644 --- a/sys/dev/pci/if_sk.c +++ b/sys/dev/pci/if_sk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sk.c,v 1.108 2006/05/20 03:47:56 brad Exp $ */ +/* $OpenBSD: if_sk.c,v 1.109 2006/05/27 10:03:15 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -1266,11 +1266,12 @@ sk_attach(struct device *parent, struct device *self, void *aux) ifp->if_start = sk_start; ifp->if_watchdog = sk_watchdog; ifp->if_baudrate = 1000000000; + ifp->if_hardmtu = ETHERMTU_JUMBO; IFQ_SET_MAXLEN(&ifp->if_snd, SK_TX_RING_CNT - 1); IFQ_SET_READY(&ifp->if_snd); bcopy(sc_if->sk_dev.dv_xname, ifp->if_xname, IFNAMSIZ); - ifp->if_capabilities = IFCAP_VLAN_MTU | IFCAP_JUMBO_MTU; + ifp->if_capabilities = IFCAP_VLAN_MTU; /* * Do miibus setup. |