summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2005-10-07 21:30:38 +0000
committerbrad <brad@openbsd.org>2005-10-07 21:30:38 +0000
commit60a8f847c09e11b537ed6b389e55a335dbbabba9 (patch)
treefe1b3ae6b55593e060dd5e454627af020e001947
parentrevert this change. (diff)
downloadwireguard-openbsd-60a8f847c09e11b537ed6b389e55a335dbbabba9.tar.xz
wireguard-openbsd-60a8f847c09e11b537ed6b389e55a335dbbabba9.zip
IFCAP_VLAN_MTU
-rw-r--r--sys/dev/pci/if_lge.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c
index 8bc321461a7..1a48d1e864c 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.27 2005/10/07 21:23:51 brad Exp $ */
+/* $OpenBSD: if_lge.c,v 1.28 2005/10/07 21:30:38 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -590,6 +590,8 @@ void lge_attach(parent, self, aux)
DPRINTFN(5, ("bcopy\n"));
bcopy(sc->sc_dv.dv_xname, ifp->if_xname, IFNAMSIZ);
+ ifp->if_capabilities = IFCAP_VLAN_MTU;
+
if (CSR_READ_4(sc, LGE_GMIIMODE) & LGE_GMIIMODE_PCSENH)
sc->lge_pcs = 1;
else