Instead of writing partial-segments synchronously when sync is requested,
write them async, but wait for vp->v_numoutput to drop to zero if the
calling semantics require it. That way, even if we might have to wait,
nobody else is required to wait with us.
- use ofprint() for debug output so we have a chance to see it
- do not BAT-map anything beyond 0xff000000 - my 43P gets quite grouchy if we do
- copy EDID properties from OF like macppc does, for things like mach64 where
X can program video modes but can't (relably) do DDC
gcc is not smart enough to realize ret != 0 and ret == 0 guarantee that
exitcode will be either initilized or the code that uses it will not
be reached.
sysctl.7: add a kern.entropy.* reference to summary table
(Where sub-nodes are a mix of writable and non-writable, the convention
appears to be "yes" in summary, which makes the most sense, so
following suit.)
Add a driver for the "env-monitor" sensor found on Sun U25/U45 and V215/V245.
On the Ultra machines, the sensor reports the front panel temperature.
On the Fire machines, the sensor reports the front fan tray fan speeds,
the fan fault indicator, the front panel temperature, the keyswitch indicators,
and controls the front and rear status LED's.
Temperature, fan speeds, and indicators are reported via envsys(4), whilst
LED's are exposed via led(4).
Thanks to Ken Wellsch for testing and investigating sensors on his V215.
Pull up following revision(s) (requested by skrll in ticket #452):
sys/arch/riscv/include/bus_funcs.h: revision 1.6
riscv: Fix bus_space_{alloc,free,mmap} macros
The macros bus_space_alloc, bus_space_free, and bus_space_mmap were
incorrectly passing the bus space cookie as their first parameter.
This patch updates these macros to pass the entire bus space tag pointer
instead as per other macros.
Pull up following revision(s) (requested by skrll in ticket #451):
sys/arch/riscv/include/asm.h: revision 1.14
risc-v: fix assemble opcode helper macros
- remove *_SUBI variants as these instructions don't exist and the
assembler doesn't help. *_ADDI should be used.
- use 'iw' instead of 'wi' to match real instructions.