summaryrefslogtreecommitdiff
path: root/target/linux/cns3xxx/patches-4.4/200-broadcom_phy_reinit.patch
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2017-01-27 15:18:00 +0100
committerStijn Tintel <stijn@linux-ipv6.be>2017-02-06 20:13:06 +0100
commitc656cbc56bba7ab0b2cfd8d850707bc60b7f6efe (patch)
treef4e108f4afcd690f86da76ebf448e52c1fd1cd33 /target/linux/cns3xxx/patches-4.4/200-broadcom_phy_reinit.patch
parentee3067c588139ef60a72f5fecac979580d3651e3 (diff)
downloadmtk-20170518-c656cbc56bba7ab0b2cfd8d850707bc60b7f6efe.zip
mtk-20170518-c656cbc56bba7ab0b2cfd8d850707bc60b7f6efe.tar.gz
mtk-20170518-c656cbc56bba7ab0b2cfd8d850707bc60b7f6efe.tar.bz2
kernel: bump to 4.4.45
Refreshed patches for all supported targets. Compiled & tested on cns3xxx & imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> (cherry picked from commit 4d1515070baeca64fedaca957b6b4156976f3b3a) Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Conflicts: target/linux/ar71xx/patches-4.4/920-usb-chipidea-AR933x-platform-support.patch
Diffstat (limited to 'target/linux/cns3xxx/patches-4.4/200-broadcom_phy_reinit.patch')
-rw-r--r--target/linux/cns3xxx/patches-4.4/200-broadcom_phy_reinit.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/cns3xxx/patches-4.4/200-broadcom_phy_reinit.patch b/target/linux/cns3xxx/patches-4.4/200-broadcom_phy_reinit.patch
index 1c72150..0d8ff59 100644
--- a/target/linux/cns3xxx/patches-4.4/200-broadcom_phy_reinit.patch
+++ b/target/linux/cns3xxx/patches-4.4/200-broadcom_phy_reinit.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/phy/broadcom.c
+++ b/drivers/net/phy/broadcom.c
-@@ -332,6 +332,11 @@ static int bcm5481_config_aneg(struct ph
+@@ -362,6 +362,11 @@ static int bcm5481_config_aneg(struct ph
/* Write bits 14:0. */
reg |= (1 << 15);
phy_write(phydev, 0x18, reg);
@@ -11,4 +11,4 @@
+ phy_write(phydev, 0x1c, 0xa41f);
}
- return ret;
+ if (of_property_read_bool(np, "enet-phy-lane-swap")) {