summaryrefslogtreecommitdiff
path: root/target/linux/mediatek/patches-4.4/0079-net-next-mediatek-add-fixed-phy-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/patches-4.4/0079-net-next-mediatek-add-fixed-phy-support.patch')
-rw-r--r--target/linux/mediatek/patches-4.4/0079-net-next-mediatek-add-fixed-phy-support.patch9
1 files changed, 2 insertions, 7 deletions
diff --git a/target/linux/mediatek/patches-4.4/0079-net-next-mediatek-add-fixed-phy-support.patch b/target/linux/mediatek/patches-4.4/0079-net-next-mediatek-add-fixed-phy-support.patch
index 6ebc1d2..669febb 100644
--- a/target/linux/mediatek/patches-4.4/0079-net-next-mediatek-add-fixed-phy-support.patch
+++ b/target/linux/mediatek/patches-4.4/0079-net-next-mediatek-add-fixed-phy-support.patch
@@ -14,11 +14,9 @@ Signed-off-by: John Crispin <john@phrozen.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 6 ++++++
1 file changed, 6 insertions(+)
-diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-index 3436c7b..ab61789 100644
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -229,6 +229,9 @@ static int mtk_phy_connect(struct mtk_mac *mac)
+@@ -229,6 +229,9 @@ static int mtk_phy_connect(struct mtk_ma
u32 val, ge_mode;
np = of_parse_phandle(mac->of_node, "phy-handle", 0);
@@ -28,7 +26,7 @@ index 3436c7b..ab61789 100644
if (!np)
return -ENODEV;
-@@ -257,6 +260,9 @@ static int mtk_phy_connect(struct mtk_mac *mac)
+@@ -257,6 +260,9 @@ static int mtk_phy_connect(struct mtk_ma
mac->phy_dev->autoneg = AUTONEG_ENABLE;
mac->phy_dev->speed = 0;
mac->phy_dev->duplex = 0;
@@ -38,6 +36,3 @@ index 3436c7b..ab61789 100644
mac->phy_dev->supported &= PHY_GBIT_FEATURES | SUPPORTED_Pause |
SUPPORTED_Asym_Pause;
mac->phy_dev->advertising = mac->phy_dev->supported |
---
-1.7.10.4
-