[PATCH/RFC] FS_ENET: Removed MII bitbang check for TA

Vitaly Bordug vbordug at ru.mvista.com
Wed Nov 1 22:37:04 EST 2006


On Wed, 1 Nov 2006 13:22:17 +0200 (EET)
Kalle Pokki wrote:

> The PHY abstraction layer expects to receive 0xffff when
> reading PHY registers if there is no PHY at that address. The
> all-ones condition is guaranteed by the pull-up in the MDIO line, so
> there is no need to check for the TA bits.
> 
> With this, the PHY layer is able to probe the MDIO bus as it expects.
> This also removes one board dependency from the fs_enet driver, as
> there is no need to set the phy_mask bits anymore.
> 
> Signed-off-by: Kalle Pokki <kalle.pokki at iki.fi>

At the first sight this it OK.

I'll give it a try, prolly add some bits and forward along with the other 
fs_enet stuff residing in todo. 

Thanks,
-Vitaly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20061101/d8569214/attachment.pgp 


More information about the Linuxppc-embedded mailing list