]> err.no Git - linux-2.6/commit
[PATCH] smc91x: fix one source of spurious interrupts
authorNicolas Pitre <nico@cam.org>
Thu, 17 Nov 2005 19:02:48 +0000 (14:02 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 18 Nov 2005 18:10:30 +0000 (13:10 -0500)
commit5d0571d915f3e281f151df9a18a6a0be5a57c4b0
tree731e8546c3a663208b8d8ad429dd86a9b49a2a1c
parentfc71fe40d2bedcc57d3406bf2050481f8b3441b6
[PATCH] smc91x: fix one source of spurious interrupts

Not only SMC_ACK_INT(IM_TX_EMPTY_INT) in in smc_hardware_send_pkt)
appears to be unnecessary (tested with an SMC91C94 and SMC91C111), but
it seems to trigger spurious interrupts on some machines as well.
Removed.

While at it, let's log any remaining spurious interrupts if any (and
clean usage of the max IRQ loop count value).

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/smc91x.c