I am trying to configure a dts file for the pci subsystem of a MPC8540 based system.<br><br>I am expecting (hoping) that the value specified in the interrupts property (98 in this example)<br>will be used as the virtual interrupt number and that I can later do a request_irq using that number.<br>
<br>kernel: 2.6.26.3<br><br>The board level configuration is:<br> ADR29 connected to IDSEL<br> using INTA# only<br> The PCI interrupt is connected to external IRQ2<br><br>What I see is that inside irq_create_mapping, a call to irq_find_mapping produces a null virq,<br>
so irq_alloc_virt is called and comes back with x12. Can I assign the number to 98 (x62)<br>using the dts? Any help would be greatly appreciated.<br><br>Thanks<br><br>Ken<br><br> pci0: pci@fdf08000 {<br> cell-index = <0>;<br>
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;<br> interrupt-map = <<br><br> /* IDSEL 0x1d */<br> 0xe800 0x0 0x0 0x1 &mpic 0x2 0x1<br> >;<br>
interrupt-parent = <&mpic>;<br> interrupts = <98 2>;<br> bus-range = <0 0>;<br> ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000<br>
0x1000000 0x0 0x0 0xe2000000 0x0 0x100000>;<br> clock-frequency = <66666666>;<br> #interrupt-cells = <1>;<br> #size-cells = <2>;<br>
#address-cells = <3>;<br> reg = <0xfdf08000 0x1000>;<br> compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";<br> device_type = "pci";<br>
};<br><br>