Skip to content
Commit 156baca8 authored by David Woodhouse's avatar David Woodhouse
Browse files

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: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 9b226624
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment