Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 17:36:24 -0800 (PST)
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 46235 for review
Message-ID:  <200401310136.i0V1aOi0040350@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=46235

Change 46235 by sam@sam_ebb on 2004/01/30 17:35:45

	check interrupt pending immediately in the isr

Affected files ...

.. //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#19 edit

Differences ...

==== //depot/projects/netperf+sockets/sys/dev/ath/if_ath.c#19 (text+ko) ====

@@ -457,6 +457,8 @@
 		DPRINTF(ATH_DEBUG_ANY, ("%s: invalid; ignored\n", __func__));
 		return;
 	}
+	if (!ath_hal_intrpend(ah))		/* shared irq, not for us */
+		return;
 	if ((ifp->if_flags & (IFF_RUNNING|IFF_UP)) != (IFF_RUNNING|IFF_UP)) {
 		DPRINTF(ATH_DEBUG_ANY, ("%s: if_flags 0x%x\n",
 			__func__, ifp->if_flags));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401310136.i0V1aOi0040350>