File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 23
23
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24
24
.\" SUCH DAMAGE.
25
25
.\"
26
- .Dd January 15, 2017
26
+ .Dd January 16, 2025
27
27
.Dt BUS_CONFIG_INTR 9
28
28
.Os
29
29
.\"
30
30
.Sh NAME
31
- .Nm BUS_CONFIG_INTR
31
+ .Nm BUS_CONFIG_INTR ,
32
+ .Nm bus_config_intr
32
33
.Nd " configure interrupt polarity and trigger mode"
33
34
.\"
34
35
.Sh SYNOPSIS
35
36
.In sys/param.h
36
37
.In sys/bus.h
37
38
.Ft int
38
39
.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
39
45
.Fa " device_t dev" " int irq" " enum intr_trigger trig" " enum intr_polarity pol"
40
46
.Fc
41
- .\"
42
47
.Sh DESCRIPTION
43
48
The
44
49
.Fn BUS_CONFIG_INTR
@@ -53,6 +58,11 @@ that it is called prior to
53
58
.Xr BUS_SETUP_INTR 9 .
54
59
.Pp
55
60
The
61
+ .Fn bus_config_intr
62
+ function is a simple wrapper around
63
+ .Fn BUS_CONFIG_INTR .
64
+ .Pp
65
+ The
56
66
.Fa trig
57
67
argument can be one of:
58
68
.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 \
674
674
MLINKS+ =bus_activate_resource.9 bus_deactivate_resource.9
675
675
MLINKS+ =bus_alloc_resource.9 bus_alloc_resource_any.9
676
676
MLINKS+ =BUS_BIND_INTR.9 bus_bind_intr.9
677
+ MLINKS+ =BUS_CONFIG_INTR.9 bus_config_intr.9
677
678
MLINKS+ =BUS_DESCRIBE_INTR.9 bus_describe_intr.9
678
679
MLINKS+ =bus_dma.9 busdma.9 \
679
680
bus_dma.9 bus_dmamap_create.9 \
You can’t perform that action at this time.
0 commit comments