generic: 6.1, 6.6: replace Airoha EN8811H PHY driver with upstream
[openwrt/openwrt.git] / target / linux / mediatek / patches-5.10 / 500-gsw-rtl8367s-mt7622-support.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -334,6 +334,12 @@ config ROCKCHIP_PHY
4 help
5 Currently supports the integrated Ethernet PHY.
6
7 +config RTL8367S_GSW
8 + tristate "rtl8367 Gigabit Switch support for mt7622"
9 + depends on NET_VENDOR_MEDIATEK
10 + help
11 + This driver supports rtl8367s in mt7622
12 +
13 config SMSC_PHY
14 tristate "SMSC PHYs"
15 help
16 --- a/drivers/net/phy/Makefile
17 +++ b/drivers/net/phy/Makefile
18 @@ -88,6 +88,7 @@ obj-$(CONFIG_QSEMI_PHY) += qsemi.o
19 obj-$(CONFIG_REALTEK_PHY) += realtek.o
20 obj-$(CONFIG_RENESAS_PHY) += uPD60620.o
21 obj-$(CONFIG_ROCKCHIP_PHY) += rockchip.o
22 +obj-$(CONFIG_RTL8367S_GSW) += rtk/
23 obj-$(CONFIG_SMSC_PHY) += smsc.o
24 obj-$(CONFIG_STE10XP) += ste10Xp.o
25 obj-$(CONFIG_TERANETICS_PHY) += teranetics.o