summaryrefslogtreecommitdiffstats
path: root/hw/ppce500_pci.h
Commit message (Collapse)AuthorAgeFilesLines
* PPC: e500: pci: Export slot2irq calculationAlexander Graf2012-12-141-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>
OpenPOWER on IntegriCloud