Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <jacmet@sunsite.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Peter Korsgaard and committed by
David S. Miller
567990cf d663d181

+1
+1
drivers/net/phy/bcm87xx.c
··· 89 89 phydev->supported = SUPPORTED_10000baseR_FEC; 90 90 phydev->advertising = ADVERTISED_10000baseR_FEC; 91 91 phydev->state = PHY_NOLINK; 92 + phydev->autoneg = AUTONEG_DISABLE; 92 93 93 94 bcm87xx_of_reg_init(phydev); 94 95