ipq40xx: 5.4: move AR40xx driver into files
[openwrt/staging/mkresin.git] / target / linux / ipq40xx / patches-5.4 / 705-net-add-qualcomm-ar40xx-phy.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -587,6 +587,13 @@ config MDIO_IPQ40XX
4 This driver supports the MDIO interface found in Qualcomm
5 Atheros ipq40xx Soc chip.
6
7 +config AR40XX_PHY
8 + tristate "Driver for Qualcomm Atheros IPQ40XX switches"
9 + depends on HAS_IOMEM && OF
10 + select SWCONFIG
11 + ---help---
12 + This is the driver for Qualcomm Atheros IPQ40XX ESS switches.
13 +
14 endif # PHYLIB
15
16 config MICREL_KS8995MA
17 --- a/drivers/net/phy/Makefile
18 +++ b/drivers/net/phy/Makefile
19 @@ -70,6 +70,7 @@ ifdef CONFIG_HWMON
20 aquantia-objs += aquantia_hwmon.o
21 endif
22 obj-$(CONFIG_AQUANTIA_PHY) += aquantia.o
23 +obj-$(CONFIG_AR40XX_PHY) += ar40xx.o
24 obj-$(CONFIG_AX88796B_PHY) += ax88796b.o
25 obj-$(CONFIG_AT803X_PHY) += at803x.o
26 obj-$(CONFIG_BCM63XX_PHY) += bcm63xx.o