ar71xx: fix incorrect speed setting on QCA9556
authorDavid Bauer <mail@david-bauer.net>
Tue, 8 May 2018 18:59:05 +0000 (20:59 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 21 Jun 2018 05:01:38 +0000 (07:01 +0200)
commit9178dc282d38543df08181ac7837cc75a66c35ae
tree5ce8fff4338eaeb84be0bddea012d480993e364c
parent1863c386432b4a968547988c8c0538059cb80491
ar71xx: fix incorrect speed setting on QCA9556

The QCA9556 only has a SGMII interface. However the speed on the
ethernet link is set for the non-existant xMII interface.

This commit fixes this behavior.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit abb4ab076f37961a4dcaef4e87167b834f84e44e)
target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c