Page MenuHomeFreeBSD

D48372.id148893.diff
No OneTemporary

D48372.id148893.diff

diff --git a/share/man/man9/BUS_CONFIG_INTR.9 b/share/man/man9/BUS_CONFIG_INTR.9
--- a/share/man/man9/BUS_CONFIG_INTR.9
+++ b/share/man/man9/BUS_CONFIG_INTR.9
@@ -28,7 +28,8 @@
.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 @@
.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
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -678,6 +678,7 @@
bus_attach_children.9 bus_enumerate_hinted_children.9 \
bus_attach_children.9 bus_identify_children.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 \

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 16, 10:31 PM (11 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29791069
Default Alt Text
D48372.id148893.diff (1 KB)

Event Timeline