sfc: Wait at most 10ms for the MC to finish reading out MAC statistics
commitaabc5649078310094cbffb430fcbf9c25b6268f9
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 28 Apr 2010 09:00:35 +0000 (28 09:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 19:18:26 +0000 (28 12:18 -0700)
treec633f0c143068b22558547081cf90544846b409f
parentc0786693404cffd80ca3cb6e75ee7b35186b2825
sfc: Wait at most 10ms for the MC to finish reading out MAC statistics

The original code would wait indefinitely if MAC stats DMA failed.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Cc: stable@kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/siena.c