mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] i.MX fec fixes
@ 2012-10-30 16:30 Sascha Hauer
  2012-10-30 16:30 ` [PATCH 1/2] net eth: make edev->init optional Sascha Hauer
  2012-10-30 16:30 ` [PATCH 2/2] net fec: call fec_init at probe time Sascha Hauer
  0 siblings, 2 replies; 5+ messages in thread
From: Sascha Hauer @ 2012-10-30 16:30 UTC (permalink / raw)
  To: barebox; +Cc: wsa

The i.MX fec driver is broken on some boards since the introduction
of phylib. This is not really a phylib problem, but the phylib triggered
it. Problem is that the fec mdio read depends on fec_init called during
eth_register time. The mdiobus though is accessed earlier, so a phy
cannot be detected.

Sascha

----------------------------------------------------------------
Sascha Hauer (2):
      net eth: make edev->init optional
      net fec: call fec_init at probe time

 drivers/net/fec_imx.c |    3 ++-
 net/eth.c             |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2012-10-31 20:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-30 16:30 [PATCH] i.MX fec fixes Sascha Hauer
2012-10-30 16:30 ` [PATCH 1/2] net eth: make edev->init optional Sascha Hauer
2012-10-30 16:30 ` [PATCH 2/2] net fec: call fec_init at probe time Sascha Hauer
2012-10-31  8:25   ` Wolfram Sang
2012-10-31 20:52     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox