summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>2015-12-14 00:15:58 +0900
committerDavid S. Miller <davem@davemloft.net>2015-12-15 00:26:31 -0500
commit54499969c94362d4bd28ff2999ffdf0b6f359586 (patch)
treef2b4371c3494f59a28f89fcaada7ef21578c9e77 /drivers
parent1299653affa453bd0bdcd8112ffa392d4ba334e6 (diff)
downloadlinux-54499969c94362d4bd28ff2999ffdf0b6f359586.tar.bz2
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')
-rw-r--r--drivers/net/ethernet/renesas/ravb_main.c3
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);