OFW patches and V210/V240 fix

Julian Coleman <[email protected]> Sat, 7 Feb 2026 16:32:10 +0100
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <aYda-r_wEzGmyfJQ@morava>
Hi,

I've made a change to the OFW patching routines (where we add i2c devices
and related properties) so that the V210 and V240 now report the correct
fan speed again.  It shouldn't have any affect on other machines, but if
you see something odd, let me know.

I also added a property so that the V240 shows 7 fans instead of 8 and I'm
working on adding limits to the adm1026 driver, so that we get a warning
when something is outside the limits, e.g.:

  [  34.1201588] adm1026hm0: warning under limit on 'Vbatt'

because I needed to replace the battery.  By default, however, OFW
doesn't set useful limits for most functions, but we can set them via
/etc/envsys.conf (thanks to mlelstv for the hint).

Regards,

Julian

--