blob: 47168b952c81e9e176b5d5e5a4265999f1e02fef [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 43abbf9e88d9cf44e123a17d6d46db06fbb51da7 Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:31 +0800
4Subject: [PATCH] [networking][999-2716-en8801sc-gphy-support.patch]
5
6---
7 drivers/net/phy/Kconfig | 5 +++++
8 drivers/net/phy/Makefile | 1 +
9 2 files changed, 6 insertions(+)
10
11diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
12index 3a3c12566..87eaaad76 100644
13--- a/drivers/net/phy/Kconfig
14+++ b/drivers/net/phy/Kconfig
15@@ -345,6 +345,11 @@ config SFP
16 depends on HWMON || HWMON=n
17 select MDIO_I2C
18
19+config AIROHA_EN8801SC_PHY
20+ tristate "Drivers for Airoha EN8801S Gigabit PHYs for MediaTek SoC."
21+ ---help---
22+ Currently supports the Airoha EN8801S PHY for MediaTek SoC.
23+
24 config AIROHA_EN8811H_PHY
25 tristate "Drivers for Airoha EN8811H 2.5G Gigabit PHY"
26 ---help---
27diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile
28index 1d368d1d5..801550726 100644
29--- a/drivers/net/phy/Makefile
30+++ b/drivers/net/phy/Makefile
31@@ -68,6 +68,7 @@ aquantia-objs += aquantia_main.o
32 ifdef CONFIG_HWMON
33 aquantia-objs += aquantia_hwmon.o
34 endif
35+obj-$(CONFIG_AIROHA_EN8801SC_PHY) += en8801sc.o
36 obj-$(CONFIG_AIROHA_EN8811H_PHY) += air_en8811h.o
37 obj-$(CONFIG_AQUANTIA_PHY) += aquantia.o
38 obj-$(CONFIG_AX88796B_PHY) += ax88796b.o
39--
402.34.1
41