]> asedeno.scripts.mit.edu Git - linux.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)
commit2429f13870d3d2abbe200807d0462272e16ec830
tree7704a791a11bcd250a22e8f32b183db603b3d767
parent3379b3bfb71de154f44bca297f3aa039c5b12852
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
c3b084c24c8a ("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