Fix the IRQ assignment with vlynq/pci, thanks sw ! (#1865)
SVN-Revision: 7689
This commit is contained in:
parent
0becec394f
commit
02619c31b5
1 changed files with 3 additions and 1 deletions
|
@ -178,9 +178,11 @@ static int vlynq_config_read(struct pci_bus *bus, unsigned int devfn, int where,
|
||||||
case PCI_INTERRUPT_LINE:
|
case PCI_INTERRUPT_LINE:
|
||||||
case PCI_CARDBUS_CIS:
|
case PCI_CARDBUS_CIS:
|
||||||
case PCI_CAPABILITY_LIST:
|
case PCI_CAPABILITY_LIST:
|
||||||
case PCI_INTERRUPT_PIN:
|
|
||||||
*val = 0;
|
*val = 0;
|
||||||
break;
|
break;
|
||||||
|
case PCI_INTERRUPT_PIN:
|
||||||
|
*val = 1;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
printk("%s: Read of unknown register 0x%x (size %d)\n",
|
printk("%s: Read of unknown register 0x%x (size %d)\n",
|
||||||
dev->dev.bus_id, where, size);
|
dev->dev.bus_id, where, size);
|
||||||
|
|
Loading…
Reference in a new issue