aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/patches-5.15/705-net-add-qualcomm-ar40xx-phy.patch
blob: 46d311a9b9fb43503c2c49978d7e4606879c9ab9 (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
--- a/drivers/net/mdio/Kconfig
+++ b/drivers/net/mdio/Kconfig
@@ -41,6 +41,13 @@ config ACPI_MDIO
 	help
 	  ACPI MDIO bus (Ethernet PHY) accessors
 
+config AR40XX_PHY
+   tristate "Driver for Qualcomm Atheros IPQ40XX switches"
+   depends on HAS_IOMEM && OF && OF_MDIO
+   select SWCONFIG
+   help
+      This is the driver for Qualcomm Atheros IPQ40XX ESS switches.
+
 if MDIO_BUS
 
 config MDIO_DEVRES
--- a/drivers/net/mdio/Makefile
+++ b/drivers/net/mdio/Makefile
@@ -23,6 +23,8 @@ obj-$(CONFIG_MDIO_SUN4I)		+= mdio-sun4i.
 obj-$(CONFIG_MDIO_THUNDER)		+= mdio-thunder.o
 obj-$(CONFIG_MDIO_XGENE)		+= mdio-xgene.o
 
+obj-$(CONFIG_AR40XX_PHY)		+= ar40xx.o
+
 obj-$(CONFIG_MDIO_BUS_MUX)		+= mdio-mux.o
 obj-$(CONFIG_MDIO_BUS_MUX_BCM6368)	+= mdio-mux-bcm6368.o
 obj-$(CONFIG_MDIO_BUS_MUX_BCM_IPROC)	+= mdio-mux-bcm-iproc.o