diff options
| author | Michal Meloun <mmel@FreeBSD.org> | 2025-11-06 19:21:49 +0000 |
|---|---|---|
| committer | Michal Meloun <mmel@FreeBSD.org> | 2026-02-22 17:53:27 +0000 |
| commit | f40ed4881e2581d56b1a63ffb0122e017b2139f3 (patch) | |
| tree | 66c80eef566214409da3e0ef04af7e820afcdc6e | |
| parent | 67fc0ff33d202bf90d93e0553271742ccd779bab (diff) | |
fdt,simple_mfd: Map memory as shareable.
It may be submapped in child drivers.
MFC after: 3 weeks
| -rw-r--r-- | sys/dev/fdt/simple_mfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fdt/simple_mfd.c b/sys/dev/fdt/simple_mfd.c index 1c642c6ca99c..66352e3f9409 100644 --- a/sys/dev/fdt/simple_mfd.c +++ b/sys/dev/fdt/simple_mfd.c @@ -207,7 +207,7 @@ simple_mfd_attach(device_t dev) if (ofw_bus_is_compatible(dev, "syscon")) { sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, - RF_ACTIVE); + RF_ACTIVE | RF_SHAREABLE); if (sc->mem_res == NULL) { device_printf(dev, "Cannot allocate memory resource\n"); |
