diff options
author | NeilBrown <neil@brown.name> | 2018-05-12 12:57:46 -0700 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-05-14 16:23:59 +0200 |
commit | 5f7396ebef09b224edf08b0bda113613a42f0928 (patch) | |
tree | 96106955afae34887a7c72229eb6ab385b6e3c5b /target/linux/at91/sama5d4 | |
parent | 2ad4daf5794b08878467c1dac5bef7487109e4da (diff) | |
download | upstream-5f7396ebef09b224edf08b0bda113613a42f0928.tar.gz upstream-5f7396ebef09b224edf08b0bda113613a42f0928.tar.bz2 upstream-5f7396ebef09b224edf08b0bda113613a42f0928.zip |
ramips: improve interrupt mapping
As the Interrupts for the PCI adapters are listed in
devicetree we shouldn't need to have them explicit in the code.
The simplest way to do this is to use of_irq_parse_and_map_pci()
and specify an interrupt-map which identifies the different
PCI hosts by bus/slot numbers.
This has the advantage that the hwirq number are mapped to virq
numbers for us, so the ugly hack can go.
Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'target/linux/at91/sama5d4')
0 files changed, 0 insertions, 0 deletions