Skip to content

Commit 2759653

Browse files
committed
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
1 parent 4276dfa commit 2759653

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

share/man/man9/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,8 @@ MLINKS+=bus_dma.9 busdma.9 \
692692
bus_dma.9 bus_dmamem_free.9 \
693693
bus_dma.9 bus_dma_tag_create.9 \
694694
bus_dma.9 bus_dma_tag_destroy.9
695+
MLINKS+=bus_generic_print_child.9 bus_print_child_footer.9 \
696+
bus_generic_print_child.9 bus_print_child_header.9
695697
MLINKS+=bus_generic_read_ivar.9 bus_generic_write_ivar.9
696698
MLINKS+=BUS_GET_CPUS.9 bus_get_cpus.9
697699
MLINKS+=bus_map_resource.9 bus_unmap_resource.9 \

share/man/man9/bus_generic_print_child.9

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2727
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2828
.\"
29-
.Dd January 15, 2017
29+
.Dd January 16, 2025
3030
.Dt BUS_GENERIC_PRINT_CHILD 9
3131
.Os
3232
.Sh NAME
33-
.Nm bus_generic_print_child
33+
.Nm bus_generic_print_child ,
34+
.Nm bus_print_child_footer ,
35+
.Nm bus_print_child_header
3436
.Nd generic implementation of
3537
.Dv DEVICE_PRINT_CHILD
3638
for buses
@@ -39,6 +41,10 @@ for buses
3941
.In sys/bus.h
4042
.Ft int
4143
.Fn bus_generic_print_child "device_t dev" "device_t child"
44+
.Ft int
45+
.Fn bus_print_child_footer "device_t dev" "device_t child"
46+
.Ft int
47+
.Fn bus_print_child_header "device_t dev" "device_t child"
4248
.Sh DESCRIPTION
4349
This implementation prints out the default device announcement message.
4450
Given device 'foo0' on bus 'bar0' where foo0 has the name "FooCard 1234" the

0 commit comments

Comments
 (0)