[PATCH] phylib delayed scan

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


As mentioned scanning the mdiobus for devices can take some time which
unnecessarily delays the boot when no network is needed, so scan the bus
when somebody is interested in the devices.

Sascha

----------------------------------------------------------------
Sascha Hauer (2):
      mdiobus: return existing phydev in mdiobus_scan
      mdiobus: do not scan the bus at registration time

 drivers/net/phy/mdio_bus.c |   26 ++++----------------------
 drivers/net/phy/phy.c      |    4 ++--
 2 files changed, 6 insertions(+), 24 deletions(-)



More information about the barebox mailing list