[adm5120] add support for generic eb214a, thanks cezary (#7027)
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / files / arch / mips / pci / pci-adm5120.c
index bde3e3208293920e0bbeca57f8e03bea76561d07..0bef8048ff0769bbae5178e46a0adef139f0443b 100644 (file)
@@ -201,7 +201,7 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
                goto out;
        }
 
-       if (slot < 1 || slot > 3) {
+       if (slot < 1 || slot > 4) {
                printk(KERN_ALERT "PCI: slot number %u is not supported\n",
                        slot);
                goto out;