linux/drivers/net/ethernet/mediatek
Christian Marangi d31a49d37c net: airoha: Fix wrong GDM4 register definition
Fix wrong GDM4 register definition, in Airoha SDK GDM4 is defined at
offset 0x2400 but this doesn't make sense as it does conflict with the
CDM4 that is in the same location.

Following the pattern where each GDM base is at the FWD_CFG, currently
GDM4 base offset is set to 0x2500. This is correct but REG_GDM4_FWD_CFG
and REG_GDM4_SRC_PORT_SET are still using the SDK reference with the
0x2400 offset. Fix these 2 define by subtracting 0x100 to each register
to reflect the real address location.

Fixes: 23020f0493 ("net: airoha: Introduce ethernet support for EN7581 SoC")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250120154148.13424-1-ansuelsmth@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-01-22 19:41:40 -08:00
..
Kconfig net: airoha: Introduce ethernet support for EN7581 SoC 2024-07-14 07:46:53 -07:00
Makefile net: airoha: Introduce ethernet support for EN7581 SoC 2024-07-14 07:46:53 -07:00
airoha_eth.c net: airoha: Fix wrong GDM4 register definition 2025-01-22 19:41:40 -08:00
mtk_eth_path.c net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC 2023-07-26 22:05:10 -07:00
mtk_eth_soc.c dim: pass dim_sample to net_dim() by reference 2024-11-03 12:36:54 -08:00
mtk_eth_soc.h net: ethernet: mtk_eth_soc: drop clocks unused by Ethernet driver 2024-08-01 08:58:13 -07:00
mtk_ppe.c net: ethernet: mtk_eth_soc: Use ipv6_addr_{cpu_to_be32,be32_to_cpu} helpers 2024-08-16 10:27:48 -07:00
mtk_ppe.h net: ethernet: mtk_ppe: Change PPE entries number to 16K 2024-07-05 17:20:25 -07:00
mtk_ppe_debugfs.c net: ethernet: mtk_eth_soc: Use ipv6_addr_{cpu_to_be32,be32_to_cpu} helpers 2024-08-16 10:27:48 -07:00
mtk_ppe_offload.c net: ethernet: mtk_eth_soc: ppe: prevent ppe update for non-mtk devices 2024-06-25 15:35:53 +02:00
mtk_ppe_regs.h net: ethernet: mtk_eth_soc: support per-flow accounting on MT7988 2023-08-03 11:28:37 +02:00
mtk_star_emac.c net: ethernet: mtk-star-emac: set mac_managed_pm when probing 2024-07-11 10:13:28 +02:00
mtk_wed.c net: ethernet: mtk_wed: fix use-after-free panic in mtk_wed_setup_tc_block_cb() 2024-08-12 14:12:09 +01:00
mtk_wed.h net: ethernet: mtk_wed: introduce partial AMSDU offload support for MT7988 2023-09-19 18:27:56 +02:00
mtk_wed_debugfs.c net: ethernet: mtk_wed: debugfs: add WED 3.0 debugfs entries 2023-09-19 18:27:56 +02:00
mtk_wed_mcu.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mtk_wed_ops.c net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED) 2022-04-06 14:08:49 +01:00
mtk_wed_regs.h net: ethernet: mtk_wed: add wed 3.0 reset support 2023-09-19 18:27:56 +02:00
mtk_wed_wo.c net: introduce page_frag_cache_drain() 2024-03-05 11:38:14 +01:00
mtk_wed_wo.h net: ethernet: mtk_wed: fix path of MT7988 WO firmware 2024-10-30 18:26:24 -07:00