realtek: 6.6: copy patch include-linux-phy-increase-phy-address-number-for-rtl839x
authorMarkus Stockhausen <[email protected]>
Mon, 9 Sep 2024 06:32:33 +0000 (02:32 -0400)
committerSander Vanheule <[email protected]>
Sat, 14 Sep 2024 17:58:55 +0000 (19:58 +0200)
Copy the patch file to 6.6. Reorder it in the 7xx range.

Signed-off-by: Markus Stockhausen <[email protected]>
target/linux/realtek/patches-6.6/704-include-linux-phy-increase-phy-address-number-for-rtl839x.patch [new file with mode: 0644]

diff --git a/target/linux/realtek/patches-6.6/704-include-linux-phy-increase-phy-address-number-for-rtl839x.patch b/target/linux/realtek/patches-6.6/704-include-linux-phy-increase-phy-address-number-for-rtl839x.patch
new file mode 100644 (file)
index 0000000..9a6b00d
--- /dev/null
@@ -0,0 +1,32 @@
+From 2b88563ee5aafd9571d965b7f2093a0f58d98a31 Mon Sep 17 00:00:00 2001
+From: John Crispin <[email protected]>
+Date: Thu, 26 Nov 2020 12:02:21 +0100
+Subject: PHY: Increase max PHY adddress number
+
+* rename the target to realtek
+* add refactored DSA driver
+* add latest gpio driver
+* lots of arch cleanups
+* new irq driver
+* additional boards
+
+Submitted-by: Bert Vermeulen <[email protected]>
+Submitted-by: Birger Koblitz <[email protected]>
+Submitted-by: Sander Vanheule <[email protected]>
+Submitted-by: Bjørn Mork <[email protected]>
+Submitted-by: John Crispin <[email protected]>
+---
+ include/linux/phy.h                           | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/include/linux/phy.h
++++ b/include/linux/phy.h
+@@ -287,7 +287,7 @@ static inline const char *phy_modes(phy_
+ #define PHY_INIT_TIMEOUT      100000
+ #define PHY_FORCE_TIMEOUT     10
+-#define PHY_MAX_ADDR  32
++#define PHY_MAX_ADDR  64
+ /* Used when trying to connect to a specific phy (mii bus id:phy device id) */
+ #define PHY_ID_FMT "%s:%02x"