diff options
author | Jan Beulich <jbeulich@suse.com> | 2013-01-07 12:51:22 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-01-07 12:51:22 +0100 |
commit | 789e2b55928d7834a511dda677c1aaa7cb19ad7e (patch) | |
tree | cbfd8d4f4f78a688bb5ab5dd8152889ec9d263ed /xen/include/xen/iommu.h | |
parent | 28dff37a135710ece0d745b153a0f17d9b3c0e05 (diff) | |
download | xen-789e2b55928d7834a511dda677c1aaa7cb19ad7e.tar.gz xen-789e2b55928d7834a511dda677c1aaa7cb19ad7e.tar.bz2 xen-789e2b55928d7834a511dda677c1aaa7cb19ad7e.zip |
IOMMU: adjust add/remove operation parameters
... to use a (struct pci_dev *, devfn) pair.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: "Zhang, Xiantao" <xiantao.zhang@intel.com>
Diffstat (limited to 'xen/include/xen/iommu.h')
-rw-r--r-- | xen/include/xen/iommu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h index 30eec551bc..0e832d5d07 100644 --- a/xen/include/xen/iommu.h +++ b/xen/include/xen/iommu.h @@ -94,9 +94,9 @@ struct msi_msg; struct iommu_ops { int (*init)(struct domain *d); void (*dom0_init)(struct domain *d); - int (*add_device)(struct pci_dev *pdev); + int (*add_device)(u8 devfn, struct pci_dev *); int (*enable_device)(struct pci_dev *pdev); - int (*remove_device)(struct pci_dev *pdev); + int (*remove_device)(u8 devfn, struct pci_dev *); int (*assign_device)(struct domain *, u8 devfn, struct pci_dev *); void (*teardown)(struct domain *d); int (*map_page)(struct domain *d, unsigned long gfn, unsigned long mfn, |