/* map the specified device/slot/pin to an IRQ. Different backplanes may need to modify this.  */
static int __init versatile_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
/* map the specified device/slot/pin to an IRQ. Different backplanes may need to modify this.  */
static int __init versatile_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
{
	int irq;
	int devslot = PCI_SLOT(dev->devfn);
	irq = 27 + ((slot + pin - 1) & 3);
	printk("PCI map irq: slot %d, pin %d, devslot %d, irq: %d\n",slot,pin,devslot,irq);
	return irq;
}