diff options
author | Michael Chan <mchan@broadcom.com> | 2006-09-27 19:00:40 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 21:01:35 -0400 |
commit | 130b8e4d0e4edadcecee9fdff2c32f33d77c4fe9 (patch) | |
tree | 1c0f165309fa5a6b5d23fdad038ae932470d0cf9 /drivers/net/tg3.h | |
parent | 3d3ebe741b2c06fe3df67739d09f6ef0e25ee41a (diff) |
[TG3]: Improve ASF heartbeat.
Change to a different ASF heartbeat message code to improve
reliability.
There were some reports of unintended resets on real time kernels
where the timer may be slow and cause the heartbeat to be late.
Netpoll will also have the same problem because the timer irq will
be unavailable.
Using the new heartbeat code, the ASF firmware will also check the
ring condition before resetting the chip when the heartbeat is
expiring.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index f9c81baca8d8..f7462c2ccc0a 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -1537,6 +1537,7 @@ | |||
1537 | #define FWCMD_NICDRV_FIX_DMAR 0x00000005 | 1537 | #define FWCMD_NICDRV_FIX_DMAR 0x00000005 |
1538 | #define FWCMD_NICDRV_FIX_DMAW 0x00000006 | 1538 | #define FWCMD_NICDRV_FIX_DMAW 0x00000006 |
1539 | #define FWCMD_NICDRV_ALIVE2 0x0000000d | 1539 | #define FWCMD_NICDRV_ALIVE2 0x0000000d |
1540 | #define FWCMD_NICDRV_ALIVE3 0x0000000e | ||
1540 | #define NIC_SRAM_FW_CMD_LEN_MBOX 0x00000b7c | 1541 | #define NIC_SRAM_FW_CMD_LEN_MBOX 0x00000b7c |
1541 | #define NIC_SRAM_FW_CMD_DATA_MBOX 0x00000b80 | 1542 | #define NIC_SRAM_FW_CMD_DATA_MBOX 0x00000b80 |
1542 | #define NIC_SRAM_FW_ASF_STATUS_MBOX 0x00000c00 | 1543 | #define NIC_SRAM_FW_ASF_STATUS_MBOX 0x00000c00 |