From cd94eb364735d8324562c46e046b9550775f14ce Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 22 Oct 2006 22:33:50 +0000 Subject: Set Jumbo frame settings for Jumbo capable bge(4) adapters. Tested with BCM5700, BCM5703 and some BCM5704's. --- sys/dev/mii/brgphy.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/dev/mii') 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); -- cgit v1.2.3