mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
|
From 5314e73cb941b47e6866b49b3b78c25e32d62df8 Mon Sep 17 00:00:00 2001
|
||
|
From: Robert Marko <robert.marko@sartura.hr>
|
||
|
Date: Sat, 23 Mar 2024 20:21:14 +0100
|
||
|
Subject: [PATCH] net: phy: add Airoha EN8801SC PHY
|
||
|
|
||
|
Airoha EN8801SC Gigabit PHY is used on Edgecore EAP111, so include a
|
||
|
modified version of MTK SDK driver.
|
||
|
|
||
|
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
|
||
|
---
|
||
|
drivers/net/phy/Kconfig | 5 +++++
|
||
|
drivers/net/phy/Makefile | 1 +
|
||
|
2 files changed, 6 insertions(+)
|
||
|
|
||
|
--- a/drivers/net/phy/Kconfig
|
||
|
+++ b/drivers/net/phy/Kconfig
|
||
|
@@ -142,6 +142,11 @@ endif # RTL8366_SMI
|
||
|
|
||
|
comment "MII PHY device drivers"
|
||
|
|
||
|
+config AIROHA_EN8801SC_PHY
|
||
|
+ tristate "Airoha EN8801SC Gigabit PHY"
|
||
|
+ help
|
||
|
+ Currently supports the Airoha EN8801SC PHY.
|
||
|
+
|
||
|
config AIR_EN8811H_PHY
|
||
|
tristate "Airoha EN8811H 2.5 Gigabit PHY"
|
||
|
help
|
||
|
--- a/drivers/net/phy/Makefile
|
||
|
+++ b/drivers/net/phy/Makefile
|
||
|
@@ -49,6 +49,7 @@ obj-y += $(sfp-obj-y) $(sfp-obj-m)
|
||
|
|
||
|
obj-$(CONFIG_ADIN_PHY) += adin.o
|
||
|
obj-$(CONFIG_ADIN1100_PHY) += adin1100.o
|
||
|
+obj-$(CONFIG_AIROHA_EN8801SC_PHY) += en8801sc.o
|
||
|
obj-$(CONFIG_AIR_EN8811H_PHY) += air_en8811h.o
|
||
|
obj-$(CONFIG_AMD_PHY) += amd.o
|
||
|
obj-$(CONFIG_AQUANTIA_PHY) += aquantia/
|