aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r--drivers/net/tg3.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index a402b5c01896..e795c33b982d 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -6985,9 +6985,10 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
6985 break; 6985 break;
6986 }; 6986 };
6987 6987
6988 /* Write our heartbeat update interval to APE. */ 6988 if (tp->tg3_flags3 & TG3_FLG3_ENABLE_APE)
6989 tg3_ape_write32(tp, TG3_APE_HOST_HEARTBEAT_INT_MS, 6989 /* Write our heartbeat update interval to APE. */
6990 APE_HOST_HEARTBEAT_INT_DISABLE); 6990 tg3_ape_write32(tp, TG3_APE_HOST_HEARTBEAT_INT_MS,
6991 APE_HOST_HEARTBEAT_INT_DISABLE);
6991 6992
6992 tg3_write_sig_post_reset(tp, RESET_KIND_INIT); 6993 tg3_write_sig_post_reset(tp, RESET_KIND_INIT);
6993 6994