File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 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
4348The
4449.Fn BUS_CONFIG_INTR
@@ -53,6 +58,11 @@ that it is called prior to
5358.Xr BUS_SETUP_INTR 9 .
5459.Pp
5560The
61+ .Fn bus_config_intr
62+ function is a simple wrapper around
63+ .Fn BUS_CONFIG_INTR .
64+ .Pp
65+ The
5666.Fa trig
5767argument can be one of:
5868.Bl -tag -width " .Dv INTR_TRIGGER_CONFORM"
Original file line number Diff line number Diff line change @@ -674,6 +674,7 @@ MLINKS+=buf_ring.9 buf_ring_alloc.9 \
674674MLINKS+ =bus_activate_resource.9 bus_deactivate_resource.9
675675MLINKS+ =bus_alloc_resource.9 bus_alloc_resource_any.9
676676MLINKS+ =BUS_BIND_INTR.9 bus_bind_intr.9
677+ MLINKS+ =BUS_CONFIG_INTR.9 bus_config_intr.9
677678MLINKS+ =BUS_DESCRIBE_INTR.9 bus_describe_intr.9
678679MLINKS+ =bus_dma.9 busdma.9 \
679680 bus_dma.9 bus_dmamap_create.9 \
You can’t perform that action at this time.
0 commit comments