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 Fix error value returned by ofw_bus_gen_get_node(). 2022-01-20 11:00:55 +01:00
ofw_bus_subr.h Add an OFWBUS_PNP_INFO() macro for devices that hang directly off the root 2019-11-30 19:16:44 +00:00
ofw_console.c tty: convert tty_lock_assert to tty_assert_locked to hide lock type 2020-04-17 18:34:49 +00:00
ofw_cpu.c ofw: clean up empty lines in .c and .h files 2020-09-01 22:01:53 +00:00
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: clean up empty lines in .c and .h files 2020-09-01 22:01:53 +00:00
ofw_if.m
ofw_pci.h
ofw_standard.c ofw: clean up empty lines in .c and .h files 2020-09-01 22:01:53 +00:00
ofw_subr.c ofw: ofw_reg_to_paddr: Use a 256 static array for the cell 2019-08-07 13:13:16 +00:00
ofw_subr.h
ofwbus.c
ofwpci.c ofw: clean up empty lines in .c and .h files 2020-09-01 22:01:53 +00:00
ofwpci.h
ofwvar.h
openfirm.c
openfirm.h Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00
openfirmio.c Suppress D_NEEDGIANT warnings for some drivers 2021-06-14 16:25:14 -04:00
openfirmio.h [PowerPC] Allow traversal of oversize OF properties. 2020-11-13 16:49:41 +00:00