ath25: switch default kernel to 5.15
[openwrt/staging/ldir.git] / target / linux / realtek / patches-5.10 / 705-include-linux-phy-increase-phy-address-number-for-rtl839x.patch
1 From 2b88563ee5aafd9571d965b7f2093a0f58d98a31 Mon Sep 17 00:00:00 2001
2 From: John Crispin <john@phrozen.org>
3 Date: Thu, 26 Nov 2020 12:02:21 +0100
4 Subject: PHY: Increase max PHY adddress number
5
6 * rename the target to realtek
7 * add refactored DSA driver
8 * add latest gpio driver
9 * lots of arch cleanups
10 * new irq driver
11 * additional boards
12
13 Submitted-by: Bert Vermeulen <bert@biot.com>
14 Submitted-by: Birger Koblitz <mail@birger-koblitz.de>
15 Submitted-by: Sander Vanheule <sander@svanheule.net>
16 Submitted-by: Bjørn Mork <bjorn@mork.no>
17 Submitted-by: John Crispin <john@phrozen.org>
18 ---
19 include/linux/phy.h | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22 --- a/include/linux/phy.h
23 +++ b/include/linux/phy.h
24 @@ -233,7 +233,7 @@ static inline const char *phy_modes(phy_
25 #define PHY_INIT_TIMEOUT 100000
26 #define PHY_FORCE_TIMEOUT 10
27
28 -#define PHY_MAX_ADDR 32
29 +#define PHY_MAX_ADDR 64
30
31 /* Used when trying to connect to a specific phy (mii bus id:phy device id) */
32 #define PHY_ID_FMT "%s:%02x"