summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-06-13 01:33:46 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-06-13 01:33:46 +0000
commit611bb60da9d4abe2cab3afece4769d9d535fd2ed (patch)
treedb91951fd51625b09299adef574bd001705ade35 /sys
parentf87ea2aef01a9302a58f9d26a881727aa5e8ffac (diff)
rev 1.13 fixed the MTU ioctl handler to allow adjusting the MTU
but it seems Jumbo support is broken, so disable Jumbos for now. issue reported by jolan@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_vge.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_vge.c b/sys/dev/pci/if_vge.c
index 52a4f13c67f..8d30c01c8e5 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.24 2006/05/28 00:20:21 brad Exp $ */
+/* $OpenBSD: if_vge.c,v 1.25 2006/06/13 01:33:45 brad Exp $ */
/* $FreeBSD: if_vge.c,v 1.3 2004/09/11 22:13:25 wpaul Exp $ */
/*
* Copyright (c) 2004
@@ -782,7 +782,9 @@ vge_attach(struct device *parent, struct device *self, void *aux)
ifp->if_watchdog = vge_watchdog;
ifp->if_init = vge_init;
ifp->if_baudrate = 1000000000;
+#ifdef VGE_JUMBO
ifp->if_hardmtu = VGE_JUMBO_MTU;
+#endif
IFQ_SET_MAXLEN(&ifp->if_snd, VGE_IFQ_MAXLEN);
IFQ_SET_READY(&ifp->if_snd);