linux-kernelorg-stable/drivers/net
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
..
arcnet
bonding bonding: 3ad: Add support for 1600G speed 2025-11-20 18:21:30 -08:00
caif
can
dsa
ethernet net: enetc: set external PHY address in IERB for i.MX94 ENETC 2025-11-25 17:44:47 -08:00
fddi
fjes
hamradio
hippi
hyperv net: hyperv: convert to use .get_rx_ring_count 2025-11-24 19:42:30 -08:00
ieee802154
ipa
ipvlan ipvlan: fix sparse warning about __be32 -> u32 2025-11-24 19:48:49 -08:00
mctp
mdio
netdevsim netdevsim: register a new devlink param with default value interface 2025-11-20 19:01:23 -08:00
ovpn
pcs
phy net: ethtool: Add support for 1600Gbps speed 2025-11-20 18:21:29 -08:00
plip
ppp
pse-pd
slip
team
thunderbolt
usb
vmxnet3
vxlan
wan
wireguard
wireless
wwan net: wwan: t7xx: Make local function static 2025-11-21 18:09:43 -08:00
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c
macsec.c
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c netconsole: Increase MAX_USERDATA_ITEMS 2025-11-20 18:47:18 -08:00
netkit.c
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
sungem_phy.c
tap.c
tun.c
tun_vnet.h
veth.c
virtio_net.c
vrf.c
vsockmon.c
xen-netfront.c