]> Git Repo - linux.git/commit
PCI: altera: Fix error when INTx is 4
authorLey Foon Tan <[email protected]>
Fri, 4 Dec 2015 22:21:21 +0000 (16:21 -0600)
committerBjorn Helgaas <[email protected]>
Fri, 4 Dec 2015 22:21:21 +0000 (16:21 -0600)
commit99496bd2971fc378226ad4413e5b72c4545714bd
tree7c078837024c5ae69c99510de026544d546e65a7
parentea1d3795f65e14619642b5f67382800f58e43f3d
PCI: altera: Fix error when INTx is 4

PCI interrupt lines start at 1, not at 0.  So, creates additional one
interrupt when register for irq domain.

Error when PCIe devices have 4 INTx:

  WARNING: CPU: 1 PID: 1 at kernel/irq/irqdomain.c:280
    irq_domain_associate+0x17c/0x1cc()
  error: hwirq 0x4 is too large for dummy

Tested on Ethernet adapter card with multi-functions.

Signed-off-by: Ley Foon Tan <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
drivers/pci/host/pcie-altera.c
This page took 0.052441 seconds and 4 git commands to generate.