65e56e4940fbf1066dbb8fcc2156dbe4c04eaf2f
[openwrt/staging/chunkeey.git] / target / linux / mediatek / patches-4.19 / 0003-switch-add-mt7531.patch
1 Index: linux-4.19.57/drivers/net/phy/Kconfig
2 ===================================================================
3 --- linux-4.19.57.orig/drivers/net/phy/Kconfig
4 +++ linux-4.19.57/drivers/net/phy/Kconfig
5 @@ -292,6 +292,8 @@ config RTL8367B_PHY
6
7 endif # RTL8366_SMI
8
9 +source "drivers/net/phy/mtk/mt753x/Kconfig"
10 +
11 comment "MII PHY device drivers"
12
13 config SFP
14 Index: linux-4.19.57/drivers/net/phy/Makefile
15 ===================================================================
16 --- linux-4.19.57.orig/drivers/net/phy/Makefile
17 +++ linux-4.19.57/drivers/net/phy/Makefile
18 @@ -100,3 +100,5 @@ obj-$(CONFIG_STE10XP) += ste10Xp.o
19 obj-$(CONFIG_TERANETICS_PHY) += teranetics.o
20 obj-$(CONFIG_VITESSE_PHY) += vitesse.o
21 obj-$(CONFIG_XILINX_GMII2RGMII) += xilinx_gmii2rgmii.o
22 +obj-$(CONFIG_MT753X_GSW) += mtk/mt753x/
23 +