Merge "ipq807x: Fix the napa 2nd-port 1G speed"

This commit is contained in:
Linux Build Service Account 2018-07-10 09:03:38 -07:00 committed by Gerrit - the friendly Code Review server
commit 51f3b4cff5

View file

@ -978,7 +978,7 @@ static int ipq807x_eth_init(struct eth_device *eth_dev, bd_t *this)
speed_clock1 = 0x104;
else if (i == port_8033)
speed_clock1 = 0x301;
else if (phy_info[i]->phy_type == QCA8081_PHY_TYPE)
else if ((phy_info[i]->phy_type == QCA8081_PHY_TYPE) && (i == 4))
speed_clock1 = 0x301;
else
speed_clock1 = 0x101;