fix up the netconfig script after the devfs=>hotplug2 migration
[openwrt.git] / target / linux / ixp4xx-2.6 / patches / 200-gateway_7001.patch
index 5064f29..b672e5a 100644 (file)
@@ -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;
 +}
 +
This page took 0.018869 seconds and 4 git commands to generate.