summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_sk.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-05-20 03:47:57 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-05-20 03:47:57 +0000
commit27a017d60e3229f6c92f41f481cf12a9a8946cd5 (patch)
tree343f0e3be1beabb33f55fda747fe9215417976f5 /sys/dev/pci/if_sk.c
parent976ca9a4c08c9df27f252e281d1c258357232ede (diff)
set if_jumbo_mtu and the IFCAP_JUMBO_MTU capabilities flag where
appropriate. ok reyk@
Diffstat (limited to 'sys/dev/pci/if_sk.c')
-rw-r--r--sys/dev/pci/if_sk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index 263e0783bd4..9c48007e585 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.107 2006/05/01 18:47:34 brad Exp $ */
+/* $OpenBSD: if_sk.c,v 1.108 2006/05/20 03:47:56 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_capabilities |= IFCAP_VLAN_MTU;
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;
+
/*
* Do miibus setup.
*/