mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:13:20 +02:00
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
This commit is contained in:
parent
3ad62b4675
commit
631f7403d8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user