opnsense-src/sys/dev/ofw
Mike Karels c0d9004101 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.

Reviewed by:	manu imp
Differential Revision: https://reviews.freebsd.org/D34356

(cherry picked from commit b8b0c65e8a)
2022-03-09 09:28:28 -06:00
..
ofw_bus.h
ofw_bus_if.m
ofw_bus_subr.c
ofw_bus_subr.h
ofw_console.c
ofw_cpu.c
ofw_cpu.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
ofw_disk.c
ofw_fdt.c Add serial-number to hw.fdt sysctl area if found in fdt. 2022-03-09 09:28:28 -06:00
ofw_graph.c
ofw_graph.h
ofw_if.m
ofw_pci.h
ofw_standard.c
ofw_subr.c
ofw_subr.h
ofwbus.c
ofwpci.c
ofwpci.h
ofwvar.h
openfirm.c
openfirm.h
openfirmio.c
openfirmio.h