0036-ar71xx-fix-MDIO-bus-probe-on-QCA956x.patch 904 B

12345678910111213141516171819202122
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Fri, 13 May 2016 21:00:41 +0200
  3. Subject: ar71xx: fix MDIO bus probe on QCA956x
  4. Signed-off-by: Felix Fietkau <nbd@openwrt.org>
  5. Backport of OpenWrt r48651
  6. diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
  7. index 2efb9c70ff31f5c11bcdff6c6326743e4d5b5a11..12a376e1322ae14dd714297ed5f8319ae09eeb64 100644
  8. --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
  9. +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
  10. @@ -183,7 +183,8 @@ void __init ath79_register_mdio(unsigned int id, u32 phy_mask)
  11. ath79_soc == ATH79_SOC_AR9342 ||
  12. ath79_soc == ATH79_SOC_AR9344 ||
  13. ath79_soc == ATH79_SOC_QCA9556 ||
  14. - ath79_soc == ATH79_SOC_QCA9558)
  15. + ath79_soc == ATH79_SOC_QCA9558 ||
  16. + ath79_soc == ATH79_SOC_QCA956X)
  17. max_id = 1;
  18. else
  19. max_id = 0;