Re: [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Florian Fainelli
2015-03-27 7:20 GMT-07:00 Stas Sergeev : > 27.03.2015 16:59, Andrew Lunn пишет: >>> But there is no MDIO, because SGMII AFAIK doesn't need MDIO. >>> SGMII has in-band status, but for some reason it seems currently >>> linux is not ready for such setup - this is what my patch addresses. >> >>

Re: [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Stas Sergeev
27.03.2015 16:59, Andrew Lunn пишет: >> But there is no MDIO, because SGMII AFAIK doesn't need MDIO. >> SGMII has in-band status, but for some reason it seems currently >> linux is not ready for such setup - this is what my patch addresses. > > Hacking the fixed-link driver feels wrong to me. You

Re: [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Andrew Lunn
> But there is no MDIO, because SGMII AFAIK doesn't need MDIO. > SGMII has in-band status, but for some reason it seems currently > linux is not ready for such setup - this is what my patch addresses. Hacking the fixed-link driver feels wrong to me. You probably want to implement an SGMII-link

Re: [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Stas Sergeev
27.03.2015 16:39, Andrew Lunn пишет: > On Fri, Mar 27, 2015 at 04:28:28PM +0300, Stas Sergeev wrote: >> Hello. >> >> Currently the fixed-link DT binding is pre-configured and >> cannot be changed in run-time. This means the cable unplug >> events are not being detected, and the link parameters

Re: [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Andrew Lunn
On Fri, Mar 27, 2015 at 04:28:28PM +0300, Stas Sergeev wrote: > Hello. > > Currently the fixed-link DT binding is pre-configured and > cannot be changed in run-time. This means the cable unplug > events are not being detected, and the link parameters can't > be negotiated. O.K, i will ask the

[PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Stas Sergeev
Hello. Currently the fixed-link DT binding is pre-configured and cannot be changed in run-time. This means the cable unplug events are not being detected, and the link parameters can't be negotiated. The following patches are needed when mvneta is used in fixed-link mode (without MDIO). They add

[PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Stas Sergeev
Hello. Currently the fixed-link DT binding is pre-configured and cannot be changed in run-time. This means the cable unplug events are not being detected, and the link parameters can't be negotiated. The following patches are needed when mvneta is used in fixed-link mode (without MDIO). They add

Re: [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Andrew Lunn
On Fri, Mar 27, 2015 at 04:28:28PM +0300, Stas Sergeev wrote: Hello. Currently the fixed-link DT binding is pre-configured and cannot be changed in run-time. This means the cable unplug events are not being detected, and the link parameters can't be negotiated. O.K, i will ask the dumb

Re: [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Stas Sergeev
27.03.2015 16:39, Andrew Lunn пишет: On Fri, Mar 27, 2015 at 04:28:28PM +0300, Stas Sergeev wrote: Hello. Currently the fixed-link DT binding is pre-configured and cannot be changed in run-time. This means the cable unplug events are not being detected, and the link parameters can't be

Re: [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Andrew Lunn
But there is no MDIO, because SGMII AFAIK doesn't need MDIO. SGMII has in-band status, but for some reason it seems currently linux is not ready for such setup - this is what my patch addresses. Hacking the fixed-link driver feels wrong to me. You probably want to implement an SGMII-link

Re: [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Stas Sergeev
27.03.2015 16:59, Andrew Lunn пишет: But there is no MDIO, because SGMII AFAIK doesn't need MDIO. SGMII has in-band status, but for some reason it seems currently linux is not ready for such setup - this is what my patch addresses. Hacking the fixed-link driver feels wrong to me. You

Re: [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Florian Fainelli
2015-03-27 7:20 GMT-07:00 Stas Sergeev s...@list.ru: 27.03.2015 16:59, Andrew Lunn пишет: But there is no MDIO, because SGMII AFAIK doesn't need MDIO. SGMII has in-band status, but for some reason it seems currently linux is not ready for such setup - this is what my patch addresses. Hacking