git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6516 3c298f89-4303-0410-b956-a3cf2f4a3e73
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6516 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/target/linux/ixp4xx-2.6/patches/200-gateway_7001.patch
+++ b/target/linux/ixp4xx-2.6/patches/200-gateway_7001.patch
@@ -96,10 +96,10 @@
 +
 +static int __init gateway7001_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
 +{
-+	if (slot == 0)
++	if (slot == 1)
++		return IRQ_IXP4XX_GPIO11;
++	else if (slot == 2)
 +		return IRQ_IXP4XX_GPIO10;
-+	else if (slot == 1)
-+		return IRQ_IXP4XX_GPIO11;
 +	else return -1;
 +}
 +

comments