diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-07-18 10:29:58 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-07-18 10:29:58 +0000 |
commit | 734780f95022e2f01d0e81dd22ca1583d43a7ff1 (patch) | |
tree | 3e7c4142764fe488d0d1d6a2d895a76781b584b2 /target/linux/adm5120/files/arch/mips/pci | |
parent | 551efde56a5b56540f82cfc68e5157f388659aef (diff) | |
download | master-187ad058-734780f95022e2f01d0e81dd22ca1583d43a7ff1.tar.gz master-187ad058-734780f95022e2f01d0e81dd22ca1583d43a7ff1.tar.bz2 master-187ad058-734780f95022e2f01d0e81dd22ca1583d43a7ff1.zip |
[adm5120] add support for generic eb214a, thanks cezary (#7027)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22275 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/files/arch/mips/pci')
-rw-r--r-- | target/linux/adm5120/files/arch/mips/pci/pci-adm5120.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/adm5120/files/arch/mips/pci/pci-adm5120.c b/target/linux/adm5120/files/arch/mips/pci/pci-adm5120.c index bde3e32082..0bef8048ff 100644 --- a/target/linux/adm5120/files/arch/mips/pci/pci-adm5120.c +++ b/target/linux/adm5120/files/arch/mips/pci/pci-adm5120.c @@ -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; |