From: Rogerio Pimentel Date: Tue, 27 Dec 2011 19:07:37 +0000 (-0500) Subject: net: fec: Adjust ENET MDIO timeouts X-Git-Tag: v3.3-rc1~182^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3b084c24c8a372026d95497dbb0da22c6eb591c;p=pandora-kernel.git net: fec: Adjust ENET MDIO timeouts On extensive NFS boots on a mx6qsabrelite board it was noted that "FEC: MDIO read timeout" were occuring, which caused failure on loading the FEC driver. The original FEC_MII_TIMEOUT was set to 1 ms, which is too low when passed to the usecs_to_jiffies macro. On ARM one jiffy is 10ms, so use a timeout of 30ms, which corresponds to 3 jiffies. After running extensive NFS boots, the MDIO timeouts do not occur anymore with this change. Signed-off-by: Rogerio Pimentel Signed-off-by: Fabio Estevam Signed-off-by: David S. Miller --- Reading git-diff-tree failed