[PATCH] i.MX fec fixes

Sascha Hauer s.hauer at pengutronix.de
Tue Oct 30 12:30:04 EDT 2012


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(-)




More information about the barebox mailing list