X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/83918f91d4a227f31d9718a67c8d56dec3afcd39..e2b5ab4233779ace4e0160ea6f0a9801b7128053:/target/linux/ar7-2.6/files/arch/mips/ar7/vlynq-pci.c 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);