summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-10-22 22:33:50 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-10-22 22:33:50 +0000
commitcd94eb364735d8324562c46e046b9550775f14ce (patch)
tree69f1de2a1583d58b6811896222169636beb36744 /sys/dev/mii
parent6cead5839119c0b2c113fb52000af87d5a1e8b03 (diff)
Set Jumbo frame settings for Jumbo capable bge(4) adapters.
Tested with BCM5700, BCM5703 and some BCM5704's.
Diffstat (limited to 'sys/dev/mii')
-rw-r--r--sys/dev/mii/brgphy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c
index 107e6db7e23..826d4ec2f93 100644
--- a/sys/dev/mii/brgphy.c
+++ b/sys/dev/mii/brgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brgphy.c,v 1.65 2006/10/20 03:52:22 brad Exp $ */
+/* $OpenBSD: brgphy.c,v 1.66 2006/10/22 22:33:49 brad Exp $ */
/*
* Copyright (c) 2000
@@ -485,6 +485,10 @@ brgphy_reset(struct mii_softc *sc)
if (bge_sc->bge_flags & BGE_PHY_JITTER_BUG)
brgphy_jitter_bug(sc);
+ /* Set Jumbo frame settings in the PHY. */
+ if (bge_sc->bge_flags & BGE_JUMBO_CAP)
+ brgphy_jumbo_settings(sc);
+
/* Enable Ethernet@Wirespeed */
if (!(bge_sc->bge_flags & BGE_NO_ETH_WIRE_SPEED))
brgphy_eth_wirespeed(sc);