openwrt/target/linux/mediatek/patches-5.4/0990-gsw-rtl8367s-mt7622-support.patch

28 lines
1.0 KiB
Diff
Raw Normal View History

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/