freebsd-nq/sys/dev/ofw
Mike Karels b8b0c65e8a 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
2022-03-03 07:08:32 -06:00
..
ofw_bus_if.m
ofw_bus_subr.c
ofw_bus_subr.h
ofw_bus.h
ofw_console.c
ofw_cpu.c
ofw_cpu.h
ofw_disk.c
ofw_fdt.c Add serial-number to hw.fdt sysctl area if found in fdt. 2022-03-03 07:08:32 -06:00
ofw_graph.c
ofw_graph.h
ofw_if.m
ofw_pci.c
ofw_pci.h
ofw_pcib.c
ofw_standard.c
ofw_subr.c
ofw_subr.h
ofwbus.c
ofwpci.h
ofwvar.h
openfirm.c
openfirm.h
openfirmio.c
openfirmio.h