+
+static int __init gateway7001_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
+{
-+ if (slot == 0)
-+ return IRQ_IXP4XX_GPIO10;
-+ else if (slot == 1)
++ if (slot == 1)
+ return IRQ_IXP4XX_GPIO11;
++ else if (slot == 2)
++ return IRQ_IXP4XX_GPIO10;
+ else return -1;
+}
+