Subject: Re: bge(4) interrupt handler fix for shared intr case
To: Izumi Tsutsui <>
From: Thor Lancelot Simon <>
List: tech-kern
Date: 11/26/2006 12:16:22
On Mon, Nov 27, 2006 at 01:54:22AM +0900, Izumi Tsutsui wrote:
> OpenBSD and Broadcom drivers check bge_status block in
> DMA descriptors and then BGE_PCI_PCISTAT register instead.
> It seems reasonable for me but I can't test it right now
> on a machine which shares the interrupt line.

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.

I believe Jonathan also said that checking the BGE_PCI_PCISTAT
register might be quite expensive.