X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fixp4xx-2.6%2Fpatches%2F200-gateway_7001.patch;h=b672e5a5d82b48ab86c6fa093e5128e530205977;hb=99b14991d61b0bda219168d5893961621b09ac35;hp=5064f29d6ee2e4b54a9ebe7891aeac2db5f82a78;hpb=7e450a1c869a5b227e3c91c4e71049059f1193e6;p=openwrt-10.03%2F.git 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 5064f29d6..b672e5a5d 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; +} +