diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2021-03-14 14:46:53 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2021-03-14 14:46:53 +0000 |
commit | 9e76f8f92b3e03a067d34a192d72a69a97d7d93d (patch) | |
tree | d3c17d3e51115b0dc912d7cecf9efed586d0d75c /sys/dev/ofw | |
parent | e0360de82077680e217bd63f8f2ed4ba512ff819 (diff) |
msi-map-mask is a pasto and should be iommu-map-mask.
From Jared McNeill at NetBSD
ok kettenis@
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r-- | sys/dev/ofw/ofw_misc.c | 4 |
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; |