Stefan Roese ab5a0dcb9c net: Use 0.5 sec timeout in miiphy_reset() instead of counting loop
This patch fixes a problem I've notived on a buggy PPC4xx system. This
system has problems with the PHY MDIO communication and seemed to be
stuck/crashed in miiphy_reset(). But degugging revealed, that the CPU
didn't crash, but "only" hung in this counting loop for about 2 minutes.

This patch now uses a real timeout of 0.5 seconds (as mentioned in the
comment in miiphy_reset).

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2010-02-06 22:52:21 -08:00
..
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2010-01-26 00:04:57 +01:00
2009-06-12 20:47:16 +02:00
2010-01-18 00:44:13 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2010-01-18 00:42:37 +01:00
2009-07-28 22:38:53 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-11-23 00:06:12 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-07-17 22:14:41 +02:00
2009-10-27 20:58:25 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-10-07 09:15:26 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-10-24 22:44:18 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-11-23 00:06:13 +01:00
2009-07-23 21:33:02 +02:00
2009-07-20 23:54:57 +02:00
2009-07-09 13:04:25 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-08-30 21:00:21 +02:00
2003-06-27 21:31:46 +00:00
2009-12-02 22:53:51 +01:00
2008-10-18 21:54:03 +02:00
2009-07-16 22:23:53 +02:00
2010-01-18 00:23:00 +01:00
2010-01-18 00:24:21 +01:00
2010-01-18 00:44:13 +01:00
2002-08-17 09:36:01 +00:00
2009-10-13 21:13:55 -05:00
2008-10-18 21:54:03 +02:00