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.
Pull up following revision(s) (requested by andvar in ticket #450):
sys/arch/x86/isa/clock.c: revision 1.43
Check if RTC is disabled only in virtualized environments.
On a real PC, bits 0-5 may be used for the date alarm function,
causing RTC failure to attach and
a "WARNING: no TOD clock present" warning in the boot log.
Verified no regression on QEMU/MICROVM by imil@
PR kern/60672
Pull up following revision(s) (requested by thorpej in ticket #449):
sys/arch/m68k/m68k/vm_machdep.c: revision 1.48
cpu_lwp_fork(): If a stack is specified, make sure it's aligned.
Pull up following revision(s) (requested by thorpej in ticket #448):
sys/arch/m68k/m68k/sunos_machdep.c: revision 1.41
sys/arch/m68k/m68k/sig_machdep.c: revision 1.53
sys/arch/m68k/include/frame.h: revision 1.41
sys/arch/m68k/m68k/compat_16_machdep.c: revision 1.20
Make sure the stack is aligned when delivering signals.
Fixes the t_signal_and_sp:misaligned_sp_and_signal and
t_signal_and_sp:signalsp_sigaltstack test cases on m68k.
Pull up following revision(s) (requested by thorpej in ticket #447):
lib/libc/arch/m68k/gen/_lwp.c: revision 1.11
_lwp_makecontext(): ensure the stack is aligned. Fixes the
t_signal_and_sp::threadsp test case on m68k.
Pull up the following, requested by bsiegert in ticket #446:
external/gpl2/gmake/dist/ar.c up to 1.2
external/gpl2/gmake/dist/arscan.c up to 1.4
external/gpl2/gmake/dist/configure up to 1.4
external/gpl2/gmake/dist/getopt.c up to 1.2
external/gpl2/gmake/dist/getopt.h up to 1.2
external/gpl2/gmake/dist/getopt1.c up to 1.2
external/gpl2/gmake/dist/job.c up to 1.4
external/gpl2/gmake/dist/main.c up to 1.3
external/gpl2/gmake/dist/make.h up to 1.4
external/gpl2/gmake/dist/read.c up to 1.4
external/gpl2/gmake/dist/glob/fnmatch.c up to 1.2
external/gpl2/groff/dist/src/libs/libgroff/getopt.c up to 1.2
external/gpl2/groff/tmac/mdoc.local up to 1.12
external/gpl2/texinfo/dist/intl/dcigettext.c up to 1.2
external/gpl2/texinfo/dist/intl/gettextP.h up to 1.2
external/gpl2/texinfo/dist/lib/getopt.c up to 1.3
external/gpl2/texinfo/dist/lib/getopt_.h up to 1.2
[26 lines not shown]
Align xfin (PIO input) routine with sys/dev/ic/wd33c93.c.
Prevents infinite loops if device answer is shorter than
requested as seen with a scsi2sata bridge.