]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: ensure phydev is attached to phylink for C37 AN
authorOng Boon Leong <boon.leong.ong@intel.com>
Mon, 15 Mar 2021 05:27:10 +0000 (13:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2021 19:53:12 +0000 (12:53 -0700)
commitca7634ba3be0f9998db183992f4ad9b01f7af1fb
treeff13c496b49795c5bf306550f069093e63e96225
parent4aa4342b30e1f3f7236261b263552e66109c615e
net: stmmac: ensure phydev is attached to phylink for C37 AN

As the support for MAC-side SGMII C37 AN is added to pcs-xpcs, phydev
should be attached to phylink during driver's open(). So, we change the
condition to "Not C73 AN" instead.

Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c