From 668c515cab6776b101d24eff3d46a7cb56395c7f Mon Sep 17 00:00:00 2001 From: Can Erkin Acar Date: Sun, 22 Aug 2004 18:16:21 +0000 Subject: =?UTF-8?q?Do=20check=20for=20STATS=5FOFLOW=20in=20interrupt=20han?= =?UTF-8?q?dler.=20The=20overflow=20interrupt=20is=20already=20disabled=20?= =?UTF-8?q?and=20the=20status=20update=20function=20fails=20to=20clear=20t?= =?UTF-8?q?he=20overflow,=20causing=20high=20interrupt=20load.=20Reported?= =?UTF-8?q?=20and=20tested=20by=20Arvid=20Gr=C3=B8tting.=20ok=20deraadt@?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sys/dev/pci/if_ste.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/if_ste.c b/sys/dev/pci/if_ste.c index af7e714fe22..7362180a54b 100644 --- a/sys/dev/pci/if_ste.c +++ b/sys/dev/pci/if_ste.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ste.c,v 1.23 2004/08/09 16:33:55 canacar Exp $ */ +/* $OpenBSD: if_ste.c,v 1.24 2004/08/22 18:16:20 canacar Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul . All rights reserved. @@ -586,15 +586,9 @@ int ste_intr(xsc) if (status & STE_ISR_TX_DONE) ste_txeoc(sc); - if (status & STE_ISR_STATS_OFLOW) { - timeout_del(&sc->sc_stats_tmo); - ste_stats_update(sc); - } - if (status & STE_ISR_LINKEVENT) mii_pollstat(&sc->sc_mii); - if (status & STE_ISR_HOSTERR) { ste_reset(sc); ste_init(sc); -- cgit v1.2.3