projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1299653
)
ravb: Add disable 10base
author
Kazuya Mizuguchi
<
[email protected]
>
Sun, 13 Dec 2015 15:15:58 +0000
(
00:15
+0900)
committer
David S. Miller
<
[email protected]
>
Tue, 15 Dec 2015 05:26:31 +0000
(
00:26
-0500)
Ethernet AVB does not support 10 Mbps transfer speed.
Signed-off-by: Kazuya Mizuguchi <
[email protected]
>
Signed-off-by: Yoshihiro Kaneko <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/renesas/ravb_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/renesas/ravb_main.c
b/drivers/net/ethernet/renesas/ravb_main.c
index b69e0c249c4fd488bc9d3ea16313fe31799fa1a9..467d41698fd534e724d53ce03e35091bd01cdcdb 100644
(file)
--- 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);