openwrt/target/linux/mediatek/patches-5.4/0003-switch-add-mt7531.patch

20 lines
530 B
Diff

--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -332,6 +332,8 @@ config RTL8367B_PHY
endif # RTL8366_SMI
+source "drivers/net/phy/mtk/mt753x/Kconfig"
+
comment "MII PHY device drivers"
config SFP
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
@@ -110,3 +110,5 @@ obj-$(CONFIG_STE10XP) += ste10Xp.o
obj-$(CONFIG_TERANETICS_PHY) += teranetics.o
obj-$(CONFIG_VITESSE_PHY) += vitesse.o
obj-$(CONFIG_XILINX_GMII2RGMII) += xilinx_gmii2rgmii.o
+obj-$(CONFIG_MT753X_GSW) += mtk/mt753x/
+