From b52d0dc4697c6397a03dd6d171b515c95b5e7c68 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Sat, 17 Aug 2019 19:05:11 +0000 Subject: [PATCH] Revert r351129 the point of syscon node is to avoid multiple device driver reading/writing to the same area. Reported by: ian --- sys/dev/fdt/simple_mfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/fdt/simple_mfd.c b/sys/dev/fdt/simple_mfd.c index e824daf1a27..596043629ea 100644 --- a/sys/dev/fdt/simple_mfd.c +++ b/sys/dev/fdt/simple_mfd.c @@ -187,7 +187,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_SHAREABLE); + RF_ACTIVE); if (sc->mem_res == NULL) { device_printf(dev, "Cannot allocate memory resource\n");