Re: pnp code and irq 2 broken
From: Doug Rabson (dfr_at_nlsystems.com)
Date: 08/28/03
- Previous message: John Hay: "Re: pnp code and irq 2 broken"
- In reply to: John Hay: "pnp code and irq 2 broken"
- Next in thread: Doug Rabson: "Re: pnp code and irq 2 broken"
- Reply: Doug Rabson: "Re: pnp code and irq 2 broken"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: John Hay <jhay@icomtek.csir.co.za> Date: 28 Aug 2003 13:26:51 +0100
On Wed, 2003-08-27 at 06:45, John Hay wrote:
> Hi,
>
> Somewhere along the line the code in FreeBSD that maps irq 2 to irq 9 has
> gone away and a panic was added if one tries to use irq 2. This is all
> well and fine, except that the pnp code was not notified of this. :-) So
> if you have a pnp device that have irq 2 in its mask and FreeBSD then
> decides that irq 2 is a good irq to use for this device, you have an
> instant panic.
>
> I have worked around it with this crude patch below. Crude because:
> 1) I don't know if it should be an i386 only fix, and
> 2) I used 0x04 directly, maybe IRQ_SLAVE from i386/isa/icu.h or
> some other define should be used?
>
> Any comments from anyone?
I think that the way this used to work was that irq 2 was never included
in the irq resource map. The allocation code would never choose a
configuration which used irq 2 because it should never be possible to
allocate that resource.
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: John Hay: "Re: pnp code and irq 2 broken"
- In reply to: John Hay: "pnp code and irq 2 broken"
- Next in thread: Doug Rabson: "Re: pnp code and irq 2 broken"
- Reply: Doug Rabson: "Re: pnp code and irq 2 broken"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- pnp code and irq 2 broken
... Somewhere along the line the code in FreeBSD that maps irq 2 to irq 9 has ...
I have worked around it with this crude patch below. ... pnp_printf(id, "adding irq
mask %#02x\n", ... (freebsd-arch) - pnp code and irq 2 problem
... Somewhere along the line the code in FreeBSD that maps irq 2 to irq 9 has ...
I have worked around it with this crude patch below. ... pnp_printf(id, "adding irq
mask %#02x\n", ... (freebsd-current)