aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-5.10/704-include-linux-add-phy-hsgmii-mode.patch
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2022-09-20 12:01:48 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-10-01 02:47:57 +0200
commitf1f97db627b2f82989a0f97a74bc7a3debd67ecd (patch)
treef41fd7c116246a5d3df3f5aa2715b9e61b087278 /target/linux/realtek/patches-5.10/704-include-linux-add-phy-hsgmii-mode.patch
parentba6096d04b4f7a40aec339e7bf3f7b5842ae3cac (diff)
downloadupstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.tar.gz
upstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.tar.bz2
upstream-f1f97db627b2f82989a0f97a74bc7a3debd67ecd.zip
realtek: Convert incorrect v5.10 patches
OpenWRT's developer guide prefers having actual patches so they an be sent upstream more easily. However, in this case, Adding proper fields also allows for `git am` to properly function. Some of these patches are quite old, and lack much traceable history. This commit tries to rectify that, by digging in the history to find where and how it was first added. It is by no means perfect and also shows some patches that should have been long gone. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Diffstat (limited to 'target/linux/realtek/patches-5.10/704-include-linux-add-phy-hsgmii-mode.patch')
-rw-r--r--target/linux/realtek/patches-5.10/704-include-linux-add-phy-hsgmii-mode.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-5.10/704-include-linux-add-phy-hsgmii-mode.patch b/target/linux/realtek/patches-5.10/704-include-linux-add-phy-hsgmii-mode.patch
index 58f4fef456..442bff82fa 100644
--- a/target/linux/realtek/patches-5.10/704-include-linux-add-phy-hsgmii-mode.patch
+++ b/target/linux/realtek/patches-5.10/704-include-linux-add-phy-hsgmii-mode.patch
@@ -1,3 +1,17 @@
+From 9d9bf16aa8d966834ac1280f96c37d22552c33d1 Mon Sep 17 00:00:00 2001
+From: Birger Koblitz <git@birger-koblitz.de>
+Date: Wed, 8 Sep 2021 16:13:18 +0200
+Subject: phy: Add PHY hsgmii mode
+
+This adds RTL93xx-specific MAC configuration routines that allow also configuration
+of 10GBit links for phylink. There is support for the Realtek-specific HISGMI
+protocol.
+
+Submitted-by: Birger Koblitz <git@birger-koblitz.de>
+---
+ include/linux/phy.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -134,6 +134,7 @@ typedef enum {