2008-09-09 11:37:29 -04:00
|
|
|
#include <linux/intel-iommu.h>
|
2008-07-10 14:16:40 -04:00
|
|
|
|
|
|
|
struct ioapic_scope {
|
|
|
|
struct intel_iommu *iommu;
|
|
|
|
unsigned int id;
|
2009-05-22 12:41:15 -04:00
|
|
|
unsigned int bus; /* PCI bus number */
|
|
|
|
unsigned int devfn; /* PCI devfn number */
|
2008-07-10 14:16:40 -04:00
|
|
|
};
|
2008-07-10 14:16:43 -04:00
|
|
|
|
|
|
|
#define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0)
|