[PATCH] mdiobus: unbreak phy_device_connect() "scan all PHY addresses" feature
s.hauer at pengutronix.de
Wed Nov 7 03:05:50 EST 2012
On Wed, Nov 07, 2012 at 02:52:19AM +0100, Andreas Pretzsch wrote:
> Calling phy_device_connect() with a PHY address of -1 will scan for a PHY
> in the address range of 0..PHY_MAX_ADDR and registers the first one found.
> This was broken by commit 09254f639c94cc7dc47fff7638dc8c7f88d700b1
> "mdiobus: do not scan the bus at registration time", erroneously scanning
> for -1 as PHY address.
Folded this into the original patch breaking it.
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox