Main index | Section 9 | Options |
#include <dev/ofw/ofw_bus.h>
#include <dev/ofw/ofw_bus_subr.h>
phandle_t root, i2c;root = OF_finddevice("/"); i2c = OF_finddevice("/soc/axi/i2c@a0e0000"); if (i2c != -1) { ... }
OF_FINDDEVICE (9) | April 9, 2018 |
Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Did you know that 7/5 people don't know how to use fractions? | ” |