Re: [PATCH 2/3] of_mdio: add new DT property 'autoneg' for fixed-link

2015-07-11 Thread Stas Sergeev
11.07.2015 03:22, Florian Fainelli пишет: On 10/07/15 14:02, Stas Sergeev wrote: 10.07.2015 23:39, Florian Fainelli пишет: - in-band status is an implementation delail, and it is specific to a particular protocols. If you request the in-band status for some protocol that doesn't support it, per

Re: [PATCH 2/3] of_mdio: add new DT property 'autoneg' for fixed-link

2015-07-11 Thread Florian Fainelli
On 10/07/15 14:02, Stas Sergeev wrote: > 10.07.2015 23:39, Florian Fainelli пишет: >>> - in-band status is an implementation delail, and it is >>> specific to a particular protocols. If you request the >>> in-band status for some protocol that doesn't support >>> it, perhaps you should get -EINVAL,

Re: [PATCH 2/3] of_mdio: add new DT property 'autoneg' for fixed-link

2015-07-10 Thread Stas Sergeev
10.07.2015 23:39, Florian Fainelli пишет: - in-band status is an implementation delail, and it is specific to a particular protocols. If you request the in-band status for some protocol that doesn't support it, perhaps you should get -EINVAL, because such a config makes no sense. With autonegotia

Re: [PATCH 2/3] of_mdio: add new DT property 'autoneg' for fixed-link

2015-07-10 Thread Florian Fainelli
On 10/07/15 13:08, Stas Sergeev wrote: > 10.07.2015 21:37, Florian Fainelli пишет: >> On 10/07/15 09:43, Stas Sergeev wrote: >>> Currently for fixed-link the MAC driver decides whether to use the >>> link status auto-negotiation or not. >>> Unfortunately the auto-negotiation may not work when expec

Re: [PATCH 2/3] of_mdio: add new DT property 'autoneg' for fixed-link

2015-07-10 Thread Stas Sergeev
10.07.2015 21:37, Florian Fainelli пишет: On 10/07/15 09:43, Stas Sergeev wrote: Currently for fixed-link the MAC driver decides whether to use the link status auto-negotiation or not. Unfortunately the auto-negotiation may not work when expected by the MAC driver. Sebastien Rannou explains: <<

Re: [PATCH 2/3] of_mdio: add new DT property 'autoneg' for fixed-link

2015-07-10 Thread Florian Fainelli
On 10/07/15 09:43, Stas Sergeev wrote: > > Currently for fixed-link the MAC driver decides whether to use the > link status auto-negotiation or not. > Unfortunately the auto-negotiation may not work when expected by > the MAC driver. Sebastien Rannou explains: > << Yes, I confirm that my HW does n

[PATCH 2/3] of_mdio: add new DT property 'autoneg' for fixed-link

2015-07-10 Thread Stas Sergeev
Currently for fixed-link the MAC driver decides whether to use the link status auto-negotiation or not. Unfortunately the auto-negotiation may not work when expected by the MAC driver. Sebastien Rannou explains: << Yes, I confirm that my HW does not generate an in-band status. AFAIK, it's a PHY th