blob: 5662fecfee60644b1177c827d99243b6e661533e [file] [log] [blame]
Kay, Allen M38717942008-09-09 18:37:29 +03001#include <linux/intel-iommu.h>
Suresh Siddhaad3ad3f2008-07-10 11:16:40 -07002
3struct ioapic_scope {
4 struct intel_iommu *iommu;
5 unsigned int id;
Weidong Hanf007e992009-05-23 00:41:15 +08006 unsigned int bus; /* PCI bus number */
7 unsigned int devfn; /* PCI devfn number */
Suresh Siddhaad3ad3f2008-07-10 11:16:40 -07008};
Suresh Siddha2ae21012008-07-10 11:16:43 -07009
Suresh Siddha20f30972009-08-04 12:07:08 -070010struct hpet_scope {
11 struct intel_iommu *iommu;
12 u8 id;
13 unsigned int bus;
14 unsigned int devfn;
15};
16
Suresh Siddha2ae21012008-07-10 11:16:43 -070017#define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0)