Revert r351129
the point of syscon node is to avoid multiple device driver reading/writing to the same area. Reported by: ian
This commit is contained in:
parent
6b2f017186
commit
b52d0dc469
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user