summaryrefslogtreecommitdiff
path: root/sys/dev/ofw
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r--sys/dev/ofw/ofw_misc.c4
1 files 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;