]> git.baikalelectronics.ru Git - kernel.git/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)
commite74c0c54c0dcc1d1b699d7e42688442cd0b845c2
tree731e8546c3a663208b8d8ad429dd86a9b49a2a1c
parent512295ca8e3f877145e711ea95fa49630bcda56a
[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