diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-10-07 21:30:39 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-10-07 21:30:39 +0000 |
commit | 39493672a452bd703d817b882461d84c7bd507af (patch) | |
tree | 1c75b7e59864fac529c2430d16b27348ad48217a /sys/dev/pci | |
parent | 451a92c4f61f575f523b91d86b25b8a348b6dfaa (diff) |
IFCAP_VLAN_MTU
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_lge.c | 4 |
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 |