git: 2759653c8523 - main - bus_generic_print_child.9: Add bus_print_child_{header,footer}

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 16 Jan 2025 15:55:28 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=2759653c8523f279cf0715d5cf641d2e029b6614

commit 2759653c8523f279cf0715d5cf641d2e029b6614
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-01-16 15:55:02 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-01-16 15:55:02 +0000

    bus_generic_print_child.9: Add bus_print_child_{header,footer}
    
    These functions are already described in the body, just add them in
    the NAME and SYNOPSIS sections along with MLINKS.
    
    Reviewed by:    ziaee
    Differential Revision:  https://reviews.freebsd.org/D48370
---
 share/man/man9/Makefile                  |  2 ++
 share/man/man9/bus_generic_print_child.9 | 10 ++++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 6e8edc3f698d..42564aa2ac72 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -692,6 +692,8 @@ MLINKS+=bus_dma.9 busdma.9 \
 	bus_dma.9 bus_dmamem_free.9 \
 	bus_dma.9 bus_dma_tag_create.9 \
 	bus_dma.9 bus_dma_tag_destroy.9
+MLINKS+=bus_generic_print_child.9 bus_print_child_footer.9 \
+	bus_generic_print_child.9 bus_print_child_header.9
 MLINKS+=bus_generic_read_ivar.9 bus_generic_write_ivar.9
 MLINKS+=BUS_GET_CPUS.9 bus_get_cpus.9
 MLINKS+=bus_map_resource.9 bus_unmap_resource.9 \
diff --git a/share/man/man9/bus_generic_print_child.9 b/share/man/man9/bus_generic_print_child.9
index 8c3bd4b0fc71..1adca331b016 100644
--- a/share/man/man9/bus_generic_print_child.9
+++ b/share/man/man9/bus_generic_print_child.9
@@ -26,11 +26,13 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 15, 2017
+.Dd January 16, 2025
 .Dt BUS_GENERIC_PRINT_CHILD 9
 .Os
 .Sh NAME
-.Nm bus_generic_print_child
+.Nm bus_generic_print_child ,
+.Nm bus_print_child_footer ,
+.Nm bus_print_child_header
 .Nd generic implementation of
 .Dv DEVICE_PRINT_CHILD
 for buses
@@ -39,6 +41,10 @@ for buses
 .In sys/bus.h
 .Ft int
 .Fn bus_generic_print_child "device_t dev" "device_t child"
+.Ft int
+.Fn bus_print_child_footer "device_t dev" "device_t child"
+.Ft int
+.Fn bus_print_child_header "device_t dev" "device_t child"
 .Sh DESCRIPTION
 This implementation prints out the default device announcement message.
 Given device 'foo0' on bus 'bar0' where foo0 has the name "FooCard 1234" the