diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-11-27 18:26:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-11-27 18:26:12 +0000 |
commit | 9bd5d96ce3493b6242edcc9d3e983686fae733e5 (patch) | |
tree | 0234ea711258860db8140e1042d6497487defb4b /target/linux/mpc85xx/patches-3.14 | |
parent | 339c9c5d6118fb636e557a48bd104327366538a7 (diff) | |
download | upstream-9bd5d96ce3493b6242edcc9d3e983686fae733e5.tar.gz upstream-9bd5d96ce3493b6242edcc9d3e983686fae733e5.tar.bz2 upstream-9bd5d96ce3493b6242edcc9d3e983686fae733e5.zip |
mpc85xx: remove the PHY reset change patch (no longer necessary)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43411 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mpc85xx/patches-3.14')
-rw-r--r-- | target/linux/mpc85xx/patches-3.14/750-phy_reset_anenable.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/mpc85xx/patches-3.14/750-phy_reset_anenable.patch b/target/linux/mpc85xx/patches-3.14/750-phy_reset_anenable.patch deleted file mode 100644 index bb30fe9efc..0000000000 --- a/target/linux/mpc85xx/patches-3.14/750-phy_reset_anenable.patch +++ /dev/null @@ -1,30 +0,0 @@ -From b4da0f2e86748379fc43e82b83458eb054af8d19 Mon Sep 17 00:00:00 2001 -From: Heiner Kallweit <hkallweit1@gmail.com> -Date: Mon, 17 Nov 2014 21:41:56 +0100 -Subject: net: phy: set BMCR_ANENABLE when phy is reset - -Kernel 3.14 introduced an additional reset of the switch phys -causing autonegotiation to be disabled. -Change reset command to enable autonegotiation. - -Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> ---- - drivers/net/phy/phy_device.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c -index 25f7419..98445e6 100644 ---- a/drivers/net/phy/phy_device.c -+++ b/drivers/net/phy/phy_device.c -@@ -539,7 +539,7 @@ int phy_init_hw(struct phy_device *phydev) - if (!phydev->drv || !phydev->drv->config_init) - return 0; - -- ret = phy_write(phydev, MII_BMCR, BMCR_RESET); -+ ret = phy_write(phydev, MII_BMCR, BMCR_RESET | BMCR_ANENABLE); - if (ret < 0) - return ret; - --- -2.1.3 - |