summaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-21 17:20:19 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-21 17:20:19 +0000
commit631f7403d8703a4e3c570a5f5b0507102b3259a1 (patch)
tree14b6fbb1fe358c460e5abe3c67d75ad7d3ce1760 /target/linux
parent3ad62b46757d4f2e2b34044fd8cf5191504d130c (diff)
Fix the IRQ assignment with vlynq/pci, thanks sw ! (#1865)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7689 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar7-2.6/files/arch/mips/ar7/vlynq-pci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ar7-2.6/files/arch/mips/ar7/vlynq-pci.c b/target/linux/ar7-2.6/files/arch/mips/ar7/vlynq-pci.c
index a32ea8d44..eb11a3b00 100644
--- a/target/linux/ar7-2.6/files/arch/mips/ar7/vlynq-pci.c
+++ b/target/linux/ar7-2.6/files/arch/mips/ar7/vlynq-pci.c
@@ -178,9 +178,11 @@ static int vlynq_config_read(struct pci_bus *bus, unsigned int devfn, int where,
case PCI_INTERRUPT_LINE:
case PCI_CARDBUS_CIS:
case PCI_CAPABILITY_LIST:
- case PCI_INTERRUPT_PIN:
*val = 0;
break;
+ case PCI_INTERRUPT_PIN:
+ *val = 1;
+ break;
default:
printk("%s: Read of unknown register 0x%x (size %d)\n",
dev->dev.bus_id, where, size);