Message ID | 1389307663-11296-4-git-send-email-umalhi@cisco.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/drivers/infiniband/hw/usnic/Kconfig b/drivers/infiniband/hw/usnic/Kconfig index 0f14b6d..2cc8ba0 100644 --- a/drivers/infiniband/hw/usnic/Kconfig +++ b/drivers/infiniband/hw/usnic/Kconfig @@ -1,10 +1,9 @@ config INFINIBAND_USNIC tristate "Verbs support for Cisco VIC" - depends on NETDEVICES && ETHERNET && PCI + depends on NETDEVICES && ETHERNET && PCI && INTEL_IOMMU select ENIC select NET_VENDOR_CISCO select PCI_IOV - select IOMMU_SUPPORT select INFINIBAND_USER_ACCESS ---help--- This is a low-level driver for Cisco's Virtual Interface
usNIC requires Intel IOMMU to be present in order to function correctly. This patch adds a dependency on CONFIG_INTEL_IOMMU of CONFIG_INFINIBAND_USNIC. It also fixes iommu_domain_has_cap not found error that is thrown if usNIC is built with !CONFIG_IOMMU_API. Signed-off-by: Upinder Malhi <umalhi@cisco.com> --- drivers/infiniband/hw/usnic/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)