aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2007-03-04 21:17:17 +0000
committerImre Kaloz <kaloz@openwrt.org>2007-03-04 21:17:17 +0000
commit603bbc1e8acae3773314bcb00e41fc2811080739 (patch)
treefbe9814831cab4b5ab822ea42de880e515dd61c3 /target
parent08c5cb8c23540d2573e185a92358e6a358603c03 (diff)
downloadupstream-603bbc1e8acae3773314bcb00e41fc2811080739.tar.gz
upstream-603bbc1e8acae3773314bcb00e41fc2811080739.tar.bz2
upstream-603bbc1e8acae3773314bcb00e41fc2811080739.zip
SVN-Revision: 6516
Diffstat (limited to 'target')
-rw-r--r--target/linux/ixp4xx-2.6/patches/200-gateway_7001.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ixp4xx-2.6/patches/200-gateway_7001.patch b/target/linux/ixp4xx-2.6/patches/200-gateway_7001.patch
index 5064f29d6e..b672e5a5d8 100644
--- 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 @@ diff -Nur linux-2.6.19.2/arch/arm/mach-ixp4xx/gateway7001-pci.c linux-2.6.19.2-o
+
+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;
+}
+