b1746534 jhb Sept. 29, 2022, 10:06 p.m.
Reviewed by:	markj
Reported by:	GCC -Wmissing-include-dirs
Differential Revision:	https://reviews.freebsd.org/D36779
cgit
a35572b1 jhb Sept. 29, 2022, 10:06 p.m.
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D36781
cgit
1aef5711 jhb Sept. 29, 2022, 10:05 p.m.
Reviewed by:	dougm
Reported by:	GCC -Wunused-value
Differential Revision:	https://reviews.freebsd.org/D36778
cgit
a779bb4d tuexen Sept. 29, 2022, 12:02 a.m.
Reported by:		rscheff@
Reviewed by:		rscheff@
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D36802
cgit
78f3c734 kevans Sept. 29, 2022, 7:33 p.m.
static_kenv is only used under `FDT`, and `try_load_dtb` is only defined
with `FDT`.

Reviewed by:	andrew, imp, manu
Differential Revision:	https://reviews.freebsd.org/D36791
cgit
23c318ed kevans Sept. 29, 2022, 7:33 p.m.
The regnode interface is currently only built for FDT, thus not
applicable to ACPI-only kernels.  Move the "regnode_if.h" include
underneath a previously existing FDT cpp segment.

Reviewed by:	andrew, imp, manu
Differential Revision:	https://reviews.freebsd.org/D36790
cgit
b4c2a5b6 kevans Sept. 29, 2022, 7:33 p.m.
coresight_cpu_debug only has an FDT attachment, so let's not build it
for kernels without FDT.

coresight.h includes sys/malloc.h via header pollution
dev/ofw/openfirm.h; include it directly in case we're building without
FDT.

Reviewed by:	andrew, manu
Differential Revision:	https://reviews.freebsd.org/D36789
cgit
4a4ad02d kevans Sept. 29, 2022, 7:33 p.m.
clang 14 doesn't properly determine that we're unconditionally returning
if we have ACPI but not FDT.  Push FDT setup entirely into a new
function, much like we currently do with ACPI, and just return ENXIO if
that doesn't succeed.

Reviewed by:	andrew, manu (earlier version)
Differential Revision:	https://reviews.freebsd.org/D36788
cgit
79794d5c kevans Sept. 29, 2022, 7:33 p.m.
syscon currently includes sys/malloc.h via header pollution from
dev/ofw/ofw_bus.h -> dev/ofw/openfirm.h.  Fix the build without FDT
defined by including sys/malloc.h directly.

Reviewed by:	andrew, imp, manu
Differential Revision:	https://reviews.freebsd.org/D36787
cgit
26573e2c oshogbo Sept. 29, 2022, 5:51 p.m.
MFC after:	1 week
cgit
facd6b58 oshogbo Sept. 29, 2022, 5:51 p.m.
MFC after:	1 week
cgit
0cd631ee markj Sept. 29, 2022, 5:14 p.m.
The CAM version bump 0x19 -> 0x1a changed the CAMGETPASSTHRU definition,
so applications using the old ioctl are broken.  However, that version
change did not affect anything relating to the ioctl implementation for
periphs.

Fixes:		8f9be1eed11c ("cam(4): Improve XPT_DEV_MATCH")
PR:		264709
Tested by:	andreas.mahling@googlemail.com
Reviewed by:	imp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D36389
cgit
ec21f85a markj Sept. 29, 2022, 5:11 p.m.
While here, eliminate a single-use local variable.

PR:		266103
Reviewed by:	mhorne
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D36395
cgit
76aebeab brooks Sept. 29, 2022, 4:56 p.m.
b4cfdbfe brooks Sept. 29, 2022, 4:56 p.m.
Mostly remove from the SEE ALSO section, adding a mention of the port
where not removed. Elsewhere, remove as appropriate and change from .Xr
to .Nm where a mention of telnetd continues to make sense (or removing
it would require significant reworking of the surrounding text).

Reviewed by:	imp, delphij, emaste
Differential Revision:	https://reviews.freebsd.org/D36785
cgit