summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mediatek/Makefile
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2019-06-01 08:03:12 +0800
committerDavid S. Miller <davem@davemloft.net>2019-06-03 15:00:00 -0700
commit9ffee4a8276c734956b8eab19d1c9b0ecb6b79c5 (patch)
tree911d7962a30b6266d95be591e6d59120904dbc3d /drivers/net/ethernet/mediatek/Makefile
parent3277fc683ae57f15b646b500c216e380821231c8 (diff)
net: ethernet: mediatek: Extend SGMII related functions
Add SGMII related logic into a separate file, and also provides options for forcing 1G, 2.5, AN mode for the target PHY, that can be determined from SGMII node in DTS. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mediatek/Makefile')
-rw-r--r--drivers/net/ethernet/mediatek/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mediatek/Makefile b/drivers/net/ethernet/mediatek/Makefile
index d41a2414c575..b8206605154e 100644
--- a/drivers/net/ethernet/mediatek/Makefile
+++ b/drivers/net/ethernet/mediatek/Makefile
@@ -3,4 +3,4 @@
# Makefile for the Mediatek SoCs built-in ethernet macs
#
-obj-$(CONFIG_NET_MEDIATEK_SOC) += mtk_eth_soc.o
+obj-$(CONFIG_NET_MEDIATEK_SOC) += mtk_eth_soc.o mtk_sgmii.o