[POWERPC] Do not write virq back to PCI config space
authorMichal Ostrowski <mostrows@watson.ibm.com>
Thu, 28 Dec 2006 04:14:43 +0000 (22:14 -0600)
committerPaul Mackerras <paulus@samba.org>
Wed, 24 Jan 2007 10:13:57 +0000 (21:13 +1100)
commita2894cfb3a6d60980ba85181e31ccc079807e92b
treec840b415e5f31be2ca44c9308d4916632994fedb
parent7e60d1b427c51cf2525e5d736a71780978cfb828
[POWERPC] Do not write virq back to PCI config space

- Drivers will not rely on the PCI config space value, as they've
  already been conditioned to rely on the irq field in "struct pci_dev".

- The virq value may not be < 256 as it has been remapped.

- The PCI config space should reflect the hardware configuration, which
  is not being changed.  We are only creating a virtual irq mapping that
  exists in the kernel only. One would never expect the PCI hardware to
  generate the "virq" interrupt.

Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci_32.c
arch/powerpc/kernel/pci_64.c