tg3: Fix int selftest for recent devices.
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 20 Jul 2011 10:20:55 +0000 (10:20 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:46 +0000 (11:40 -0700)
commit352d0ff21f7a8ce23b0a70a80cd61e5ae566fe60
treeccdb8996159842aabf477d1a134854a706965f67
parentf7838b55dc1708fa0bc3170851cddc3d900c310b
tg3: Fix int selftest for recent devices.

commit 3aa1cdf87c0b3f2345e75c474acc32ebbf0a4724 upstream.

This patch fixes interrupt selftest failures for recent devices (57765,
5717, 5718. 5719, 5720) by disabling MSI one-shot mode and applying the
status tag workaround to the selftest code.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/tg3.c