linux-kernelorg-stable/drivers/net/ethernet/freescale
Wei Fang 50bfd9c06f net: enetc: set external PHY address in IERB for i.MX94 ENETC
NETC IP has only one external master MDIO interface (eMDIO) for managing
the external PHYs. ENETC can use the interfaces provided by the EMDIO
function or its port MDIO to access and manage its external PHY. Both
the EMDIO function and the port MDIO are all virtual ports of the eMDIO.

The difference is that the EMDIO function is a 'global port', it can
access all the PHYs on the eMDIO, but port MDIO can only access its own
PHY. To ensure that ENETC can only access its own PHY through port MDIO,
LaBCR[MDIO_PHYAD_PRTAD] needs to be set, which represents the address of
the external PHY connected to ENETC. If the accessed PHY address is not
consistent with LaBCR[MDIO_PHYAD_PRTAD], then the MDIO access initiated
by port MDIO will be invalid.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Link: https://patch.msgid.link/20251119102557.1041881-3-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-25 17:44:47 -08:00
..
dpaa
dpaa2 dpaa2-eth: fix the pointer passed to PTR_ALIGN on Tx path 2025-10-17 16:31:40 -07:00
enetc net: enetc: set external PHY address in IERB for i.MX94 ENETC 2025-11-25 17:44:47 -08:00
fman
fs_enet
Kconfig net: fec: register a fixed phy using fixed_phy_register_100fd if needed 2025-11-04 18:46:13 -08:00
Makefile
fec.h net: fec: remove duplicate macros of the BD status 2025-11-20 18:40:07 -08:00
fec_main.c net: fec: remove duplicate macros of the BD status 2025-11-20 18:40:07 -08:00
fec_mpc52xx.c
fec_mpc52xx.h
fec_mpc52xx_phy.c
fec_ptp.c
fsl_pq_mdio.c
gianfar.c
gianfar.h
gianfar_ethtool.c
ucc_geth.c
ucc_geth.h
ucc_geth_ethtool.c
xgmac_mdio.c