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_vge.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_vge.c')
-rw-r--r-- | sys/dev/pci/if_vge.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/if_vge.c b/sys/dev/pci/if_vge.c index 39852eed325..00901a78b0f 100644 --- a/sys/dev/pci/if_vge.c +++ b/sys/dev/pci/if_vge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vge.c,v 1.20 2006/03/25 22:41:46 djm Exp $ */ +/* $OpenBSD: if_vge.c,v 1.21 2006/05/20 03:47:56 brad Exp $ */ /* $FreeBSD: if_vge.c,v 1.3 2004/09/11 22:13:25 wpaul Exp $ */ /* * Copyright (c) 2004 @@ -785,8 +785,9 @@ vge_attach(struct device *parent, struct device *self, void *aux) IFQ_SET_MAXLEN(&ifp->if_snd, VGE_IFQ_MAXLEN); IFQ_SET_READY(&ifp->if_snd); - ifp->if_capabilities = IFCAP_VLAN_MTU|IFCAP_CSUM_IPv4| - IFCAP_CSUM_TCPv4|IFCAP_CSUM_UDPv4; + ifp->if_capabilities = IFCAP_VLAN_MTU | IFCAP_JUMBO_MTU | + IFCAP_CSUM_IPv4 | IFCAP_CSUM_TCPv4 | + IFCAP_CSUM_UDPv4; #ifdef VGE_VLAN ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; |