CVSROOT: /cvs Module name: src Changes by: patr...@cvs.openbsd.org 2021/03/15 16:48:57
Modified files: sys/arch/arm64/dev: acpiiort.c acpiiort.h acpipci.c smmu.c smmu_acpi.c smmu_fdt.c smmuvar.h Log message: Change API of acpiiort(4). It was written as a hook before, taking the PCI attach args and replacing the DMA tag inside. Our other IOMMU API though takes a DMA tag and returns the old one or a new one. To have acpiiort(4) integrate better with non-PCI ACPI devices, change the API so that it is more similar to the other API. This also makes the code easier to understand. ok kettenis@