Date: Sat, 17 Aug 2019 19:05:12 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r351177 - head/sys/dev/fdt Message-ID: <201908171905.x7HJ5C0K019206@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Sat Aug 17 19:05:11 2019 New Revision: 351177 URL: https://svnweb.freebsd.org/changeset/base/351177 Log: Revert r351129 the point of syscon node is to avoid multiple device driver reading/writing to the same area. Reported by: ian Modified: head/sys/dev/fdt/simple_mfd.c Modified: head/sys/dev/fdt/simple_mfd.c ============================================================================== --- head/sys/dev/fdt/simple_mfd.c Sat Aug 17 18:54:07 2019 (r351176) +++ head/sys/dev/fdt/simple_mfd.c Sat Aug 17 19:05:11 2019 (r351177) @@ -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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908171905.x7HJ5C0K019206>