diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-06-17 09:54:55 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-06-17 09:54:55 +0000 |
commit | 72d1d554f3f6cb6132831a2c716f91f81619339f (patch) | |
tree | 4a3f56e2ebf8f1a7727e46823869007241bef383 /target/linux/ar71xx/patches-3.18/425-net-phy-at803x-allow-to-configure-via-pdata.patch | |
parent | b0364064f437100a45a81cbbb636cbf4260ce5ff (diff) | |
download | master-187ad058-72d1d554f3f6cb6132831a2c716f91f81619339f.tar.gz master-187ad058-72d1d554f3f6cb6132831a2c716f91f81619339f.tar.bz2 master-187ad058-72d1d554f3f6cb6132831a2c716f91f81619339f.zip |
kernel: update 3.18 to 3.18.16
Changelogs:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46011 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.18/425-net-phy-at803x-allow-to-configure-via-pdata.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.18/425-net-phy-at803x-allow-to-configure-via-pdata.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ar71xx/patches-3.18/425-net-phy-at803x-allow-to-configure-via-pdata.patch b/target/linux/ar71xx/patches-3.18/425-net-phy-at803x-allow-to-configure-via-pdata.patch index d046edef22..34b9bc06db 100644 --- a/target/linux/ar71xx/patches-3.18/425-net-phy-at803x-allow-to-configure-via-pdata.patch +++ b/target/linux/ar71xx/patches-3.18/425-net-phy-at803x-allow-to-configure-via-pdata.patch @@ -40,7 +40,7 @@ }; struct at803x_context { -@@ -61,6 +71,43 @@ struct at803x_context { +@@ -61,6 +72,43 @@ struct at803x_context { u16 led_control; }; @@ -84,7 +84,7 @@ /* save relevant PHY registers to private copy */ static void at803x_context_save(struct phy_device *phydev, struct at803x_context *context) -@@ -208,8 +255,16 @@ static int at803x_probe(struct phy_devic +@@ -208,8 +256,16 @@ static int at803x_probe(struct phy_devic return 0; } @@ -101,7 +101,7 @@ int ret; ret = genphy_config_init(phydev); -@@ -227,6 +282,26 @@ static int at803x_config_init(struct phy +@@ -227,6 +283,26 @@ static int at803x_config_init(struct phy return ret; } @@ -137,11 +137,10 @@ /* * Conduct a hardware reset for AT8030 every time a link loss is -@@ -287,6 +365,26 @@ static void at803x_link_change_notify(st - } else { +@@ -288,6 +366,26 @@ static void at803x_link_change_notify(st priv->phy_reset = false; } -+ } + } + if (pdata->fixup_rgmii_tx_delay && + phydev->speed != priv->prev_speed) { + switch (phydev->speed) { @@ -161,9 +160,10 @@ + } + + priv->prev_speed = phydev->speed; - } ++ } } + static struct phy_driver at803x_driver[] = { --- /dev/null +++ b/include/linux/platform_data/phy-at803x.h @@ -0,0 +1,11 @@ |