Kay, Allen M | 3871794 | 2008-09-09 18:37:29 +0300 | [diff] [blame] | 1 | #include <linux/intel-iommu.h> |
Suresh Siddha | ad3ad3f | 2008-07-10 11:16:40 -0700 | [diff] [blame] | 2 | |
| 3 | struct ioapic_scope { |
| 4 | struct intel_iommu *iommu; |
| 5 | unsigned int id; |
Weidong Han | f007e99 | 2009-05-23 00:41:15 +0800 | [diff] [blame] | 6 | unsigned int bus; /* PCI bus number */ |
| 7 | unsigned int devfn; /* PCI devfn number */ |
Suresh Siddha | ad3ad3f | 2008-07-10 11:16:40 -0700 | [diff] [blame] | 8 | }; |
Suresh Siddha | 2ae2101 | 2008-07-10 11:16:43 -0700 | [diff] [blame] | 9 | |
| 10 | #define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0) |