]> git.baikalelectronics.ru Git - kernel.git/commit
net: fec: remove workaround to restart phylib state machine on MDIO timeout
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 16 Dec 2018 14:00:40 +0000 (15:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2018 23:01:55 +0000 (15:01 -0800)
commiteed20e7ef080dc47ba3aca2006a59bbba748f7f5
tree7704a791a11bcd250a22e8f32b183db603b3d767
parent5e6db05d0385627e2331cb77207eb8cef6451f79
net: fec: remove workaround to restart phylib state machine on MDIO timeout

There's a workaround to restart the phylib state machine in case of a
MDIO access timeout. Seems it was introduced to deal with the
consequences of a too small MDIO timeout. See also commit message of
fdb456888f41 ("net: fec: Adjust ENET MDIO timeouts") which increased
the timeout value later. Due to the later timeout value fix it seems
to be safe to remove the workaround.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c