| commit | 899a05d9e0fb97b41f2a00984f247600e7074221 | [log] [tgz] |
|---|---|---|
| author | Ley Foon Tan <lftan@altera.com> | Fri Dec 04 16:21:21 2015 -0600 |
| committer | Ley Foon Tan <lftan@altera.com> | Tue Dec 08 21:53:58 2015 +0800 |
| tree | ae91c74cc20742ee9b0c44fd67c4d7a832297077 | |
| parent | cc39ff2c70bd87dcb9bfda66806f6e1b822dbf58 [diff] |
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 <lftan@altera.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>