summaryrefslogtreecommitdiff
path: root/hw/ppce500_pci.h
AgeCommit message (Collapse)AuthorFilesLines
2012-12-14PPC: e500: pci: Export slot2irq calculationAlexander Graf1-0/+9
We need the calculation method to get from a PCI slot ID to its respective interrupt line twice. Once in the internal map function and once when assembling the device tree. So let's extract the calculation to a separate function that can be called by both users. Signed-off-by: Alexander Graf <agraf@suse.de>