artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
981ba49
)
msi-map-mask is a pasto and should be iommu-map-mask.
author
patrick
<patrick@openbsd.org>
Sun, 14 Mar 2021 14:46:52 +0000
(14:46 +0000)
committer
patrick
<patrick@openbsd.org>
Sun, 14 Mar 2021 14:46:52 +0000
(14:46 +0000)
From Jared McNeill at NetBSD
ok kettenis@
sys/dev/ofw/ofw_misc.c
patch
|
blob
|
history
diff --git
a/sys/dev/ofw/ofw_misc.c
b/sys/dev/ofw/ofw_misc.c
index
22d8d60
..
a9e4882
100644
(file)
--- a/
sys/dev/ofw/ofw_misc.c
+++ b/
sys/dev/ofw/ofw_misc.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ofw_misc.c,v 1.3
0 2021/02/28 21:09:44
patrick Exp $ */
+/* $OpenBSD: ofw_misc.c,v 1.3
1 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;