developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 1 | From b5aa08e6dd4e06ffd3fb4de2ffc6af1e3da0bce4 Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:06:00 +0800 |
| 4 | Subject: [PATCH] |
| 5 | [backport-networking-drivers][999-1703-en8811h-2p5gphy-support.patch] |
| 6 | |
| 7 | --- |
developer | 5e9bfbf | 2023-09-01 13:53:52 +0800 | [diff] [blame] | 8 | drivers/net/phy/Kconfig | 11 + |
| 9 | drivers/net/phy/Makefile | 2 + |
| 10 | 2 files changed, 13 insertions(+) |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 11 | |
developer | a29111c | 2023-01-12 10:20:04 +0800 | [diff] [blame] | 12 | diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 13 | index 170dd00cd..5eeccfee2 100644 |
developer | a29111c | 2023-01-12 10:20:04 +0800 | [diff] [blame] | 14 | --- a/drivers/net/phy/Kconfig |
| 15 | +++ b/drivers/net/phy/Kconfig |
developer | 5e9bfbf | 2023-09-01 13:53:52 +0800 | [diff] [blame] | 16 | @@ -345,6 +345,17 @@ config SFP |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 17 | depends on HWMON || HWMON=n |
| 18 | select MDIO_I2C |
developer | a29111c | 2023-01-12 10:20:04 +0800 | [diff] [blame] | 19 | |
| 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 | + |
developer | 5e9bfbf | 2023-09-01 13:53:52 +0800 | [diff] [blame] | 25 | +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 | + |
developer | a29111c | 2023-01-12 10:20:04 +0800 | [diff] [blame] | 31 | config ADIN_PHY |
| 32 | tristate "Analog Devices Industrial Ethernet PHYs" |
| 33 | help |
| 34 | diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 35 | index 2368c1d19..8ea612a85 100644 |
developer | a29111c | 2023-01-12 10:20:04 +0800 | [diff] [blame] | 36 | --- a/drivers/net/phy/Makefile |
| 37 | +++ b/drivers/net/phy/Makefile |
developer | 5e9bfbf | 2023-09-01 13:53:52 +0800 | [diff] [blame] | 38 | @@ -67,6 +67,8 @@ aquantia-objs += aquantia_main.o |
developer | a29111c | 2023-01-12 10:20:04 +0800 | [diff] [blame] | 39 | ifdef CONFIG_HWMON |
| 40 | aquantia-objs += aquantia_hwmon.o |
| 41 | endif |
developer | 5e9bfbf | 2023-09-01 13:53:52 +0800 | [diff] [blame] | 42 | +air_en8811h-y := air_en8811h_main.o air_en8811h_api.o |
developer | a29111c | 2023-01-12 10:20:04 +0800 | [diff] [blame] | 43 | +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 |
developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame] | 47 | -- |
| 48 | 2.34.1 |
| 49 | |