diff options
| author | Markus Stockhausen | 2024-09-09 06:32:33 +0000 |
|---|---|---|
| committer | Sander Vanheule | 2024-09-14 17:58:55 +0000 |
| commit | 51c85f4874a0c2347a96164f07e62acdace5d7a1 (patch) | |
| tree | c2576853452c75b31f5c618e53515d8349165123 | |
| parent | 6a340ded82ff316cc57868e3ce99bb3b51831342 (diff) | |
| download | openwrt-51c85f4874a0c2347a96164f07e62acdace5d7a1.tar.gz | |
realtek: 6.6: copy patch include-linux-phy-increase-phy-address-number-for-rtl839x
Copy the patch file to 6.6. Reorder it in the 7xx range.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
| -rw-r--r-- | target/linux/realtek/patches-6.6/704-include-linux-phy-increase-phy-address-number-for-rtl839x.patch | 32 |
1 files changed, 32 insertions, 0 deletions
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 index 0000000000..9a6b00d7c0 --- /dev/null +++ b/target/linux/realtek/patches-6.6/704-include-linux-phy-increase-phy-address-number-for-rtl839x.patch @@ -0,0 +1,32 @@ +From 2b88563ee5aafd9571d965b7f2093a0f58d98a31 Mon Sep 17 00:00:00 2001 +From: John Crispin <john@phrozen.org> +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 <bert@biot.com> +Submitted-by: Birger Koblitz <mail@birger-koblitz.de> +Submitted-by: Sander Vanheule <sander@svanheule.net> +Submitted-by: Bjørn Mork <bjorn@mork.no> +Submitted-by: John Crispin <john@phrozen.org> +--- + 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" |