freebsd-dev/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 Fix error value returned by ofw_bus_gen_get_node(). 2021-06-24 12:01:05 +02:00
ofw_bus_subr.h newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
ofw_bus.h
ofw_console.c
ofw_cpu.c ofw_cpu: Make ext_resources non-optional for arm* and riscv 2022-02-21 17:29:07 +01:00
ofw_cpu.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
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: support for a single 'port' DTS property. 2021-05-08 15:41:57 +01:00
ofw_graph.h
ofw_if.m
ofw_pci.c ofw_pci: Fix incorrectly sized softc causing pci(4) out-of-bounds reads 2022-01-15 19:03:53 +00:00
ofw_pci.h
ofw_pcib.c bus: Make BUS_TRANSLATE_RESOURCE behave more like other bus methods 2021-11-15 13:01:30 -05:00
ofw_standard.c
ofw_subr.c
ofw_subr.h
ofwbus.c
ofwpci.h Rename ofwpci.c to ofw_pcib.c 2021-05-20 11:22:25 +02:00
ofwvar.h
openfirm.c
openfirm.h
openfirmio.c Suppress D_NEEDGIANT warnings for some drivers 2021-06-06 16:44:46 -04:00
openfirmio.h