]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/include/asm/amd_iommu_proto.h
Merge branch 'intel_idle+snb' into idle-release
[karo-tx-linux.git] / arch / x86 / include / asm / amd_iommu_proto.h
index d2544f1d705d3eb9cad310ac3486f94c2358b51d..cb030374b90aeb526ad7f985527def42643bc1a9 100644 (file)
@@ -38,4 +38,10 @@ static inline void amd_iommu_stats_init(void) { }
 
 #endif /* !CONFIG_AMD_IOMMU_STATS */
 
+static inline bool is_rd890_iommu(struct pci_dev *pdev)
+{
+       return (pdev->vendor == PCI_VENDOR_ID_ATI) &&
+              (pdev->device == PCI_DEVICE_ID_RD890_IOMMU);
+}
+
 #endif /* _ASM_X86_AMD_IOMMU_PROTO_H  */