OpenBSD cvs log

created 2021-11-13T16:05:32Z
begin 2021-11-07T00:00:00Z
end 2021-11-08T00:00:00Z
path src/sys
commits 7

date 2021-11-07T12:05:28Z
author claudio
files src/sys/sys/socket.h log diff annotate
message Fix tpyo of ecma. Reported by Matthew (chohag at jtan dot com)

date 2021-11-07T14:07:43Z
author stsp
files src/sys/dev/ic/dwiic.c log diff annotate
message Fix handling of interrupts shared between multiple dwiic(4) devices.

Interrupt sharing did not work correctly when two dwiic(4) devices
share an interrupt line. We ended up with an interrupt storm.
One of the two interrupt handlers would see interrupt status bits set
to zero but claim the interrupt regardless. The second handler would
never get to run, and the interrupt condition on the second device was
not cleared as a result. Fix this by returning zero from dwiic_intr()
if the device's interrupt status bits read back as zero.

The storm occurred as soon as X11 was started. xenodm(1) never managed to
display its login prompt. Observed on the Thinkpad Helix2 which had been
unable to start X since dwiic(4) started to attach on this machine in 2018.
(I already saw the problem back then but never dug into it, and temporarily
lost access to helix2 hardware for a long time.)

With help from jcs@ who provided debugging hints already back in 2018.
ok kettenis@

date 2021-11-07T15:59:09Z
author patrick
files src/sys/dev/fdt/simplepanel.c log diff annotate
message Constify struct cfattach, not struct cfdriver.

Fixes panic seen on the Pinebook Pro.

date 2021-11-07T16:06:31Z
author patrick
files src/sys/arch/amd64/conf/RAMDISK_CD log diff annotate
message Enable igc(4).

ok deraadt@

date 2021-11-07T16:40:30Z
author kn
files src/sys/dev/fdt/gpioleds.c log diff annotate
message Simplify print logic

OK patrick

date 2021-11-07T16:43:12Z
author kn
files src/sys/dev/fdt/gpioleds.c log diff annotate
message Fall back to label if function is missing

The "label" property is obsolete and "function" should be used,
but devices like the Raspberry Pi 4b still use it.

Detect LEDs on such machines:

-gpioleds0 at mainbus0: no LEDs
+gpioleds0 at mainbus0: "led0", "led1"

OK patrick

date 2021-11-07T19:38:25Z
author sthen
files src/sys/netinet6/nd6.c log diff annotate
message net.inet6.icmp6.nd6_debug doesn't need to warn about RDNSS/DNSSL options
ok phessler@