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