From: John Crispin Date: Wed, 23 May 2018 21:46:33 +0000 (+0200) Subject: ath79: fix adjust_link callback for ar9130 X-Git-Tag: v19.07.0-rc1~3619 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5a6a32ad9bcf108c0d047b147fd80c0e0db75586;p=oweals%2Fopenwrt.git ath79: fix adjust_link callback for ar9130 Signed-off-by: John Crispin --- diff --git a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c index 4a966fce9e..656a22a4b5 100644 --- a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c +++ b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c @@ -624,6 +624,8 @@ __ag71xx_link_adjust(struct ag71xx *ag, bool update) } else if (of_device_is_compatible(np, "qca,ar7242-eth")) { ath79_set_pll(ag); } else if (of_device_is_compatible(np, "qca,ar9130-eth")) { + ath79_set_pll(ag); + ath79_mii_ctrl_set_speed(ag); } else if (of_device_is_compatible(np, "qca,ar9340-eth")) { ath79_set_pll(ag); } else if (of_device_is_compatible(np, "qca,qca9550-eth")) {