Skip to content

Commit

Permalink
bcm87xx: disable autonegotiation by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Korsgaard authored and David S. Miller committed Jul 9, 2012
1 parent d663d18 commit 567990c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/phy/bcm87xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 567990c

Please sign in to comment.