aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index d18b1dd49fab..6755cf5ac109 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -117,6 +117,11 @@ enum pci_dev_flags {
117 PCI_DEV_FLAGS_MSI_INTX_DISABLE_BUG = (__force pci_dev_flags_t) 1, 117 PCI_DEV_FLAGS_MSI_INTX_DISABLE_BUG = (__force pci_dev_flags_t) 1,
118}; 118};
119 119
120enum pci_irq_reroute_variant {
121 INTEL_IRQ_REROUTE_VARIANT = 1,
122 MAX_IRQ_REROUTE_VARIANTS = 3
123};
124
120typedef unsigned short __bitwise pci_bus_flags_t; 125typedef unsigned short __bitwise pci_bus_flags_t;
121enum pci_bus_flags { 126enum pci_bus_flags {
122 PCI_BUS_FLAGS_NO_MSI = (__force pci_bus_flags_t) 1, 127 PCI_BUS_FLAGS_NO_MSI = (__force pci_bus_flags_t) 1,
@@ -194,6 +199,7 @@ struct pci_dev {
194 unsigned int no_d1d2:1; /* only allow d0 or d3 */ 199 unsigned int no_d1d2:1; /* only allow d0 or d3 */
195 unsigned int block_ucfg_access:1; /* userspace config space access is blocked */ 200 unsigned int block_ucfg_access:1; /* userspace config space access is blocked */
196 unsigned int broken_parity_status:1; /* Device generates false positive parity */ 201 unsigned int broken_parity_status:1; /* Device generates false positive parity */
202 unsigned int irq_reroute_variant:2; /* device needs IRQ rerouting variant */
197 unsigned int msi_enabled:1; 203 unsigned int msi_enabled:1;
198 unsigned int msix_enabled:1; 204 unsigned int msix_enabled:1;
199 unsigned int is_managed:1; 205 unsigned int is_managed:1;