1 From f8fb8dbd158c585be7574faf92db7d614b6722ff Mon Sep 17 00:00:00 2001
2 From: Lorenzo Bianconi <lorenzo@kernel.org>
3 Date: Tue, 25 Jul 2023 01:52:27 +0100
4 Subject: [PATCH 100/250] net: ethernet: mtk_eth_soc: increase MAX_DEVS to 3
6 This is a preliminary patch to add MT7988 SoC support since it runs 3
9 Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
10 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
11 Link: https://lore.kernel.org/r/3563e5fab367e7d79a7f1296fabaa5c20f202d7a.1690246066.git.daniel@makrotopia.org
12 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
14 drivers/net/ethernet/mediatek/mtk_eth_soc.h | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
17 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.h
18 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
19 @@ -1040,8 +1040,8 @@ struct mtk_soc_data {
21 #define MTK_DMA_MONITOR_TIMEOUT msecs_to_jiffies(1000)
23 -/* currently no SoC has more than 2 macs */
24 -#define MTK_MAX_DEVS 2
25 +/* currently no SoC has more than 3 macs */
26 +#define MTK_MAX_DEVS 3
28 /* struct mtk_eth - This is the main datasructure for holding the state