]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Wait at most 10ms for the MC to finish reading out MAC statistics
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 28 Apr 2010 09:00:35 +0000 (09:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 19:18:26 +0000 (12:18 -0700)
commitbba992ad75c7bda7d60a37cf86951553295e012e
treec633f0c143068b22558547081cf90544846b409f
parent356968bc8eb0ae81679f420f3104d17b612eef31
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