From 44d82538a1d633b8c3017516d1eab2ac6b6e0b52 Mon Sep 17 00:00:00 2001 From: patrick Date: Sun, 14 Mar 2021 14:46:52 +0000 Subject: [PATCH] msi-map-mask is a pasto and should be iommu-map-mask. From Jared McNeill at NetBSD ok kettenis@ --- sys/dev/ofw/ofw_misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ofw/ofw_misc.c b/sys/dev/ofw/ofw_misc.c index 22d8d606506..a9e48821350 100644 --- a/sys/dev/ofw/ofw_misc.c +++ b/sys/dev/ofw/ofw_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofw_misc.c,v 1.30 2021/02/28 21:09:44 patrick Exp $ */ +/* $OpenBSD: ofw_misc.c,v 1.31 2021/03/14 14:46:52 patrick Exp $ */ /* * Copyright (c) 2017 Mark Kettenis * @@ -931,7 +931,7 @@ iommu_device_map_pci(int node, uint32_t rid, bus_dma_tag_t dmat) map = malloc(len, M_TEMP, M_WAITOK); OF_getpropintarray(node, "iommu-map", map, len); - mask = OF_getpropint(node, "msi-map-mask", 0xffff); + mask = OF_getpropint(node, "iommu-map-mask", 0xffff); rid = rid & mask; cell = map; -- 2.20.1