Re: dual IRQ 23 (was: USB?; 2.2.18 no boot?; aic7xxx?)

From
Michel Lanners <hidden>
Date
2000-12-01 19:56:28
Reply to
Stefan Jeglinski, 2000-11-29
Hi all,

On  28 Nov, this message from Stefan Jeglinski echoed through cyberspace:
lspci -vv is attached at the end. The key point is that the entry for
the Adaptec 2940UW card and the Orangelink USB card BOTH say:

	Interrupt: pin A routed to IRQ 23
00:0d.0 SCSI storage controller: Adaptec AIC-7881U
[snip]
	Interrupt: pin A routed to IRQ 23
00:0e.0 Ethernet controller: Digital Equipment Corporation DECchip
21142/43 (rev 41)
[snip]
	Interrupt: pin A routed to IRQ 24

00:0f.0 PCI bridge: Action Tec Electronics Inc: Unknown device 0100
(rev 11) (prog-if 00 [Normal decode])
[snip]
01:0c.0 FireWire (IEEE 1394): NEC Corporation: Unknown device 00cd
(rev 01) (prog-if 10 [OHCI])
[snip]
	Interrupt: pin A routed to IRQ 1
       This is most certainly wrong -> ^
01:0d.0 USB Controller: OPTi Inc. 82C861 (rev 10) (prog-if 10 [OHCI])
[snip]
	Interrupt: pin A routed to IRQ 23
                        and this too ->^^

Bot of these devices should get IRQ25. Why? Because on Macs, all four
IRQ lines of a PCI slot are OR'ed together on the bridge chip.
Therefore, there is one single fixed IRQ per PCI slot. So, the devices
behind the PCI-to-PCI bridge in slot 00:0f should all have the same IRQ,
which should be, following the obvious logic, IRQ 25.

Either a problem with the P2P bridge code in Linux, or with detecting
the IRQ's out of OF, as Ben suggested.

Stefan, you could try hardcoding that IRQ in the PCI fixup code, or in
the driver, and see whether that works...

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Thread (6 messages) 6 messages, 5 authors, last reply 2000-12-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help