mirror of https://github.com/hak5/openwrt.git
ar71xx: fix ethernet PLL configuration for QCA956x
QCA956x is configured like AR934x, not like the older chips. Should fix ethernet hangs when using the WAN port without SGMII Signed-off-by: Felix Fietkau <nbd@nbd.name>openwrt-18.06
parent
d6baeb5c48
commit
72327d1757
|
@ -1096,7 +1096,7 @@ void __init ath79_register_eth(unsigned int id)
|
||||||
if (pdata->phy_if_mode == PHY_INTERFACE_MODE_SGMII)
|
if (pdata->phy_if_mode == PHY_INTERFACE_MODE_SGMII)
|
||||||
pdata->set_speed = qca956x_set_speed_sgmii;
|
pdata->set_speed = qca956x_set_speed_sgmii;
|
||||||
else
|
else
|
||||||
pdata->set_speed = ath79_set_speed_ge0;
|
pdata->set_speed = ar934x_set_speed_ge0;
|
||||||
} else {
|
} else {
|
||||||
pdata->reset_bit = QCA955X_RESET_GE1_MAC |
|
pdata->reset_bit = QCA955X_RESET_GE1_MAC |
|
||||||
QCA955X_RESET_GE1_MDIO;
|
QCA955X_RESET_GE1_MDIO;
|
||||||
|
|
Loading…
Reference in New Issue