|
NAMEofw_bus_get_status ,
ofw_bus_status_okay ,
ofw_bus_node_status_okay —
check status of the device tree node
SYNOPSIS#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_bus.h>
#include
<dev/ofw/ofw_bus_subr.h>
const char *
int
int
DESCRIPTIONThe "status" property of the device tree node indicates whether the device is enabled or not. Multiple hardware versions might be built using the same base System-on-Chip but with a different set of blocks enabled. It is common to use SoC device tree and only enable/disable device nodes for the derivative boards. The device tree node is considered enabled only if it has "status" property with the value set to either "ok" or "okay".
AUTHORSThis manual page was written by Oleksandr Tymoshenko.
Visit the GSP FreeBSD Man Page Interface. |