/* This two layered interrupt approach means that we allocate IRQ 16 and above for PCI interrupts. The IRQ relates to which bit the interrupt comes in on. This makes interrupt processing much easier.  */
static int __init eb64p_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
/* This two layered interrupt approach means that we allocate IRQ 16 and above for PCI interrupts. The IRQ relates to which bit the interrupt comes in on. This makes interrupt processing much easier.  */
static int __init eb64p_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
{
	static char irq_tab[5][5] __initdata = {
		{16+7, 16+7, 16+7, 16+7,  16+7},
		{16+0, 16+0, 16+2, 16+4,  16+9},
		{16+1, 16+1, 16+3, 16+8, 16+10},
		{  -1,   -1,   -1,   -1,    -1},
		{16+6, 16+6, 16+6, 16+6,  16+6},
	};
	const long min_idsel = 5, max_idsel = 9, irqs_per_slot = 5;
	return COMMON_TABLE_LOOKUP;
}