]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 22:02:34 +0000 (15:02 -0700)
commitfa8472cab002dbbb70bf2b1c975b56f75e5d88c6
tree611a18eb6b7b688a8dbc23f66d8acef397aca2e5
parentb916189a5e80cabb49b1c64a350a5f13e485cb61
sfc: Wait at most 10ms for the MC to finish reading out MAC statistics

commit aabc5649078310094cbffb430fcbf9c25b6268f9 upstream.

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

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/sfc/siena.c