aboutsummaryrefslogtreecommitdiff
path: root/sys/x86
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2020-05-26 16:40:40 +0000
committerRuslan Bukin <br@FreeBSD.org>2020-05-26 16:40:40 +0000
commit43843cc28166a02f077a045057938a1728ec8f09 (patch)
tree9aa5a5494e70b75e13ec0a4d5d8d9b79422ac2dc /sys/x86
parent2287afd8180cb5f48c6a3ff6235e0b743b13353a (diff)
downloadsrc-43843cc28166a02f077a045057938a1728ec8f09.tar.gz
src-43843cc28166a02f077a045057938a1728ec8f09.zip
Rename dmar_get_dma_tag() to acpi_iommu_get_dma_tag().
This is needed for a new IOMMU controller support. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D24943
Notes
Notes: svn path=/head/; revision=361532
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/iommu/busdma_dmar.c2
-rw-r--r--sys/x86/iommu/busdma_dmar.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/x86/iommu/busdma_dmar.c b/sys/x86/iommu/busdma_dmar.c
index 907998425608..d5406c019f24 100644
--- a/sys/x86/iommu/busdma_dmar.c
+++ b/sys/x86/iommu/busdma_dmar.c
@@ -269,7 +269,7 @@ dmar_instantiate_ctx(struct dmar_unit *dmar, device_t dev, bool rmrr)
}
bus_dma_tag_t
-dmar_get_dma_tag(device_t dev, device_t child)
+acpi_iommu_get_dma_tag(device_t dev, device_t child)
{
struct dmar_unit *dmar;
struct dmar_ctx *ctx;
diff --git a/sys/x86/iommu/busdma_dmar.h b/sys/x86/iommu/busdma_dmar.h
index 063f761dec5a..9b732aa5f381 100644
--- a/sys/x86/iommu/busdma_dmar.h
+++ b/sys/x86/iommu/busdma_dmar.h
@@ -62,6 +62,6 @@ struct bus_dmamap_dmar {
extern struct bus_dma_impl bus_dma_dmar_impl;
-bus_dma_tag_t dmar_get_dma_tag(device_t dev, device_t child);
+bus_dma_tag_t acpi_iommu_get_dma_tag(device_t dev, device_t child);
#endif