projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: handle mdio address and switch port seperate
[openwrt/staging/mkresin.git]
/
target
/
linux
/
ramips
/
files-4.14
/
drivers
/
net
/
ethernet
/
mediatek
/
mdio_rt2880.c
diff --git
a/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.c
b/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.c
index e53fd7f6288902dea29a61f2bda733fa5fe2e97e..8d82c8f7adcc4ed207bb8010fcbe9a61cd6be423 100644
(file)
--- a/
target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.c
+++ b/
target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.c
@@
-218,5
+218,5
@@
void rt2880_port_init(struct fe_priv *priv, struct device_node *np)
}
if (priv->phy->phy_node[0] && mdiobus_get_phy(priv->mii_bus, 0))
- fe_connect_phy_node(priv, priv->phy->phy_node[0]);
+ fe_connect_phy_node(priv, priv->phy->phy_node[0]
, 0
);
}