blob: 9adddcabc3867cefe6362f37bef5e20fed717907 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/drivers/net/phy/Kconfig
2+++ b/drivers/net/phy/Kconfig
3@@ -584,6 +584,13 @@ config XILINX_GMII2RGMII
4 the Reduced Gigabit Media Independent Interface(RGMII) between
5 Ethernet physical media devices and the Gigabit Ethernet controller.
6
7+config AR40XX_PHY
8+ tristate "Driver for Qualcomm Atheros IPQ40XX switches"
9+ depends on HAS_IOMEM && OF && OF_MDIO
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@@ -69,6 +69,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