From 567990cfccafc580b03b1fb501adf63132c12dcc Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 4 Jul 2012 00:33:57 +0000 Subject: [PATCH] bcm87xx: disable autonegotiation by default The bcm87xx phys don't support autonegotiation, so don't use it by default, as otherwise phy_state_machine() will try to enable it (using c22 requests, which also don't make any sense for the bcm78xx). Signed-off-by: Peter Korsgaard Signed-off-by: David S. Miller --- drivers/net/phy/bcm87xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/phy/bcm87xx.c b/drivers/net/phy/bcm87xx.c index f5f0562934db..9a90dcf31156 100644 --- a/drivers/net/phy/bcm87xx.c +++ b/drivers/net/phy/bcm87xx.c @@ -89,6 +89,7 @@ static int bcm87xx_config_init(struct phy_device *phydev) phydev->supported = SUPPORTED_10000baseR_FEC; phydev->advertising = ADVERTISED_10000baseR_FEC; phydev->state = PHY_NOLINK; + phydev->autoneg = AUTONEG_DISABLE; bcm87xx_of_reg_init(phydev); -- 2.39.5