Re: [PATCH] mdiobus: unbreak phy_device_connect() "scan all PHY addresses" feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andreas,

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.

Thanks
 Sascha


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

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


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux