xref: /qemu/include/hw/pci-host/ppce500.h (revision 121d07125bb6d7079c7ebafdd3efe8c3a01cc440)
1*121d0712SMarkus Armbruster #ifndef PCI_HOST_PPCE500_H
2*121d0712SMarkus Armbruster #define PCI_HOST_PPCE500_H
39e2c1298SAlexander Graf 
ppce500_pci_map_irq_slot(int devno,int irq_num)49e2c1298SAlexander Graf static inline int ppce500_pci_map_irq_slot(int devno, int irq_num)
59e2c1298SAlexander Graf {
69e2c1298SAlexander Graf     return (devno + irq_num) % 4;
79e2c1298SAlexander Graf }
89e2c1298SAlexander Graf 
99e2c1298SAlexander Graf #endif
10