705-include-linux-phy-increase-phy-address-number-for-rtl839x.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. From 2b88563ee5aafd9571d965b7f2093a0f58d98a31 Mon Sep 17 00:00:00 2001
  2. From: John Crispin <[email protected]>
  3. Date: Thu, 26 Nov 2020 12:02:21 +0100
  4. Subject: PHY: Increase max PHY adddress number
  5. * rename the target to realtek
  6. * add refactored DSA driver
  7. * add latest gpio driver
  8. * lots of arch cleanups
  9. * new irq driver
  10. * additional boards
  11. Submitted-by: Bert Vermeulen <[email protected]>
  12. Submitted-by: Birger Koblitz <[email protected]>
  13. Submitted-by: Sander Vanheule <[email protected]>
  14. Submitted-by: Bjørn Mork <[email protected]>
  15. Submitted-by: John Crispin <[email protected]>
  16. ---
  17. include/linux/phy.h | 2 +-
  18. 1 file changed, 1 insertion(+), 1 deletion(-)
  19. --- a/include/linux/phy.h
  20. +++ b/include/linux/phy.h
  21. @@ -287,7 +287,7 @@ static inline const char *phy_modes(phy_
  22. #define PHY_INIT_TIMEOUT 100000
  23. #define PHY_FORCE_TIMEOUT 10
  24. -#define PHY_MAX_ADDR 32
  25. +#define PHY_MAX_ADDR 64
  26. /* Used when trying to connect to a specific phy (mii bus id:phy device id) */
  27. #define PHY_ID_FMT "%s:%02x"