linux-kernelorg-stable/drivers/net/ethernet
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
..
3com eth: 3c515: replace cleanup_module with __exit 2025-10-21 18:28:56 -07:00
8390
actions
adaptec
adi
aeroflex
agere et131x: Add missing check after DMA map 2025-07-17 19:02:55 -07:00
airoha Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-20 09:13:26 -08:00
alacritech
allwinner
alteon
altera net: altera-tse: Init PCS and phylink before registering netdev 2025-11-04 18:15:15 -08:00
amazon net: ena: return 0 in ena_get_rxfh_key_size() when RSS hash key is not configurable 2025-09-29 18:33:53 -07:00
amd devlink: pass extack through to devlink_param::get() 2025-11-20 19:01:22 -08:00
apm
apple
aquantia net: atlantic: convert to ndo_hwtstamp API 2025-10-20 17:30:26 -07:00
arc
asix
atheros net: Use netif_threaded_enable instead of netif_set_threaded in drivers 2025-07-24 18:34:55 -07:00
broadcom devlink: pass extack through to devlink_param::get() 2025-11-20 19:01:22 -08:00
brocade
cadence net: ethernet: Remove redundant pm_runtime_mark_last_busy() calls 2025-10-29 18:55:50 -07:00
calxeda
cavium net: thunderx: convert to use ndo_hwtstamp callbacks 2025-11-04 17:43:52 -08:00
chelsio cxgb4: Rename sched_class to avoid type clash 2025-11-25 17:27:11 -08:00
cirrus
cisco Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-04 08:03:18 +02:00
cortina
davicom
dec net: Fix typos 2025-07-25 10:29:07 -07:00
dlink net: dlink: use dev_kfree_skb_any instead of dev_kfree_skb 2025-10-21 18:38:38 -07:00
emulex be2net: pass wrb_params in case of OS2BMC 2025-11-20 07:39:54 -08:00
engleder tsnep: convert to ndo_hwtstatmp API 2025-10-20 17:30:26 -07:00
ezchip
faraday net: ftgmac100: fix potential NULL pointer access in ftgmac100_phy_disconnect 2025-08-05 16:00:53 -07:00
freescale net: enetc: set external PHY address in IERB for i.MX94 ENETC 2025-11-25 17:44:47 -08:00
fujitsu
fungible funeth: convert to ndo_hwtstamp API 2025-10-20 17:30:26 -07:00
google gve: Add Rx HWTS metadata to AF_XDP ZC mode 2025-11-18 15:52:43 +01:00
hisilicon Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-10-31 06:46:03 -07:00
huawei hinic3: fix misleading error message in hinic3_open_channel() 2025-11-03 16:38:31 -08:00
i825xx
ibm ibmvnic: Increase max subcrq indirect entries with fallback 2025-08-26 09:45:50 +02:00
intel i40e: delete a stray tab 2025-11-24 18:51:06 -08:00
litex
marvell net: mvpp2: extract GRXRINGS from .get_rxnfc 2025-11-24 19:45:02 -08:00
mediatek net: mtk: wed: add dma mask limitation and GFP_DMA32 for device with more than 4GB DRAM 2025-10-12 18:14:55 +01:00
mellanox net/mlx5: implement swp_l4_csum_mode via devlink params 2025-11-20 19:01:22 -08:00
meta eth: fbnic: access @pp through netmem_desc instead of page 2025-11-20 18:45:27 -08:00
micrel net: Fix typos 2025-07-25 10:29:07 -07:00
microchip net: sparx5/lan969x: populate netdev of_node 2025-11-11 18:06:07 -08:00
microsoft net: mana: Drop TX skb on post_work_request failure and unmap resources 2025-11-19 20:11:57 -08:00
moxa
mscc net: mscc: ocelot: Fix use-after-free caused by cyclic delayed work 2025-10-06 11:12:52 -07:00
mucse net: rnpgbe: Add register_netdev 2025-11-04 18:11:37 -08:00
myricom
natsemi net: natsemi: fix `rx_dropped` double accounting on `netif_rx()` failure 2025-09-15 19:06:25 -07:00
neterion net: Fix typos 2025-07-25 10:29:07 -07:00
netronome devlink: pass extack through to devlink_param::get() 2025-11-20 19:01:22 -08:00
ni
nvidia
nxp
oki-semi net: pch_gbe: convert to use ndo_hwtstamp callbacks 2025-11-04 17:43:52 -08:00
packetengines
pasemi
pensando Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-06 09:27:40 -08:00
qlogic devlink: pass extack through to devlink_param::get() 2025-11-20 19:01:22 -08:00
qualcomm net: ethernet: qualcomm: QCOM_PPE should depend on ARCH_QCOM 2025-09-01 12:53:38 -07:00
rdc
realtek r8169: add support for RTL9151A 2025-11-25 17:24:29 -08:00
renesas net: ravb: Correct bad check of timestamp control flags 2025-11-10 16:26:31 -08:00
rocker
samsung
seeq
sfc sfc: fix potential memory leak in efx_mae_process_mport() 2025-10-27 17:55:41 -07:00
sgi
silan
sis
smsc smsc911x: add second read of EEPROM mac when possible corruption seen 2025-09-04 19:09:44 -07:00
socionext
spacemit Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-06 09:27:40 -08:00
stmicro net: stmmac: qcom-ethqos: use read_poll_timeout_atomic() 2025-11-21 18:13:44 -08:00
sun net: Fix typos 2025-07-25 10:29:07 -07:00
sunplus
synopsys
tehuti net: Fix typos 2025-07-25 10:29:07 -07:00
ti devlink: pass extack through to devlink_param::get() 2025-11-20 19:01:22 -08:00
toshiba net: ps3_gelic_net: handle skb allocation failures 2025-11-18 12:31:09 +01:00
tundra
vertexcom
via
wangxun net: txgbe: support getting module EEPROM by page 2025-11-20 12:47:26 +01:00
wiznet net: WQ_PERCPU added to alloc_workqueue users 2025-09-22 17:40:30 -07:00
xilinx net: xilinx: axienet: Fix kernel-doc warnings for missing return descriptions 2025-09-22 16:37:36 -07:00
xircom xirc2ps_cs: fix register access when enabling FullDuplex 2025-08-29 19:05:11 -07:00
xscale
Kconfig net: rnpgbe: Add build support for rnpgbe 2025-11-04 18:11:36 -08:00
Makefile net: rnpgbe: Add build support for rnpgbe 2025-11-04 18:11:36 -08:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c eth: fealnx: fix typo in comments 2025-10-14 19:18:45 -07:00
jme.c
jme.h
korina.c
lantiq_etop.c
lantiq_xrx200.c
oa_tc6.c net: ethernet: oa_tc6: Handle failure of spi_setup 2025-08-29 19:42:07 -07:00