diff options
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.patch | 4 |
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")) { |