iommu/vt-d: Make device_to_iommu() cope with non-PCI devices
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 9 Mar 2014 21:00:57 +0000 (14:00 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 24 Mar 2014 14:07:49 +0000 (14:07 +0000)
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>
drivers/iommu/intel-iommu.c

Simple merge