Skip to content

Commit e2012b8

Browse files
committed
BUS_CONFIG_INTR.9: Describe bus_config_intr() wrapper function
Reviewed by: ziaee Differential Revision: https://reviews.freebsd.org/D48372
1 parent 2759653 commit e2012b8

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

share/man/man9/BUS_CONFIG_INTR.9

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,27 @@
2323
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2424
.\" SUCH DAMAGE.
2525
.\"
26-
.Dd January 15, 2017
26+
.Dd January 16, 2025
2727
.Dt BUS_CONFIG_INTR 9
2828
.Os
2929
.\"
3030
.Sh NAME
31-
.Nm BUS_CONFIG_INTR
31+
.Nm BUS_CONFIG_INTR ,
32+
.Nm bus_config_intr
3233
.Nd "configure interrupt polarity and trigger mode"
3334
.\"
3435
.Sh SYNOPSIS
3536
.In sys/param.h
3637
.In sys/bus.h
3738
.Ft int
3839
.Fo BUS_CONFIG_INTR
40+
.Fa "device_t bus" "device_t dev" "int irq" "enum intr_trigger trig"
41+
.Fa "enum intr_polarity pol"
42+
.Fc
43+
.Ft int
44+
.Fo bus_config_intr
3945
.Fa "device_t dev" "int irq" "enum intr_trigger trig" "enum intr_polarity pol"
4046
.Fc
41-
.\"
4247
.Sh DESCRIPTION
4348
The
4449
.Fn BUS_CONFIG_INTR
@@ -53,6 +58,11 @@ that it is called prior to
5358
.Xr BUS_SETUP_INTR 9 .
5459
.Pp
5560
The
61+
.Fn bus_config_intr
62+
function is a simple wrapper around
63+
.Fn BUS_CONFIG_INTR .
64+
.Pp
65+
The
5666
.Fa trig
5767
argument can be one of:
5868
.Bl -tag -width ".Dv INTR_TRIGGER_CONFORM"

share/man/man9/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,7 @@ MLINKS+=buf_ring.9 buf_ring_alloc.9 \
674674
MLINKS+=bus_activate_resource.9 bus_deactivate_resource.9
675675
MLINKS+=bus_alloc_resource.9 bus_alloc_resource_any.9
676676
MLINKS+=BUS_BIND_INTR.9 bus_bind_intr.9
677+
MLINKS+=BUS_CONFIG_INTR.9 bus_config_intr.9
677678
MLINKS+=BUS_DESCRIBE_INTR.9 bus_describe_intr.9
678679
MLINKS+=bus_dma.9 busdma.9 \
679680
bus_dma.9 bus_dmamap_create.9 \

0 commit comments

Comments
 (0)