From d0a4947e475b54c018975f22ae30fa3d2eda1d5a Mon Sep 17 00:00:00 2001 From: jkim Date: Fri, 18 Jan 2008 22:09:50 +0000 Subject: Add a flag for Ethernet@WireSpeed capability and correct chip revisions. The idea was taken from OpenBSD and cross-referenced with Linux driver. --- sys/dev/mii/brgphy.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys/dev/mii') diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index d35125e..eed7407 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -915,13 +915,7 @@ brgphy_reset(struct mii_softc *sc) brgphy_jumbo_settings(sc, ifp->if_mtu); - /* - * Don't enable Ethernet@WireSpeed for the 5700 or the - * 5705 A1 and A2 chips. - */ - if (bge_sc->bge_asicrev != BGE_ASICREV_BCM5700 && - bge_sc->bge_chipid != BGE_CHIPID_BCM5705_A1 && - bge_sc->bge_chipid != BGE_CHIPID_BCM5705_A2) + if (bge_sc->bge_flags & BGE_FLAG_WIRESPEED) brgphy_ethernet_wirespeed(sc); /* Enable Link LED on Dell boxes */ -- cgit v1.1