linux-sg2042/drivers/pci/host
Jason Gunthorpe f407dae760 PCI: mvebu: Return 'unsupported' for Interrupt Line and Interrupt Pin
The emulated bridge does not support interrupts, so it should return the
value 0 for Interrupt Line and Interrupt Pin.  This indicates that
interrupts are not supported.

Since Max_Lat and Min_Gnt are also in the same 32-bit word, we return
0 for them, which means "do not care."

This corrects an error message from the kernel:

  pci 0000:00:01.0: of_irq_parse_pci() failed with rc=135

Which is due to the default return of 0xFFFFFFFF indicating that
interrupts are supported.

The error message regression was caused by 16b84e5a50 ("of/irq: Create
of_irq_parse_and_map_pci() to consolidate arch code.")

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
2013-11-26 11:27:28 -07:00
..
Kconfig PCI changes for the v3.13 merge window: 2013-11-14 14:02:00 +09:00
Makefile Merge branch 'pci/host-rcar' into next 2013-10-31 13:58:49 -06:00
pci-exynos.c PCI: exynos: Remove redundant of_match_ptr 2013-10-29 16:13:40 -06:00
pci-imx6.c PCI: imx6: Probe the PCIe in fs_initcall() 2013-10-31 11:34:04 -06:00
pci-mvebu.c PCI: mvebu: Return 'unsupported' for Interrupt Line and Interrupt Pin 2013-11-26 11:27:28 -07:00
pci-rcar-gen2.c PCI: Add R-Car Gen2 internal PCI support 2013-10-30 11:25:55 -06:00
pci-tegra.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
pcie-designware.c PCI: Fix whitespace, capitalization, and spelling errors 2013-11-14 11:28:18 -07:00
pcie-designware.h PCI: designware: Add irq_create_mapping() 2013-10-09 09:14:23 -06:00