]> 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)
commitdf83145677c441b24f134acd21798bfc6030a560
tree7704a791a11bcd250a22e8f32b183db603b3d767
parentd075c7b68401984f71c6a4f89a8636ecd8b343dd
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
a91247c60f22 ("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