mbox series

[v2,0/2] Manage PCS/PMA PHY if pressent

Message ID 20221101035800.912644-1-andy.chiu@sifive.com
Headers show
Series Manage PCS/PMA PHY if pressent | expand

Message

Andy Chiu Nov. 1, 2022, 3:57 a.m. UTC
If both PCS/PMA PHY and an external PHY are pressent on the Ethernet,
then the real link status should point to the external facing PHY. At
the same time, we must ensure the link status of the PCS/PMA PHY is good
before transmitting packets.

Change Log:
--- v2 ---
1. Fix typo: use pcs-handle instead of pcs-phy in DT
2. Move printing of status waiting of pcs phy to debug and refactor
   code.

Andy Chiu (2):
  net: xilinx_axi: add PCS/PMA PHY
  net: xilinx_axi: check PCS/PMA PHY status in setup_phy

 drivers/net/xilinx_axi_emac.c | 70 ++++++++++++++++++++++++++++++++++-
 1 file changed, 68 insertions(+), 2 deletions(-)

Comments

Michal Simek Nov. 25, 2022, 8:34 a.m. UTC | #1
On 11/1/22 04:57, Andy Chiu wrote:
> If both PCS/PMA PHY and an external PHY are pressent on the Ethernet,
> then the real link status should point to the external facing PHY. At
> the same time, we must ensure the link status of the PCS/PMA PHY is good
> before transmitting packets.
> 
> Change Log:
> --- v2 ---
> 1. Fix typo: use pcs-handle instead of pcs-phy in DT
> 2. Move printing of status waiting of pcs phy to debug and refactor
>     code.
> 
> Andy Chiu (2):
>    net: xilinx_axi: add PCS/PMA PHY
>    net: xilinx_axi: check PCS/PMA PHY status in setup_phy
> 
>   drivers/net/xilinx_axi_emac.c | 70 ++++++++++++++++++++++++++++++++++-
>   1 file changed, 68 insertions(+), 2 deletions(-)
> 

Applied.
M