Re: [PATCH 4/4] ARM: dts: add PCI to the Gemini DTSI

Arnd Bergmann
2017-02-10T15:40:47Z

On Monday, February 6, 2017 10:55:03 AM CET Hans Ulli Kroll wrote:
>
> from my IB 4220 sources.
>
> #define IRQ_PCI_INTA PCI_IRQ_OFFSET + 0
> #ifndef CONFIG_DUAL_PCI
> #define IRQ_PCI_INTB PCI_IRQ_OFFSET + 1
> #define IRQ_PCI_INTC PCI_IRQ_OFFSET + 2
> #define IRQ_PCI_INTD PCI_IRQ_OFFSET + 3
> #else
> #define IRQ_PCI_INTB 27
> #define IRQ_PCI_INTC 28
> #define IRQ_PCI_INTD 29
> #endif
>
> CONFIG_DUAL_PCI is never used
> IRQ_PCIB - IRQ_PCID or IRQ_PCI_INTB - IRQ_PCI_INTD are also never used.
>
>

The source code that Linus quoted earlier had references to
'IRQ_PCI_INTA +n' though, which is basically the same thing.

Arnd