HomeFreeBSD

Add serial-number to hw.fdt sysctl area if found in fdt.

Description

Add serial-number to hw.fdt sysctl area if found in fdt.

Add serial-number sysctl if that fdt property exists and is a printable
string. While here, ensure that the hw.fdt sysctl values fit in the
buffers provided so that they will be NUL-terminated. Tested on
Raspberry Pi 3B+ and 4.

MFC after: 5 days
Reviewed by: manu imp
Differential Revision: https://reviews.freebsd.org/D34356

Details

Provenance
karelsAuthored on Feb 23 2022, 8:42 PM
Reviewer
manu
Differential Revision
D34356: Add serial-number to hw.fdt sysctl area if found in fdt.
Parents
rGfc99316ef97c: ibcore: Fix multiple includes of same header file.
Branches
Unknown
Tags
Unknown