Skip to content

Commit 6ca2655

Browse files
LorenzoBianconikuba-moo
authored andcommitted
net: ethernet: mtk_eth_soc: increase MAX_DEVS to 3
This is a preliminary patch to add MT7988 SoC support since it runs 3 macs instead of 2. Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Daniel Golle <[email protected]> Link: https://lore.kernel.org/r/3563e5fab367e7d79a7f1296fabaa5c20f202d7a.1690246066.git.daniel@makrotopia.org Signed-off-by: Jakub Kicinski <[email protected]>
1 parent a008e2a commit 6ca2655

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/ethernet/mediatek/mtk_eth_soc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,8 +1043,8 @@ struct mtk_soc_data {
10431043

10441044
#define MTK_DMA_MONITOR_TIMEOUT msecs_to_jiffies(1000)
10451045

1046-
/* currently no SoC has more than 2 macs */
1047-
#define MTK_MAX_DEVS 2
1046+
/* currently no SoC has more than 3 macs */
1047+
#define MTK_MAX_DEVS 3
10481048

10491049
/* struct mtk_eth - This is the main datasructure for holding the state
10501050
* of the driver

0 commit comments

Comments
 (0)