Skip to content

Commit 8c7bd5a

Browse files
brgldavem330
authored andcommitted
net: ethernet: mtk-star-emac: new driver
This adds the driver for the MediaTek STAR Ethernet MAC currently used on the MT8* SoC family. For now we only support full-duplex. Signed-off-by: Bartosz Golaszewski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 22f076a commit 8c7bd5a

File tree

3 files changed

+1686
-0
lines changed

3 files changed

+1686
-0
lines changed

drivers/net/ethernet/mediatek/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,11 @@ config NET_MEDIATEK_SOC
1414
This driver supports the gigabit ethernet MACs in the
1515
MediaTek SoC family.
1616

17+
config NET_MEDIATEK_STAR_EMAC
18+
tristate "MediaTek STAR Ethernet MAC support"
19+
select PHYLIB
20+
help
21+
This driver supports the ethernet MAC IP first used on
22+
MediaTek MT85** SoCs.
23+
1724
endif #NET_VENDOR_MEDIATEK

drivers/net/ethernet/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55

66
obj-$(CONFIG_NET_MEDIATEK_SOC) += mtk_eth.o
77
mtk_eth-y := mtk_eth_soc.o mtk_sgmii.o mtk_eth_path.o
8+
obj-$(CONFIG_NET_MEDIATEK_STAR_EMAC) += mtk_star_emac.o

0 commit comments

Comments
 (0)