commit | 156baca8d31e1aced2c8a14262637aef1ab416b9 | [log] [tgz] |
---|---|---|
author | David Woodhouse <David.Woodhouse@intel.com> | Sun Mar 09 14:00:57 2014 -0700 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Mar 24 14:07:49 2014 +0000 |
tree | 0753e871798fd4af853c7c41ac3fa95fd5cd0ec5 | |
parent | 9b226624bbf7102cee67b6459bcb9c66dd081ca7 [diff] |
iommu/vt-d: Make device_to_iommu() cope with non-PCI devices Pass the struct device to it, and also make it return the bus/devfn to use, since that is also stored in the DMAR table. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>