Subject: Re: does "stray ... irq; stopped logging" also mean stopped interrupts?
To: NetBSD Kernel Technical Discussion List <tech-kern@NetBSD.org>
From: Michael L. Hitch <mhitch@lightning.msu.montana.edu>
List: port-alpha
Date: 03/26/2005 12:05:56
On Sat, 26 Mar 2005, Jason Thorpe wrote:

>
> On Mar 26, 2005, at 1:54 AM, Greg A. Woods wrote:
>
> > So, does "stray ... irq; stopped logging" also mean stopped
> > interrupts?
>
> No, it just means it stopped logging them.

Oh, then what about this:

dec_6600_iointr(arg, vec)
        void *arg;
        unsigned long vec;
{
        int irq;

        irq = SCB_VECTOIDX(vec - 0x900);

        if (irq >= PCI_NIRQ)
                panic("iointr: irq %d is too high", irq);

        if (!alpha_shared_intr_dispatch(dec_6600_pci_intr, irq)) {
                alpha_shared_intr_stray(dec_6600_pci_intr, irq,
                    irqtype);
                if (ALPHA_SHARED_INTR_DISABLE(dec_6600_pci_intr, irq))
                        dec_6600_intr_disable(irq);
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        }
}

--
Michael L. Hitch			mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University	Bozeman, MT	USA