opnsense-src/sys/dev/ofw
Mark Johnston 5346c8bc54 Suppress D_NEEDGIANT warnings for some drivers
During boot we warn that the kbd and openfirm drivers are Giant-locked
and may be deleted.  Generally, the warning helps signal that certain
old drivers are not being maintained and are subject to removal, but
this doesn't really apply to certain drivers which are harder to
detangle from Giant.

Add a flag, D_GIANTOK, that devices can specify to suppress the
misleading warning.  Use it in the kbd and openfirm drivers.

Reviewed by:	imp, jhb
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit fbeb4ccac9)
2021-06-14 16:25:14 -04:00
..
ofw_bus.h
ofw_bus_if.m
ofw_bus_subr.c ofw: clean up empty lines in .c and .h files 2020-09-01 22:01:53 +00: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
ofw_disk.c
ofw_fdt.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (11 of many) 2020-02-24 10:41:22 +00: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_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