summaryrefslogtreecommitdiff
path: root/drivers/pci/host/pcie-iproc.h
diff options
context:
space:
mode:
authorRay Jui <ray.jui@broadcom.com>2016-10-31 17:38:35 -0700
committerBjorn Helgaas <bhelgaas@google.com>2016-11-17 14:40:37 -0600
commit787b3c4f2e7d0888e211376c7c6a1617e8cc0f46 (patch)
tree64615d85f1ab533e5619f5cf912be619c673d4f7 /drivers/pci/host/pcie-iproc.h
parentf29224ae95c9805256ca99d425a29fe7eb7f1395 (diff)
downloadlinux-787b3c4f2e7d0888e211376c7c6a1617e8cc0f46.tar.gz
linux-787b3c4f2e7d0888e211376c7c6a1617e8cc0f46.tar.xz
PCI: iproc: Add PAXC v2 support
Add support for the second generation of the iProc PCIe PAXC host controller. Signed-off-by: Ray Jui <ray.jui@broadcom.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Anup Patel <anup.patel@broadcom.com> Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Diffstat (limited to 'drivers/pci/host/pcie-iproc.h')
-rw-r--r--drivers/pci/host/pcie-iproc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/host/pcie-iproc.h b/drivers/pci/host/pcie-iproc.h
index 711dd3a5f55b..c2da14029040 100644
--- a/drivers/pci/host/pcie-iproc.h
+++ b/drivers/pci/host/pcie-iproc.h
@@ -27,6 +27,7 @@ enum iproc_pcie_type {
IPROC_PCIE_PAXB_BCMA = 0,
IPROC_PCIE_PAXB,
IPROC_PCIE_PAXC,
+ IPROC_PCIE_PAXC_V2,
};
/**
@@ -61,6 +62,8 @@ struct iproc_msi;
* unsupported request from being forwarded as an APB bus error
* @need_ob_cfg: indicates SW needs to configure the outbound mapping window
* @ob: outbound mapping parameters
+ * @need_msi_steer: indicates additional configuration of the iProc PCIe
+ * controller is required to steer MSI writes to external interrupt controller
* @msi: MSI data
*/
struct iproc_pcie {
@@ -79,6 +82,7 @@ struct iproc_pcie {
bool has_apb_err_disable;
bool need_ob_cfg;
struct iproc_pcie_ob ob;
+ bool need_msi_steer;
struct iproc_msi *msi;
};