* [PATCH] net: fec_imx: default phy address to -1 for dt probe
@ 2013-05-23 13:58 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2013-05-23 13:58 UTC (permalink / raw)
To: barebox
To enable automatic probing of the phy.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
drivers/net/fec_imx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index 1a85d15..25d8d8e 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -707,6 +707,7 @@ static int fec_probe(struct device_d *dev)
if (dev->device_node) {
ret = fec_probe_dt(dev, fec);
+ fec->phy_addr = -1;
} else if (pdata) {
fec->interface = pdata->xcv_type;
fec->phy_init = pdata->phy_init;
--
1.8.2.rc2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-23 13:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-23 13:58 [PATCH] net: fec_imx: default phy address to -1 for dt probe Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox