| 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.
| “ | A typical Unix /bin or /usr/bin directory contains a hundred different kinds of programs, written by dozens of egotistical programmers, each with its own syntax, operating paradigm, rules of use ... strategies for specifying options, and different sets of constraints. | ” |
| — The Unix Haters' handbook | ||