zephyr/drivers/ethernet
Lukasz Majewski eccc64fc49 drivers: ethernet: lan865x: Trigger IRQ routine when rca>0 read from TX ftr
This code fixes following issue:

The TX data chunk (with NORX set) is send to chip (via SPI) and at the
same time a frame is received (by the LAN8651 chip), there will be no IRQ
(the CS is still asserted), just the footer will indicate this with the
rca > 0.

Afterwards, new frames are received by LAN865x, but as the previous footer
already is larger than zero there is no IRQ generated.

To be more specific (from [1], chapter 7.7):
----->8-------
RCA – Receive Chunks Available
Asserted:
The MAC-PHY detects CSn deasserted and the previous data footer had no
receive data chunks available (RCA = 0). The IRQn pin will be asserted
when receive data chunks become available for reading while CSn is
deasserted.

Deasserted:
On reception of the first data header following CSn being asserted
------8<------

Doc:
[1] - "OPEN Alliance 10BASE-T1x MAC-PHY Serial Interface"
OPEN_Alliance_10BASET1x_MAC-PHY_Serial_Interface_V1.1.pdf

Signed-off-by: Lukasz Majewski <lukma@denx.de>
2023-12-19 08:51:27 +01:00
..
phy drivers: ksz8081: Some bug fixes & 25MHz RMII 2023-12-11 09:50:58 +01:00
CMakeLists.txt drivers: ethernet: Add NXP ENET Driver 2023-11-28 14:34:02 -06:00
Kconfig drivers: ethernet: Add NXP ENET Driver 2023-11-28 14:34:02 -06:00
Kconfig.adin2111 drivers: ethernet: Remove CONFIG_ETH_ADIN2111_INIT_PRIORITY 2023-10-03 15:10:12 +01:00
Kconfig.cyclonev
Kconfig.dsa drivers: eth: eth_stm32_hal: Add DSA support 2023-10-25 09:55:42 -05:00
Kconfig.dwmac
Kconfig.e1000
Kconfig.enc28j60
Kconfig.enc424j600
Kconfig.esp32 drivers: ethernet: esp32: fix Kconfig 2023-11-27 12:22:02 +00:00
Kconfig.gecko
Kconfig.ivshmem
Kconfig.lan865x drivers: ethernet: Update ETH_LAN865X_TIMEOUT Kconfig description 2023-12-19 08:51:27 +01:00
Kconfig.liteeth
Kconfig.mcux drivers: eth_mcux: cache must be dcache 2023-10-13 10:06:33 +01:00
Kconfig.native_posix drivers: eth: native: Add native-sim support to posix Ethernet driver 2023-10-20 15:00:41 +02:00
Kconfig.numaker drivers: ethernet: support for Nuvoton numaker series 2023-11-03 12:11:33 +00:00
Kconfig.nxp_enet drivers: ethernet: Add NXP ENET Driver 2023-11-28 14:34:02 -06:00
Kconfig.nxp_s32_gmac
Kconfig.nxp_s32_netc drivers: nxp_s32_netc: remove dependency to NET_TEST 2023-11-08 10:10:50 +01:00
Kconfig.sam_gmac
Kconfig.smsc91x
Kconfig.smsc911x
Kconfig.stellaris
Kconfig.stm32_hal
Kconfig.w5500
Kconfig.xlnx_gem
dsa_ksz8xxx.c drivers: spi: update drivers that were using spi cpol and cpha 2023-10-25 18:30:28 -07:00
dsa_ksz8794.h
dsa_ksz8863.h
eth.h random: Rename random header 2023-10-10 14:23:50 +03:00
eth_adin2111.c drivers: ethernet: fix adin set_config lock 2023-11-07 16:22:58 -06:00
eth_adin2111_priv.h
eth_cyclonev.c
eth_cyclonev_priv.h
eth_dwmac.c
eth_dwmac_mmu.c kernel: mm: move kernel mm functions under kernel includes 2023-11-20 09:19:14 +01:00
eth_dwmac_priv.h
eth_dwmac_stm32h7x.c
eth_e1000.c
eth_e1000_priv.h
eth_enc28j60.c drivers: ethernet: fix thread function signatures 2023-10-30 12:24:34 +01:00
eth_enc28j60_priv.h
eth_enc424j600.c drivers: ethernet: fix thread function signatures 2023-10-30 12:24:34 +01:00
eth_enc424j600_priv.h
eth_esp32.c drivers: eth_esp32: allow selecting ref clk source 2023-11-30 10:02:31 +01:00
eth_gecko.c
eth_gecko_priv.h
eth_ivshmem.c drivers: ethernet: Fix eth_ivshmem shared memory mapping 2023-11-27 12:15:43 +00:00
eth_ivshmem_priv.h drivers: ethernet: Fix eth_ivshmem shared memory mapping 2023-11-27 12:15:43 +00:00
eth_ivshmem_queue.c drivers: ethernet: Fix eth_ivshmem shared memory mapping 2023-11-27 12:15:43 +00:00
eth_lan865x.c drivers: ethernet: lan865x: Trigger IRQ routine when rca>0 read from TX ftr 2023-12-19 08:51:27 +01:00
eth_lan865x_priv.h drivers: net: lan865x: Move PLCA configuration to dedicated structure 2023-11-29 10:06:30 +01:00
eth_liteeth.c
eth_mcux.c drivers: eth_mcus: Conditionally wrap IPV4/6 code 2023-11-21 21:36:22 -06:00
eth_native_posix.c drivers: ethernet: fix thread function signatures 2023-10-30 12:24:34 +01:00
eth_native_posix_adapt.c drivers: eth: native: Add native-sim support to posix Ethernet driver 2023-10-20 15:00:41 +02:00
eth_native_posix_priv.h drivers: eth: native: Add native-sim support to posix Ethernet driver 2023-10-20 15:00:41 +02:00
eth_numaker.c drivers: ethernet: support for Nuvoton numaker series 2023-11-03 12:11:33 +00:00
eth_numaker_priv.h drivers: ethernet: support for Nuvoton numaker series 2023-11-03 12:11:33 +00:00
eth_nxp_enet.c drivers: nxp_enet: Improve code readability 2023-12-14 09:30:05 +01:00
eth_nxp_s32_gmac.c soc: nxp_s32: consolidate part number options 2023-11-15 10:25:43 -06:00
eth_nxp_s32_netc.c drivers: ethernet: nxp_s32: include soc.h 2023-11-16 17:53:43 +01:00
eth_nxp_s32_netc_priv.h drivers: eth_nxp_s32_netc: use instance-based DT macros 2023-12-11 09:50:08 +01:00
eth_nxp_s32_netc_psi.c drivers: nxp_s32_netc: configure to grant SI permissions 2023-12-11 12:50:42 +01:00
eth_nxp_s32_netc_vsi.c drivers: eth_nxp_s32_netc: use instance-based DT macros 2023-12-11 09:50:08 +01:00
eth_sam0_gmac.h
eth_sam_gmac.c drivers: eth: sam: Fix regression from 62833 2023-12-05 10:22:13 +00:00
eth_sam_gmac_priv.h
eth_slip_tap.c
eth_smsc91x.c
eth_smsc91x_priv.h
eth_smsc911x.c
eth_smsc911x_priv.h
eth_stellaris.c
eth_stellaris_priv.h
eth_stm32_hal.c drivers: ethernet: remove sections.ld for SOC_SERIES_STM32H5X 2023-12-14 09:32:35 +01:00
eth_stm32_hal_priv.h
eth_w5500.c drivers: ethernet: fix thread function signatures 2023-10-30 12:24:34 +01:00
eth_w5500_priv.h kernel: deprecate K_THREAD_STACK_MEMBER 2023-10-12 11:07:00 +01:00
eth_xlnx_gem.c
eth_xlnx_gem_priv.h
oa_tc6.c drivers: ethernet: tc6: Check footer parity before updating struct oa_tc6 2023-12-19 08:51:27 +01:00
oa_tc6.h drivers: net: lan865x: Always read at least one chunk on IRQ received 2023-12-01 10:54:27 +00:00
phy_cyclonev.c
phy_gecko.c
phy_gecko.h
phy_xlnx_gem.c
phy_xlnx_gem.h