linux/drivers
Michael Chan 04237dddd1 [TG3]: Fix tg3_restart_ints()
tg3_restart_ints() is called to re-enable interrupts after tg3_poll()
has finished all the work. It calls tg3_cond_int() to force an interrupt
if the status block updated bit is set. The updated bit will be set if
there is a new status block update sometime during tg3_poll() and it can
be very often. The worst part is that even if all the work has been
processed, the updated bit remains set and an interrupt will be forced
unnecessarily.

The fix is to call tg3_has_work() instead to determine if new work is
posted before forcing an interrupt. The way to force an interrupt is
also changed to use "coalesce_now" instead of "SETINT". The former is
generally a safer way to force the interrupt.

Also deleted the first parameter to tg3_has_work() which is unused.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-04-25 15:17:17 -07:00
..
acorn Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acpi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atm [ATM]: ENI155P error handling fix 2005-04-24 19:14:36 -07:00
base [PATCH] kobject/hotplug split - devices core 2005-04-18 21:57:36 -07:00
block [PATCH] broken dependency for floppy on ARM 2005-04-24 12:28:35 -07:00
bluetooth Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cdrom Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
char [PATCH] update maintainer for /dev/random 2005-04-16 15:25:56 -07:00
cpufreq Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crypto Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dio Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eisa Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fc4 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
firmware Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i2c [PATCH] broken dependency for I2C_MPC 2005-04-24 12:28:35 -07:00
ide [PATCH] hd: eliminate bad section references 2005-04-16 15:25:52 -07:00
ieee1394 [PATCH] Fix non-legacy ISO receive regression 2005-04-21 14:09:42 -07:00
infiniband [PATCH] missing include in mthca 2005-04-24 12:28:36 -07:00
input Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isdn [PATCH] missing include in hisax 2005-04-24 12:28:35 -07:00
macintosh [PATCH] fix few remaining u32 vs. pm_message_t problems 2005-04-16 15:25:38 -07:00
mca Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md [PATCH] md: remove a number of misleading calls to MD_BUG 2005-04-16 15:26:42 -07:00
media [PATCH] fix module_param_string() calls 2005-04-16 15:25:43 -07:00
message [PATCH] Convert i2o to compat_ioctl 2005-04-18 12:34:15 -05:00
misc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mmc [PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi 2005-04-16 15:25:29 -07:00
mtd [PATCH] fix u32 vs. pm_message_t in drivers/mmc,mtd,scsi 2005-04-16 15:25:29 -07:00
net [TG3]: Fix tg3_restart_ints() 2005-04-25 15:17:17 -07:00
nubus Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parisc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parport Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci [PATCH] fix u32 vs. pm_message_t in PCI, PCIE 2005-04-16 15:25:33 -07:00
pcmcia [PATCH] fix u32 vs. pm_message_t in pcmcia 2005-04-16 15:25:26 -07:00
pnp [PATCH] pnpbios: eliminate bad section references 2005-04-16 15:25:51 -07:00
s390 merge by hand (scsi_device.h) 2005-04-18 13:45:00 -05:00
sbus [PATCH] mostek bogus sparse annotations fixed 2005-04-24 12:28:36 -07:00
scsi [SPARC]: module version cleanups 2005-04-24 20:35:20 -07:00
serial [SPARC64]: In sunsab driver, make sure to set the uart timeout. 2005-04-21 22:18:03 -07:00
sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sn Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
telephony Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usb Merge with kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6.git/ 2005-04-19 13:14:28 -07:00
video [SPARC]: Enable sun logo on sparc32 2005-04-24 20:42:45 -07:00
w1 [PATCH] w1_smem: w1 ID is only 8 bytes long. 2005-04-18 21:16:57 -07:00
zorro Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00