net: mvneta: program 1ms autonegotiation clock divisor
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 30 Nov 2021 14:54:05 +0000 (14:54 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 2 Dec 2021 03:01:36 +0000 (19:01 -0800)
commit0dc1df05988820a5f51621ca373988082e155e53
tree9b6543d8f8c90063f42c6f36d01d307a4321f62d
parentaa729c439441aa5993cb592337f7ddf2454266b6
net: mvneta: program 1ms autonegotiation clock divisor

Program the 1ms autonegotiation clock divisor according to the clocking
rate of neta - without this, the 1ms clock ticks at about 660us on
Armada 38x configured for 250MHz. Bring this into correct specification.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Marek BehĂșn <kabel@kernel.org>
Link: https://lore.kernel.org/r/E1ms4WD-00EKLK-Ld@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/mvneta.c