64e6b5d3094a4160bbce65be2ac0c4713af47e5b
[openwrt/staging/chunkeey.git] / target / linux / realtek / patches-5.10 / 705-include-linux-phy-increase-phy-address-number-for-rtl839x.patch
1 --- a/include/linux/phy.h
2 +++ b/include/linux/phy.h
3 @@ -229,7 +229,7 @@ static inline const char *phy_modes(phy_
4 #define PHY_INIT_TIMEOUT 100000
5 #define PHY_FORCE_TIMEOUT 10
6
7 -#define PHY_MAX_ADDR 32
8 +#define PHY_MAX_ADDR 64
9
10 /* Used when trying to connect to a specific phy (mii bus id:phy device id) */
11 #define PHY_ID_FMT "%s:%02x"