diff options
author | Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com> | 2015-12-14 00:15:58 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-15 00:26:31 -0500 |
commit | 54499969c94362d4bd28ff2999ffdf0b6f359586 (patch) | |
tree | f2b4371c3494f59a28f89fcaada7ef21578c9e77 /drivers/net/ethernet | |
parent | 1299653affa453bd0bdcd8112ffa392d4ba334e6 (diff) | |
download | linux-stable-54499969c94362d4bd28ff2999ffdf0b6f359586.tar.gz linux-stable-54499969c94362d4bd28ff2999ffdf0b6f359586.tar.bz2 linux-stable-54499969c94362d4bd28ff2999ffdf0b6f359586.zip |
ravb: Add disable 10base
Ethernet AVB does not support 10 Mbps transfer speed.
Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/renesas/ravb_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c index b69e0c249c4f..467d41698fd5 100644 --- a/drivers/net/ethernet/renesas/ravb_main.c +++ b/drivers/net/ethernet/renesas/ravb_main.c @@ -905,6 +905,9 @@ static int ravb_phy_init(struct net_device *ndev) netdev_info(ndev, "limited PHY to 100Mbit/s\n"); } + /* 10BASE is not supported */ + phydev->supported &= ~PHY_10BT_FEATURES; + netdev_info(ndev, "attached PHY %d (IRQ %d) to driver %s\n", phydev->addr, phydev->irq, phydev->drv->name); |