git: 4be4d213f065 - stable/14 - bus_generic_print_child.9: Add bus_print_child_{header,footer}
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Mar 2025 16:57:02 UTC
The branch stable/14 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=4be4d213f065968c30bec62a2c9ad57710732afd
commit 4be4d213f065968c30bec62a2c9ad57710732afd
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-01-16 15:55:02 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-03-03 16:56:20 +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
(cherry picked from commit 2759653c8523f279cf0715d5cf641d2e029b6614)
---
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 7d06be6eb6a0..5263f231b929 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -691,6 +691,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