summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-06-26 05:52:05 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-06-26 05:52:05 +0000
commit8181c79af949dc579a704ea28ca1d074fe0676bd (patch)
tree292db1576f806552781a42208bc7e1c75fd4ae41 /sys/dev
parent5e19012ae8c72a9ce4ec7157b5dbf57e2e8ce092 (diff)
do not allow a Jumbo size MTU yet.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_bnx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_bnx.c b/sys/dev/pci/if_bnx.c
index 9491a9668ac..5005a0f631d 100644
--- a/sys/dev/pci/if_bnx.c
+++ b/sys/dev/pci/if_bnx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bnx.c,v 1.2 2006/06/26 05:37:05 brad Exp $ */
+/* $OpenBSD: if_bnx.c,v 1.3 2006/06/26 05:52:04 brad Exp $ */
/*-
* Copyright (c) 2006 Broadcom Corporation
@@ -578,7 +578,9 @@ bnx_attach(struct device *parent, struct device *self, void *aux)
ifp->if_baudrate = IF_Gbps(2.5);
else
ifp->if_baudrate = IF_Gbps(1);
+#if 0
ifp->if_hardmtu = BNX_MAX_JUMBO_MTU;
+#endif
IFQ_SET_MAXLEN(&ifp->if_snd, USABLE_TX_BD);
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->eaddr, sc->arpcom.ac_enaddr, ETHER_ADDR_LEN);