PPC: E500: PCI: Make IRQ calculation more generic
commit05f57d9de8e99bf5f7ca762c6dc2f1e054c2074c
authorAlexander Graf <agraf@suse.de>
Wed, 12 Dec 2012 11:58:12 +0000 (12 12:58 +0100)
committerAlexander Graf <agraf@suse.de>
Fri, 14 Dec 2012 12:12:57 +0000 (14 13:12 +0100)
tree6231ca27ae041de05f3455610660e568c65e1316
parenteafb325fb11af21ed9df3f5a310fd26e70954318
PPC: E500: PCI: Make IRQ calculation more generic

The IRQ line calculation is more or less hardcoded today. Instead, let's
write it as an algorithmic function that theoretically allows an arbitrary
number of PCI slots.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppce500_pci.c