ar71xx: allow to override at803x sgmii aneg status
authorDavid Bauer <mail@david-bauer.net>
Mon, 6 Aug 2018 14:15:05 +0000 (16:15 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 8 Aug 2018 13:49:24 +0000 (15:49 +0200)
commit4e39e213af7e3e0cd747403e8c227e145cfef988
treef3dcbc1bdf435c529d746c2322b6f81fa10c5997
parentf4f99ec9737c653815268f2efad0210caaa32e2d
ar71xx: allow to override at803x sgmii aneg status

When checking the outcome of the PHY autonegotiation status, at803x
currently returns false in case the SGMII side is not established.

Due to a hardware-bug, ag71xx needs to fixup the SoCs SGMII side, which
it can't as it is not aware of the link-establishment.

This commit allows to ignore the SGMII side autonegotiation status to
allow ag71xx to do the fixup work.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c
target/linux/ar71xx/patches-4.9/903-at803x-add-sgmii-aneg-override-pdata.patch [new file with mode: 0644]