summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-10-07 21:30:39 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-10-07 21:30:39 +0000
commit39493672a452bd703d817b882461d84c7bd507af (patch)
tree1c75b7e59864fac529c2430d16b27348ad48217a
parent451a92c4f61f575f523b91d86b25b8a348b6dfaa (diff)
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