]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC64]: of_device layer IRQ resolution
authorDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2006 22:07:37 +0000 (15:07 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 29 Jun 2006 23:37:38 +0000 (16:37 -0700)
commitadc9c4da52e92bcc16bf3aec204661caeaca5994
tree96d74048849b310135e0c79f663b16c52186caa5
parent04892048612de164671b18544bf1758abffd84dc
[SPARC64]: of_device layer IRQ resolution

Do IRQ determination generically by parsing the PROM properties,
and using IRQ controller drivers for final resolution.

One immediate positive effect is that all of the IRQ frobbing
in the EBUS, ISA, and PCI controller layers has been eliminated.
We just look up the of_device and use the properly computed
value.

The PCI controller irq_build() routines are gone and no longer
used.  Unfortunately sbus_build_irq() has to remain as there is
a direct reference to this in the sunzilog driver.  That can be
killed off once the sparc32 side of this is written and the
sunzilog driver is transformed into an "of" bus driver.

Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
arch/sparc64/kernel/ebus.c
arch/sparc64/kernel/isa.c
arch/sparc64/kernel/of_device.c
arch/sparc64/kernel/pci.c
arch/sparc64/kernel/pci_common.c
arch/sparc64/kernel/pci_psycho.c
arch/sparc64/kernel/pci_sabre.c
arch/sparc64/kernel/pci_schizo.c
arch/sparc64/kernel/pci_sun4v.c
arch/sparc64/kernel/prom.c
include/asm-sparc64/of_device.h
include/asm-sparc64/pbm.h
include/asm-sparc64/prom.h