diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-07-03 20:33:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-09 03:09:20 -0400 |
commit | 567990cfccafc580b03b1fb501adf63132c12dcc (patch) | |
tree | 60829451301a2c7b49827f9a80d5de1d0c97ccfe /drivers/net/phy/bcm87xx.c | |
parent | d663d181b9e92d80c2455e460e932d34e7a2a7ae (diff) |
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>
Diffstat (limited to 'drivers/net/phy/bcm87xx.c')
-rw-r--r-- | drivers/net/phy/bcm87xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
89 | phydev->supported = SUPPORTED_10000baseR_FEC; | 89 | phydev->supported = SUPPORTED_10000baseR_FEC; |
90 | phydev->advertising = ADVERTISED_10000baseR_FEC; | 90 | phydev->advertising = ADVERTISED_10000baseR_FEC; |
91 | phydev->state = PHY_NOLINK; | 91 | phydev->state = PHY_NOLINK; |
92 | phydev->autoneg = AUTONEG_DISABLE; | ||
92 | 93 | ||
93 | bcm87xx_of_reg_init(phydev); | 94 | bcm87xx_of_reg_init(phydev); |
94 | 95 | ||