]> git.baikalelectronics.ru Git - kernel.git/commit
[TG3]: Improve ASF heartbeat.
authorMichael Chan <mchan@broadcom.com>
Wed, 27 Sep 2006 23:00:40 +0000 (16:00 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:01:35 +0000 (18:01 -0700)
commit6b81669375aa1d6551a76feb5469d4c0c6fa5242
tree1c0f165309fa5a6b5d23fdad038ae932470d0cf9
parent81d20167aa7fb708b3ca8b2234745305b1a8ed4b
[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>
drivers/net/tg3.c
drivers/net/tg3.h