git: 7e58d899fd93 - stable/14 - BUS_CONFIG_INTR.9: Describe bus_config_intr() wrapper function

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 03 Mar 2025 16:57:03 UTC
The branch stable/14 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=7e58d899fd93ca35facffa8d22bf14dc71c6e05e

commit 7e58d899fd93ca35facffa8d22bf14dc71c6e05e
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-01-16 15:55:20 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-03-03 16:56:21 +0000

    BUS_CONFIG_INTR.9: Describe bus_config_intr() wrapper function
    
    Reviewed by:    ziaee
    Differential Revision:  https://reviews.freebsd.org/D48372
    
    (cherry picked from commit e2012b81cb87793be589cffa0a89d9b230df7c93)
---
 share/man/man9/BUS_CONFIG_INTR.9 | 16 +++++++++++++---
 share/man/man9/Makefile          |  1 +
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/share/man/man9/BUS_CONFIG_INTR.9 b/share/man/man9/BUS_CONFIG_INTR.9
index cf6ecbb4b823..aaeb6c3ec089 100644
--- a/share/man/man9/BUS_CONFIG_INTR.9
+++ b/share/man/man9/BUS_CONFIG_INTR.9
@@ -23,12 +23,13 @@
 .\" 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_CONFIG_INTR 9
 .Os
 .\"
 .Sh NAME
-.Nm BUS_CONFIG_INTR
+.Nm BUS_CONFIG_INTR ,
+.Nm bus_config_intr
 .Nd "configure interrupt polarity and trigger mode"
 .\"
 .Sh SYNOPSIS
@@ -36,9 +37,13 @@
 .In sys/bus.h
 .Ft int
 .Fo BUS_CONFIG_INTR
+.Fa "device_t bus" "device_t dev" "int irq" "enum intr_trigger trig"
+.Fa "enum intr_polarity pol"
+.Fc
+.Ft int
+.Fo bus_config_intr
 .Fa "device_t dev" "int irq" "enum intr_trigger trig" "enum intr_polarity pol"
 .Fc
-.\"
 .Sh DESCRIPTION
 The
 .Fn BUS_CONFIG_INTR
@@ -53,6 +58,11 @@ that it is called prior to
 .Xr BUS_SETUP_INTR 9 .
 .Pp
 The
+.Fn bus_config_intr
+function is a simple wrapper around
+.Fn BUS_CONFIG_INTR .
+.Pp
+The
 .Fa trig
 argument can be one of:
 .Bl -tag -width ".Dv INTR_TRIGGER_CONFORM"
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 5263f231b929..b4adf70ae2aa 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -673,6 +673,7 @@ MLINKS+=buf_ring.9 buf_ring_alloc.9 \
 MLINKS+=bus_activate_resource.9 bus_deactivate_resource.9
 MLINKS+=bus_alloc_resource.9 bus_alloc_resource_any.9
 MLINKS+=BUS_BIND_INTR.9 bus_bind_intr.9
+MLINKS+=BUS_CONFIG_INTR.9 bus_config_intr.9
 MLINKS+=BUS_DESCRIBE_INTR.9 bus_describe_intr.9
 MLINKS+=bus_dma.9 busdma.9 \
 	bus_dma.9 bus_dmamap_create.9 \