Skip to content

Commit

Permalink
net: ethernet: mtk-star-emac: new driver
Browse files Browse the repository at this point in the history
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 <bgolaszewski@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
brgl authored and davem330 committed May 22, 2020
1 parent 22f076a commit 8c7bd5a
Show file tree
Hide file tree
Showing 3 changed files with 1,686 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/net/ethernet/mediatek/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ config NET_MEDIATEK_SOC
This driver supports the gigabit ethernet MACs in the
MediaTek SoC family.

config NET_MEDIATEK_STAR_EMAC
tristate "MediaTek STAR Ethernet MAC support"
select PHYLIB
help
This driver supports the ethernet MAC IP first used on
MediaTek MT85** SoCs.

endif #NET_VENDOR_MEDIATEK
1 change: 1 addition & 0 deletions drivers/net/ethernet/mediatek/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@

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

0 comments on commit 8c7bd5a

Please sign in to comment.