]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/tg3.c
[TG3]: Eliminate spurious interrupts.
authorMichael Chan <mchan@broadcom.com>
Mon, 7 May 2007 07:26:15 +0000 (00:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 May 2007 07:26:15 +0000 (00:26 -0700)
commitc04cb34725fdcf5fdb4135d8fdfaf6f318f10e99
treee4194a9f1a9914a25590dab0ca60285b29c9ac15
parent8ed5d97e5e0be0fb1aebad16f4c464613a0e472d
[TG3]: Eliminate spurious interrupts.

Spurious interrupts are often encountered especially on systems
using the 8259 PIC mode.  This is because the I/O write to deassert
the interrupt is posted and won't get to the chip immediately.  As
a result, the IRQ may remain asserted after the IRQ handler exits,
causing spurious interrupts.

Flush the interrupt mailbox in non-MSI handlers to de-assert the
IRQ immediately.  This seems to be the most straight forward approach
after discussion with Jeff Garzik and David Miller.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c