CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/01/05 13:05:11

Modified files:
        sys/dev/ofw    : fdt.c openfirm.h 

Log message:
Introduce OF_is_enabled(), a helper function to figure out whether the
device tree node is available to use or not.  So far we have done this
manually by explicitly checking for "disabled".  Nowadays though there's
also "reserved" for devices that are there but shouldn't be touched, and
at some point we might need to handle "fail", too.  We can't just check
for "okay" as some device trees only have "ok" or not even a status
property, which we should treat as "okay".

ok kettenis@

Reply via email to