Hi li
clear bit SWITCH_EN in register HW_ENET_SWI_MODE_CONFIG can set
signal sx_ena to 0. When configuration signal sx_ena is set to '0', switch is in passthrough mode.
FEC function and L2 switch can work independently and exclusively.
Passthrough mode can be supported by fec driver and L2 switch mode can be supported by fec_switch driver.
Both functions are mutual exclusive.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------