Main index | Section 9 | Options |
#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_bus.h>
#include <dev/ofw/ofw_bus_subr.h>
ofw_bus_get_status() returns the value of the "status" property of the device tree node associated with the device dev. If the node does not have "status" property or there is no node associated with the device the function returns NULL.
ofw_bus_status_okay() returns 1 if the device tree node associated with the device dev has "status" property and its value is either "ok" or "okay".
ofw_bus_node_status_okay() returns 1 if the device tree node node has "status" property and its value is either "ok" or "okay".
ofw_bus_status_okay (9) | April 8, 2018 |
Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | The number of UNIX installations has grown to 10, with more expected. | ” |
— UNIX Programming Manual, 1972 |