aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/patches-4.9/702-powerpc_ibm_phy_add_dt_parser.patch
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2017-06-07 23:32:26 +0000
committerMathias Kresin <dev@kresin.me>2017-06-24 22:36:38 +0200
commit6adc757097ca966796ac213ba7f888d59b651661 (patch)
tree5f6278096483ddb74c5e49f00c90f96b876fef98 /target/linux/apm821xx/patches-4.9/702-powerpc_ibm_phy_add_dt_parser.patch
parent4482063c34f6f6885de548d0b40f9ed28d00729b (diff)
downloadupstream-6adc757097ca966796ac213ba7f888d59b651661.tar.gz
upstream-6adc757097ca966796ac213ba7f888d59b651661.tar.bz2
upstream-6adc757097ca966796ac213ba7f888d59b651661.zip
apm821xx: MR24: fix ethernet phy detection on the MR24
To mitigate this problem, the original message has been wrapped automatically by the mailing list software. This patch fixes a problem where the AR8035 PHY can't be detected on the Cisco Meraki MR24, when the ethernet cable is not connected during boot. Russell Senior reported: |This appears to be a problem during probing of the AR8035 |phy chip. When ethernet has no link, the phy detection fails, |and eth0 is not created. Plugging ethernet later has no effect, |because there is no interface as far as the kernel is |concerned. The relevant part of the boot log looks like this: | |[ 0.876611] /plb/opb/emac-rgmii@ef601500: input 0 in RGMII mode |[ 0.882532] /plb/opb/ethernet@ef600c00: reset timeout |[ 0.888546] /plb/opb/ethernet@ef600c00: can't find PHY! (<https://bugs.lede-project.org/index.php?do=details&task_id=687>) Fixes FS#687 Cc: Chris Blake <chrisrblake93@gmail.com> Reported-by: Russell Senior <russell@personaltelco.net> Fixes: 23fbb5a87c56e98 ("emac: Fix EMAC soft reset on 460EX/GT") Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Diffstat (limited to 'target/linux/apm821xx/patches-4.9/702-powerpc_ibm_phy_add_dt_parser.patch')
-rw-r--r--target/linux/apm821xx/patches-4.9/702-powerpc_ibm_phy_add_dt_parser.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/apm821xx/patches-4.9/702-powerpc_ibm_phy_add_dt_parser.patch b/target/linux/apm821xx/patches-4.9/702-powerpc_ibm_phy_add_dt_parser.patch
index f1edb9cc7a..4e53fdfa21 100644
--- a/target/linux/apm821xx/patches-4.9/702-powerpc_ibm_phy_add_dt_parser.patch
+++ b/target/linux/apm821xx/patches-4.9/702-powerpc_ibm_phy_add_dt_parser.patch
@@ -300,7 +300,7 @@ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
/* Init PHY */
if (dev->phy.def->ops->init)
dev->phy.def->ops->init(&dev->phy);
-@@ -2987,6 +3228,12 @@ static int emac_remove(struct platform_d
+@@ -2988,6 +3229,12 @@ static int emac_remove(struct platform_d
if (emac_has_feature(dev, EMAC_FTR_HAS_ZMII))
zmii_detach(dev->zmii_dev, dev->zmii_port);