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");
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to