PCI: iproc: Skip check for legacy IRQ on PAXC buses
authorAndy Gospodarek <gospo@broadcom.com>
Thu, 1 Dec 2016 20:34:52 +0000 (15:34 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 8 Dec 2016 18:24:20 +0000 (12:24 -0600)
commitffbd796821472c6571b09962cdbd13cd2815e2c1
tree3a42377599cb49deab299bf44129fac78bca4c41
parentfeacdb4a35920235a0daf42d6f5701a74c4708b5
PCI: iproc: Skip check for legacy IRQ on PAXC buses

PAXC and PAXCv2 buses do not support legacy IRQs so there is no reason to
even try and map them.  Without a change like this, one cannot create VFs
on Nitro ports since legacy interrupts are checked as part of the PCI
device creation process.  Testing on PAXC hardware showed that VFs are
properly created with only the change to not set pcie->map_irq, but just to
be safe the change in iproc_pcie_setup() will ensure that pdev_fixup_irq()
will not panic.

Signed-off-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Ray Jui <ray.jui@broadcom.com>
drivers/pci/host/pcie-iproc-platform.c
drivers/pci/host/pcie-iproc.c