arguing IRQ (was Re: dual IRQ 23)

Timothy A. Seufert tas at mindspring.com
Tue Dec 5 19:39:22 EST 2000


At 1:09 AM -0500 12/4/00, Stefan Jeglinski wrote:

>So, is Geert right (PCI ok at least in this aspect, drivers are
>buggy)? Or are Ben/Michel right (drivers OK, PCI/IRQ buggy)?

PCI is in fact designed to share interrupts gracefully, as Geert
said.  However, sharing doesn't look like the problem here: what
Michel and Ben are talking about is that the kernel fails to
correctly identify your card's true IRQ number.  On these Macs there
is a fixed mapping between PCI slots and interrupt numbers,
determined by hardware.  If software gets this mapping wrong, drivers
will hook into the wrong IRQ numbers and fail to work correctly.

According to Ben, this appears to be a problem in the kernel code
which discovers information about PCI devices (including interrupt
mappings) from an Open Firmware data structure, the OF device tree.
Apparently the interrupt assignment information in the device tree is
structured somewhat differently in Old World Macs such as yours when
devices are behind a PCI to PCI bridge.  (Your combo card consists of
such a bridge plus two PCI devices.)

   Tim Seufert

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list