summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-02-15 20:21:28 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-02-15 20:21:28 +0000
commitc2b6135d064bbbb7b57e7e78e22304de415a192a (patch)
treeb4600a136ff204ae29151facb9b90daf167c394c /sys
parent0cf4221812fc76bcec259a32736ebb27537a0c6d (diff)
move setting IFCAP_VLAN_MTU back to where it is supposed to be.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_nfe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index 748db93f342..55abd4c0b8d 100644
--- a/sys/dev/pci/if_nfe.c
+++ b/sys/dev/pci/if_nfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nfe.c,v 1.39 2006/02/15 20:08:59 damien Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.40 2006/02/15 20:21:27 brad Exp $ */
/*-
* Copyright (c) 2006 Damien Bergamini <damien.bergamini@free.fr>
@@ -257,8 +257,9 @@ nfe_attach(struct device *parent, struct device *self, void *aux)
IFQ_SET_READY(&ifp->if_snd);
strlcpy(ifp->if_xname, sc->sc_dev.dv_xname, IFNAMSIZ);
+ ifp->if_capabilities = IFCAP_VLAN_MTU;
+
#if NVLAN > 0
- ifp->if_capabilities |= IFCAP_VLAN_MTU;
if (sc->sc_flags & NFE_HW_VLAN)
ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING;
#endif