summaryrefslogtreecommitdiffstats
path: root/include/hw/pci-host/ppce500.h
blob: e3a374230b7116b65bd3e4476e30ab9775fba17d (plain) (blame)
1
2
3
4
5
6
7
8
9
#ifndef PCI_HOST_PPCE500_H
#define PCI_HOST_PPCE500_H

static inline int ppce500_pci_map_irq_slot(int devno, int irq_num)
{
    return (devno + irq_num) % 4;
}

#endif