aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.4/0990-gsw-rtl8367s-mt7622-support.patch
blob: 62f47115d6bc62633b034e7e9f4961bae5d8b36c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Index: linux-4.19.88/drivers/net/phy/Kconfig
===================================================================
--- linux-4.19.88.orig/drivers/net/phy/Kconfig
+++ linux-4.19.88/drivers/net/phy/Kconfig
@@ -26,6 +26,12 @@ config MDIO_BCM_IPROC
 	  This module provides a driver for the MDIO busses found in the
 	  Broadcom iProc SoC's.
 
+config RTL8367S_GSW
+	tristate "rtl8367 Gigabit Switch support for mt7622"
+	depends on NET_VENDOR_MEDIATEK
+	help
+	  This driver supports rtl8367s in mt7622
+
 config MDIO_BCM_UNIMAC
 	tristate "Broadcom UniMAC MDIO bus controller"
 	depends on HAS_IOMEM
Index: linux-4.19.88/drivers/net/phy/Makefile
===================================================================
--- linux-4.19.88.orig/drivers/net/phy/Makefile
+++ linux-4.19.88/drivers/net/phy/Makefile
@@ -101,4 +101,5 @@ obj-$(CONFIG_TERANETICS_PHY)	+= teraneti
 obj-$(CONFIG_VITESSE_PHY)	+= vitesse.o
 obj-$(CONFIG_XILINX_GMII2RGMII) += xilinx_gmii2rgmii.o
 obj-$(CONFIG_MT753X_GSW)        += mtk/mt753x/
+obj-$(CONFIG_RTL8367S_GSW)	+= rtk/