mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
[TG3]: Fix APE induced regression
This patch fixes a bug caused by the recent APE support added for 5761 devices. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a7b850eaa1
commit
9ce768ead8
1 changed files with 4 additions and 3 deletions
|
@ -6985,6 +6985,7 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
|
||||||
break;
|
break;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (tp->tg3_flags3 & TG3_FLG3_ENABLE_APE)
|
||||||
/* Write our heartbeat update interval to APE. */
|
/* Write our heartbeat update interval to APE. */
|
||||||
tg3_ape_write32(tp, TG3_APE_HOST_HEARTBEAT_INT_MS,
|
tg3_ape_write32(tp, TG3_APE_HOST_HEARTBEAT_INT_MS,
|
||||||
APE_HOST_HEARTBEAT_INT_DISABLE);
|
APE_HOST_HEARTBEAT_INT_DISABLE);
|
||||||
|
|
Loading…
Reference in a new issue