Subject: Re: bge(4) interrupt handler fix for shared intr case
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-kern
Date: 11/26/2006 13:05:27
On Mon, Nov 27, 2006 at 02:31:22AM +0900, Izumi Tsutsui wrote:
> tls@rek.tjls.com wrote:
> 
> > I tried this several months ago.  It seemed to cause problems.  But
> > I rewrote the code instead of using it directly from the Broadcom driver
> > (I don't think OpenBSD had it at all then) so maybe I got it wrong.
> 
> Hmm. Was it shared interrupt case?

Yes.

> > I believe Jonathan also said that checking the BGE_PCI_PCISTAT
> > register might be quite expensive.
> 
> The comment says checking BGE_MISC_LOCAL_CTL is expensive.
> Is it also true for BGE_PCI_PCISTATE?

I don't know.  Jonathan might.

-- 
Thor Lancelot Simon	                                     tls@rek.tjls.com
  "The liberties...lose much of their value whenever those who have greater
   private means are permitted to use their advantages to control the course
   of public debate."					-John Rawls