fsl_pq_mdio: Revive Gianfar TBI PHY support
Subsystems (2)
PATCH 1/1 fsl_pq_mdio: Revive Gianfar TBI PHY support
commit 1577ecef766650a57fceb171acee2b13cbfaf1d3 ("netdev: Merge UCC and gianfar MDIO bus drivers") broke the TSEC TBI PHY support: the driver now refuses to probe TBI MDIO buses as it doesn't know about "fsl,gianfar-tbi" compatible entry, and thus _probe() fails with -ENODEV status.
Fix this by adding "fsl,gianfar-tbi" to the list of known Gianfar MDIO buses.
--- drivers/net/fsl_pq_mdio.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/fsl_pq_mdio.c +1 -0
@@ -321,6 +321,7 @@ static int fsl_pq_mdio_probe(struct of_device *ofdev,dev_set_drvdata (&ofdev->dev, new_bus);if (of_device_is_compatible (np,"fsl,gianfar-mdio" ) || +of_device_is_compatible (np,"fsl,gianfar-tbi" ) ||of_device_is_compatible (np,"gianfar" )) {#ifdef CONFIG_GIANFAR tbipa =get_gfar_tbipa (regs);
Signature · 1 line
1.5.6.5
Quoted 10 lines · Anton Vorontsov
commit
1577ecef766650a57fceb171acee2b13cbfaf1d3("netdev: Merge UCC and gianfar MDIO bus drivers") broke the TSEC TBI PHY support: the driver now refuses to probe TBI MDIO buses as it doesn't know about "fsl,gianfar-tbi" compatible entry, and thus_probe()fails with-ENODEVstatus.Fix this by adding "fsl,gianfar-tbi" to the list of known Gianfar MDIO buses.
Signed-off-by Anton Vorontsov <[email protected]>
From: Andy Fleming <[email protected]>
Date: Thu, 19 Mar 2009 10:56:59 -0500
Quoted 5 lines · Anton Vorontsov
Quoted 3 lines
commit
1577ecef766650a57fceb171acee2b13cbfaf1d3("netdev: Merge UCC and gianfar MDIO bus drivers") broke the TSEC TBI PHY support: the
...
Quoted 3 lines
Quoted 1 line
Signed-off-by Anton Vorontsov <[email protected]>Acked-by Andy Fleming <[email protected]>
Applied