aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-5.10/705-include-linux-phy-increase-phy-address-number-for-rtl839x.patch
blob: ab3ea8e689c19a4f6a3f6baa414947ba813a6874 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -233,7 +233,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"