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 | |
Suresh Siddha | 20f3097 | 2009-08-04 12:07:08 -0700 | [diff] [blame] | 10 | struct hpet_scope { |
| 11 | struct intel_iommu *iommu; |
| 12 | u8 id; |
| 13 | unsigned int bus; |
| 14 | unsigned int devfn; |
| 15 | }; |
| 16 | |
Suresh Siddha | 2ae2101 | 2008-07-10 11:16:43 -0700 | [diff] [blame] | 17 | #define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0) |