opnsense-src/sys/dev/ofw
Emannuel Vadot 944eda42fa openfirm: Add OF_device_unregister_xref
When a device fails to attach, or a module is unloaded, we want to be
able to unregister the xref as the device goes away.  While the device_t
may still be valid, it won't be providing whatever functionality the
consumer that follows the xref wants it for and thus, we should not
keep it discoverable.

[Commit message re-worded by kevans@]

Reviewed by:	ian, imp
Differential Revision:	https://reviews.freebsd.org/D22945
2025-04-03 09:03:44 -05:00
..
ofw_bus.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ofw_bus_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
ofw_bus_subr.c ofw: Fix inverted bcmp in ofw_bus_node_status_okay 2024-12-17 20:51:56 +00:00
ofw_bus_subr.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ofw_console.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ofw_cpu.c ofw_cpu: check for "disabled" status during probe 2025-01-10 14:59:08 -04:00
ofw_cpu.h ofw: convert boolean_t to bool 2024-06-26 11:14:36 -03:00
ofw_disk.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw_fdt.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw_firmware.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
ofw_graph.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
ofw_graph.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ofw_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
ofw_pci.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw_pci.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ofw_pcib.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
ofw_standard.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw_subr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
ofw_subr.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ofwbus.c Replace calls to bus_generic_attach with bus_attach_children 2024-12-06 17:26:16 -05:00
ofwpci.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
ofwvar.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
openfirm.c openfirm: Add OF_device_unregister_xref 2025-04-03 09:03:44 -05:00
openfirm.h openfirm: Add OF_device_unregister_xref 2025-04-03 09:03:44 -05:00
openfirmio.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
openfirmio.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00