zephyr/drivers/ethernet
Armin Brauns a0026d1589 drivers: ethernet: stm32: fix multicast filter configuration
With CONFIG_ETH_STM32_MULTICAST_FILTER=n, MACFFR was being set to 0 instead
of ETH_MULTICASTFRAMESFILTER_NONE, blocking all multicast traffic.

Instead, reset all the relevant bits first, then set either
ETH_MULTICASTFRAMESFILTER_HASHTABLE or ETH_MULTICASTFRAMESFILTER_NONE
depending on Kconfig.

This issue was introduced in #53850, `git diff a5f9fc2~2 a5f9fc2` (the
total diff of that PR) shows what happened - the
`tmp |= ETH_MULTICASTFRAMESFILTER_NONE;` line was removed completely
instead of being gated by `!defined(CONFIG_ETH_STM32_MULTICAST_FILTER)`.

Signed-off-by: Armin Brauns <armin.brauns@embedded-solutions.at>
2023-02-08 11:24:02 +01:00
..
phy drivers: eth: phy_mii: support Gigabit ethernet 2023-01-24 14:37:20 +01:00
CMakeLists.txt drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
dsa_ksz8xxx.c drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
dsa_ksz8794.h
dsa_ksz8863.h
eth_cyclonev_priv.h drivers: ethernet: bugfix for Cyclone V Ethernet 2023-01-24 17:46:17 -06:00
eth_cyclonev.c driver: ethernet: cvsx remove ugly whitespace 2023-01-24 17:46:17 -06:00
eth_dwmac_mmu.c cache: Fix libraries and drivers 2022-12-01 13:40:56 -05:00
eth_dwmac_priv.h
eth_dwmac_stm32h7x.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
eth_dwmac.c cache: Fix libraries and drivers 2022-12-01 13:40:56 -05:00
eth_e1000_priv.h drivers: eth_e1000: Allow several instances 2022-11-28 13:19:51 +01:00
eth_e1000.c all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
eth_enc28j60_priv.h drivers: ethernet: enc28j60: Added carrier status update functionality 2022-10-31 17:03:18 +01:00
eth_enc28j60.c drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
eth_enc424j600_priv.h
eth_enc424j600.c drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
eth_esp32.c net: ethernet: Align Ethernet drivers/L2 with iface state upgrade 2022-10-20 10:00:31 +02:00
eth_gecko_priv.h
eth_gecko.c drivers: eth: gecko: fix GPIO configuration 2022-12-21 23:32:57 +09:00
eth_liteeth.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
eth_mcux.c all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
eth_native_posix_adapt.c
eth_native_posix_priv.h
eth_native_posix.c all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
eth_nxp_s32_netc_priv.h drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
eth_nxp_s32_netc_psi.c drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
eth_nxp_s32_netc_vsi.c drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
eth_nxp_s32_netc.c drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
eth_sam0_gmac.h
eth_sam_gmac_priv.h
eth_sam_gmac.c net: pkt: Introduce minimum length requirement to net_pkt_get_frag() 2022-11-19 07:39:32 -05:00
eth_smsc911x_priv.h
eth_smsc911x.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
eth_stellaris_priv.h
eth_stellaris.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
eth_stm32_hal_priv.h drivers: ethernet: stm32: Enabling stats for the driver. 2023-01-27 00:56:06 +09:00
eth_stm32_hal.c drivers: ethernet: stm32: fix multicast filter configuration 2023-02-08 11:24:02 +01:00
eth_w5500_priv.h
eth_w5500.c drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
eth_xlnx_gem_priv.h include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
eth_xlnx_gem.c net: ethernet: Align Ethernet drivers/L2 with iface state upgrade 2022-10-20 10:00:31 +02:00
eth.h
Kconfig drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
Kconfig.cyclonev drivers: ethernet: adding support for Cyclone V SoC DK ethernet 2022-10-06 20:19:43 -07:00
Kconfig.dsa drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
Kconfig.dwmac drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
Kconfig.e1000 drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
Kconfig.enc28j60 drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
Kconfig.enc424j600 drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
Kconfig.esp32 drivers: ethernet: Add ESP32 Ethernet driver 2022-10-01 14:51:28 -04:00
Kconfig.gecko drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
Kconfig.liteeth drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
Kconfig.mcux drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
Kconfig.native_posix
Kconfig.nxp_s32 drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
Kconfig.sam_gmac net: pkt: Introduce minimum length requirement to net_pkt_get_frag() 2022-11-19 07:39:32 -05:00
Kconfig.smsc911x drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
Kconfig.stellaris drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
Kconfig.stm32_hal drivers: ethernet: stm32f7: Enable use of HAL V2 API 2023-01-20 13:03:27 +00:00
Kconfig.w5500 drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
Kconfig.xlnx_gem drivers: ethernet: Update Kconfig 2022-08-15 14:32:45 +02:00
phy_cyclonev.c drivers: ethernet: cvsx change bit label 2023-01-24 17:46:17 -06:00
phy_gecko.c
phy_gecko.h
phy_xlnx_gem.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
phy_xlnx_gem.h