[PATCH 0/3] MediaTek ethernet driver refactor and updates
Weijie Gao
weijie.gao at mediatek.com
Fri Jan 10 09:41:05 CET 2025
This patch series will split the switch initialization code from mtk_eth
driver into their own files and then add new SoC and switch support.
Weijie Gao (3):
net: mediatek: split ethernet switch code from mtk_eth.c
net: mediatek: add support for MediaTek MT7987 SoC
net: mediatek: add support for Airoha AN8855 ethernet switch
drivers/net/Kconfig | 21 +-
drivers/net/Makefile | 2 +-
drivers/net/mtk_eth/Kconfig | 39 +
drivers/net/mtk_eth/Makefile | 10 +
drivers/net/mtk_eth/an8855.c | 1096 +++++++++++++++++++++++++++
drivers/net/mtk_eth/mt7530.c | 281 +++++++
drivers/net/mtk_eth/mt7531.c | 293 +++++++
drivers/net/mtk_eth/mt753x.c | 262 +++++++
drivers/net/mtk_eth/mt753x.h | 286 +++++++
drivers/net/mtk_eth/mt7988.c | 160 ++++
drivers/net/{ => mtk_eth}/mtk_eth.c | 981 ++++--------------------
drivers/net/{ => mtk_eth}/mtk_eth.h | 301 ++------
12 files changed, 2631 insertions(+), 1101 deletions(-)
create mode 100644 drivers/net/mtk_eth/Kconfig
create mode 100644 drivers/net/mtk_eth/Makefile
create mode 100644 drivers/net/mtk_eth/an8855.c
create mode 100644 drivers/net/mtk_eth/mt7530.c
create mode 100644 drivers/net/mtk_eth/mt7531.c
create mode 100644 drivers/net/mtk_eth/mt753x.c
create mode 100644 drivers/net/mtk_eth/mt753x.h
create mode 100644 drivers/net/mtk_eth/mt7988.c
rename drivers/net/{ => mtk_eth}/mtk_eth.c (62%)
rename drivers/net/{ => mtk_eth}/mtk_eth.h (59%)
--
2.34.1
More information about the U-Boot
mailing list