linux/drivers/net
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
..
appletalk Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
arcnet Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
arm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bonding Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cris Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
e1000 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fec_8xx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hamradio [AX25] Introduce ax25_type_trans 2005-04-24 18:53:06 -07:00
ibm_emac Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irda [PATCH] usb suspend updates (interface suspend) 2005-04-18 17:39:22 -07:00
ixgb Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pcmcia Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sk98lin Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
skfp Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tokenring Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tulip [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
wan Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wireless [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
3c59x.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c501.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c501.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c503.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c503.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c505.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c505.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c507.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c509.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c515.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c523.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c523.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c527.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
3c527.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
7990.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
7990.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
8139cp.c [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
8139too.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
8390.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
8390.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
82596.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
a2065.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
a2065.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ac3200.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acenic_firmware.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acenic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acenic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amd8111e.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amd8111e.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
apne.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ariadne.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ariadne.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
at1700.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atari_bionet.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atari_pamsnet.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atarilance.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1000_eth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1000_eth.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
b44.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
b44.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bmac.c [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
bmac.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bsd_comp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cs89x0.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cs89x0.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
de600.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
de600.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
de620.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
de620.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
declance.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defxx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defxx.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
depca.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
depca.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dgrs_asstruct.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dgrs_bcomm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dgrs_es4h.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dgrs_ether.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dgrs_firmware.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dgrs_i82596.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dgrs_plx9060.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dgrs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dgrs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dl2k.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dl2k.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dummy.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
e100.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
e2100.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eepro100.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eepro.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eexpress.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eexpress.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
epic100.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eql.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
es3210.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eth16i.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ewrk3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ewrk3.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fealnx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fec.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fmv18x.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
forcedeth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gianfar_ethtool.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gianfar_phy.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gianfar_phy.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gianfar.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gianfar.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt64240eth.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt96100eth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt96100eth.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hamachi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hp100.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hp100.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hp-plus.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hplance.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hplance.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hydra.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hydra.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmlana.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmlana.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmveth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmveth.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ioc3-eth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
isa-skeleton.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iseries_veth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iseries_veth.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jazzsonic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] ppc32: MV643XX ethernet is an option for Pegasos 2005-04-16 15:24:30 -07:00
lance.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lasi_82596.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
LICENSE.SRC Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lne390.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
loopback.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lp486e.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mac89x0.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mac8390.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mace.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macmace.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macsonic.c 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
meth.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
meth.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mii.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mv643xx_eth.c [PATCH] ppc iomem annotations: mv643xx_eth 2005-04-25 07:55:58 -07:00
mv643xx_eth.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mvme147.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
myri_code.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
myri_sbus.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
myri_sbus.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
natsemi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ne2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ne2k-pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ne3210.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ne-h8300.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ne.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
netconsole.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ni52.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ni52.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ni65.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ni65.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ni5010.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ni5010.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ns83820.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oaknet.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci-skeleton.c [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
pcnet32.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
plip.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppp_async.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppp_deflate.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppp_generic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppp_synctty.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pppoe.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pppox.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
r8169.c [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
rrunner.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rrunner.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s2io-regs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s2io.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s2io.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa9730.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa9730.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sb1000.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sb1250-mac.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
seeq8005.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
seeq8005.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgiseeq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgiseeq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shaper.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sis900.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sis900.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sk_g16.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sk_g16.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sk_mca.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sk_mca.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
slhc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
slip.c [SLIP]: Remove redundant NULL pointer checks prior to kfree 2005-04-24 18:59:30 -07:00
slip.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smc91x.c [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
smc91x.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smc9194.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smc9194.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smc-mca.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smc-mca.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smc-ultra32.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smc-ultra.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sonic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sonic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Space.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
starfire_firmware.pl Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
starfire.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stnic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sun3_82586.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sun3_82586.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sun3lance.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sunbmac.c [SPARC]: module version cleanups 2005-04-24 20:35:20 -07:00
sunbmac.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sundance.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sungem_phy.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sungem_phy.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sungem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sungem.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sunhme.c [SPARC]: module version cleanups 2005-04-24 20:35:20 -07:00
sunhme.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sunlance.c [SPARC]: module version cleanups 2005-04-24 20:35:20 -07:00
sunqe.c [SPARC]: module version cleanups 2005-04-24 20:35:20 -07:00
sunqe.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tc35815.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tg3.c [TG3]: Fix tg3_restart_ints() 2005-04-25 15:17:17 -07:00
tg3.h [TG3]: Add msi support 2005-04-21 17:13:25 -07:00
tlan.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlan.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tun.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
typhoon-firmware.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
typhoon.c [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
typhoon.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-rhine.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-velocity.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via-velocity.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
yellowfin.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
znet.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zorro8390.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00