netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] of: of_mdio: Add marvell,88e1145 to whitelist of PHY compatibilities.
@ 2016-02-03 19:35 Aaro Koskinen
  2016-02-03 20:08 ` Andrew Lunn
  0 siblings, 1 reply; 6+ messages in thread
From: Aaro Koskinen @ 2016-02-03 19:35 UTC (permalink / raw)
  To: David Miller
  Cc: netdev, Florian Fainelli, Andrew Lunn, David Daney, Aaro Koskinen

Commit ae461131960b ("of: of_mdio: Add a whitelist of PHY
compatibilities.") missed one compatible string used in in-tree DTBs:
in OCTEON, for selected boards, the kernel DTB pruning code will overwrite
the DTB compatible string with "marvell,88e1145", which is missing
from the whitelist. Add it.

The patch fixes broken networking on EdgeRouter Lite.

Fixes: ae461131960b ("of: of_mdio: Add a whitelist of PHY compatibilities.")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
---
 drivers/of/of_mdio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c
index 5648317..39c4be4 100644
--- a/drivers/of/of_mdio.c
+++ b/drivers/of/of_mdio.c
@@ -154,6 +154,7 @@ static const struct of_device_id whitelist_phys[] = {
 	{ .compatible = "marvell,88E1111", },
 	{ .compatible = "marvell,88e1116", },
 	{ .compatible = "marvell,88e1118", },
+	{ .compatible = "marvell,88e1145", },
 	{ .compatible = "marvell,88e1149r", },
 	{ .compatible = "marvell,88e1310", },
 	{ .compatible = "marvell,88E1510", },
-- 
2.4.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-03 21:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-03 19:35 [PATCH] of: of_mdio: Add marvell,88e1145 to whitelist of PHY compatibilities Aaro Koskinen
2016-02-03 20:08 ` Andrew Lunn
2016-02-03 20:14   ` David Daney
2016-02-03 20:28     ` Andrew Lunn
2016-02-03 21:21     ` Aaro Koskinen
2016-02-03 20:50   ` Aaro Koskinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).