blob: 366414c43f9b0b32bc614bf2c06747dc151e4052 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From b5aa08e6dd4e06ffd3fb4de2ffc6af1e3da0bce4 Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:00 +0800
4Subject: [PATCH]
5 [backport-networking-drivers][999-1703-en8811h-2p5gphy-support.patch]
6
7---
developer5e9bfbf2023-09-01 13:53:52 +08008 drivers/net/phy/Kconfig | 11 +
9 drivers/net/phy/Makefile | 2 +
10 2 files changed, 13 insertions(+)
developer5d148cb2023-06-02 13:08:11 +080011
developera29111c2023-01-12 10:20:04 +080012diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
developer5d148cb2023-06-02 13:08:11 +080013index 170dd00cd..5eeccfee2 100644
developera29111c2023-01-12 10:20:04 +080014--- a/drivers/net/phy/Kconfig
15+++ b/drivers/net/phy/Kconfig
developer5e9bfbf2023-09-01 13:53:52 +080016@@ -345,6 +345,17 @@ config SFP
developer5d148cb2023-06-02 13:08:11 +080017 depends on HWMON || HWMON=n
18 select MDIO_I2C
developera29111c2023-01-12 10:20:04 +080019
20+config AIROHA_EN8811H_PHY
21+ tristate "Drivers for Airoha EN8811H 2.5G Gigabit PHY"
22+ ---help---
23+ Currently supports the Airoha EN8811H PHY.
24+
developer5e9bfbf2023-09-01 13:53:52 +080025+config AIROHA_EN8811H_PHY_DEBUGFS
26+ bool "EN8811H debugfs support"
27+ depends on AIROHA_EN8811H_PHY
28+ ---help---
29+ Enable creation of debugfs files for the EN8811H drivers.
30+
developera29111c2023-01-12 10:20:04 +080031 config ADIN_PHY
32 tristate "Analog Devices Industrial Ethernet PHYs"
33 help
34diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile
developer5d148cb2023-06-02 13:08:11 +080035index 2368c1d19..8ea612a85 100644
developera29111c2023-01-12 10:20:04 +080036--- a/drivers/net/phy/Makefile
37+++ b/drivers/net/phy/Makefile
developer5e9bfbf2023-09-01 13:53:52 +080038@@ -67,6 +67,8 @@ aquantia-objs += aquantia_main.o
developera29111c2023-01-12 10:20:04 +080039 ifdef CONFIG_HWMON
40 aquantia-objs += aquantia_hwmon.o
41 endif
developer5e9bfbf2023-09-01 13:53:52 +080042+air_en8811h-y := air_en8811h_main.o air_en8811h_api.o
developera29111c2023-01-12 10:20:04 +080043+obj-$(CONFIG_AIROHA_EN8811H_PHY) += air_en8811h.o
44 obj-$(CONFIG_AQUANTIA_PHY) += aquantia.o
45 obj-$(CONFIG_AX88796B_PHY) += ax88796b.o
46 obj-$(CONFIG_AT803X_PHY) += at803x.o
developer5d148cb2023-06-02 13:08:11 +080047--
482.34.1
49