diff options
author | Luka Perkov <luka@openwrt.org> | 2014-08-08 13:55:30 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-08-08 13:55:30 +0000 |
commit | 7116b091eba71ea7ffcda28a03a2ea1665df5931 (patch) | |
tree | b1f3ace542e864e355c569b1dcd8d2c3af36364d /target/linux/kirkwood/patches-3.10/0020-net-mv643xx_eth-use-phy_disconnect-instead-of-phy_de.patch | |
parent | f767d83b67b9657dae4f06038c9672e52249e86c (diff) | |
download | master-31e0f0ae-7116b091eba71ea7ffcda28a03a2ea1665df5931.tar.gz master-31e0f0ae-7116b091eba71ea7ffcda28a03a2ea1665df5931.tar.bz2 master-31e0f0ae-7116b091eba71ea7ffcda28a03a2ea1665df5931.zip |
kirkwood: drop 3.10 support
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42077
Diffstat (limited to 'target/linux/kirkwood/patches-3.10/0020-net-mv643xx_eth-use-phy_disconnect-instead-of-phy_de.patch')
-rw-r--r-- | target/linux/kirkwood/patches-3.10/0020-net-mv643xx_eth-use-phy_disconnect-instead-of-phy_de.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/target/linux/kirkwood/patches-3.10/0020-net-mv643xx_eth-use-phy_disconnect-instead-of-phy_de.patch b/target/linux/kirkwood/patches-3.10/0020-net-mv643xx_eth-use-phy_disconnect-instead-of-phy_de.patch deleted file mode 100644 index 8e3887f5d0..0000000000 --- a/target/linux/kirkwood/patches-3.10/0020-net-mv643xx_eth-use-phy_disconnect-instead-of-phy_de.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 799e69d38053e344267360a583676eafe2ed8648 Mon Sep 17 00:00:00 2001 -From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> -Date: Wed, 29 May 2013 09:32:43 +0000 -Subject: [PATCH 20/29] net: mv643xx_eth: use phy_disconnect instead of - phy_detach - -Using a separated mdio bus driver with mvmdio, phy_detach on network device -removal will not stop the phy and finally lead to NULL pointer dereference -in mvmdio due to non-existent network device. Use phy_disconnect instead -to properly stop phy device from accessing network device prior removal of -the network device. - -Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> -Signed-off-by: David S. Miller <davem@davemloft.net> ---- - drivers/net/ethernet/marvell/mv643xx_eth.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/drivers/net/ethernet/marvell/mv643xx_eth.c -+++ b/drivers/net/ethernet/marvell/mv643xx_eth.c -@@ -2803,7 +2803,7 @@ static int mv643xx_eth_remove(struct pla - - unregister_netdev(mp->dev); - if (mp->phy != NULL) -- phy_detach(mp->phy); -+ phy_disconnect(mp->phy); - cancel_work_sync(&mp->tx_timeout_task); - - if (!IS_ERR(mp->clk)) |