diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-05-20 03:47:57 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-05-20 03:47:57 +0000 |
commit | 27a017d60e3229f6c92f41f481cf12a9a8946cd5 (patch) | |
tree | 343f0e3be1beabb33f55fda747fe9215417976f5 /sys/dev/pci/if_nge.c | |
parent | 976ca9a4c08c9df27f252e281d1c258357232ede (diff) |
set if_jumbo_mtu and the IFCAP_JUMBO_MTU capabilities flag where
appropriate.
ok reyk@
Diffstat (limited to 'sys/dev/pci/if_nge.c')
-rw-r--r-- | sys/dev/pci/if_nge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nge.c b/sys/dev/pci/if_nge.c index 8fcb70f4099..f6e22d327b8 100644 --- a/sys/dev/pci/if_nge.c +++ b/sys/dev/pci/if_nge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nge.c,v 1.51 2006/03/25 22:41:45 djm Exp $ */ +/* $OpenBSD: if_nge.c,v 1.52 2006/05/20 03:47:56 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -890,7 +890,7 @@ nge_attach(parent, self, aux) DPRINTFN(5, ("%s: bcopy\n", sc->sc_dv.dv_xname)); bcopy(sc->sc_dv.dv_xname, ifp->if_xname, IFNAMSIZ); - ifp->if_capabilities = IFCAP_VLAN_MTU; + ifp->if_capabilities = IFCAP_VLAN_MTU | IFCAP_JUMBO_MTU; #ifdef NGE_VLAN ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; |