summaryrefslogtreecommitdiffstats
path: root/share/man/man9/BUS_CONFIG_INTR.9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-07-07 07:56:58 +0000
committerru <ru@FreeBSD.org>2004-07-07 07:56:58 +0000
commit5b5605b88b1e0486bc58f3cdb1e7dba39b064944 (patch)
treefa5019aeb61249aec5f1c24deb697481ff275857 /share/man/man9/BUS_CONFIG_INTR.9
parent2bff8e39d7d3539d40b5193b54d1b9a946f7aa79 (diff)
downloadFreeBSD-src-5b5605b88b1e0486bc58f3cdb1e7dba39b064944.zip
FreeBSD-src-5b5605b88b1e0486bc58f3cdb1e7dba39b064944.tar.gz
Sweep formatting and assorted fixes.
Diffstat (limited to 'share/man/man9/BUS_CONFIG_INTR.9')
-rw-r--r--share/man/man9/BUS_CONFIG_INTR.924
1 files changed, 13 insertions, 11 deletions
diff --git a/share/man/man9/BUS_CONFIG_INTR.9 b/share/man/man9/BUS_CONFIG_INTR.9
index ccd90a0..90dc81f 100644
--- a/share/man/man9/BUS_CONFIG_INTR.9
+++ b/share/man/man9/BUS_CONFIG_INTR.9
@@ -31,31 +31,33 @@
.\"
.Sh NAME
.Nm BUS_CONFIG_INTR
-.Nd Configure interrupt polarity and trigger mode
+.Nd "configure interrupt polarity and trigger mode"
.\"
.Sh SYNOPSIS
.In sys/param.h
.In sys/bus.h
.Ft int
-.Fn BUS_CONFIG_INTR "device_t dev" "int irq" "enum intr_trigger trig" "enum intr_polarity pol"
+.Fo BUS_CONFIG_INTR
+.Fa "device_t dev" "int irq" "enum intr_trigger trig" "enum intr_polarity pol"
+.Fc
.\"
.Sh DESCRIPTION
The
-.Nm
+.Fn BUS_CONFIG_INTR
method allows bus or device drivers to provide interrupt polarity and trigger
mode to parent busses.
This typically bubbles all the way up to the root bus (e.g.\& nexus) where the
necessary actions are taken to actually program the hardware.
Since the
-.Nm
+.Fn BUS_CONFIG_INTR
method takes an interrupt number, it is assumed but not necessarily required
that it is called prior to
.Xr BUS_SETUP_INTR 9 .
.Pp
The
.Fa trig
-argument can be one of
-.Bl -tag -width INTR_TRIGGER_CONFORM
+argument can be one of:
+.Bl -tag -width ".Dv INTR_TRIGGER_CONFORM"
.It Dv INTR_TRIGGER_CONFORM
The interrupt trigger mode is standard for the bus to which the device is
attached.
@@ -63,7 +65,7 @@ attached.
The interrupt is edge triggered.
This means that the interrupt is raised by the rising edge of the signal on
the interrupt line.
-The signal typically revert to the original state so as to cause a spike.
+The signal typically reverts to the original state so as to cause a spike.
.Dv INTR_TRIGGER_LEVEL
The interrupt is level triggered.
This means that the interrupt is raised when the signal on the interrupt line
@@ -73,8 +75,8 @@ serviced, after which the signal transitions back.
.Pp
The
.Fa pol
-argument can be any one of
-.Bl -tag -width INTR_POLARITY_CONFORM
+argument can be any one of:
+.Bl -tag -width ".Dv INTR_POLARITY_CONFORM"
.It Dv INTR_POLARITY_CONFORM
The interrupt polarity is standard for the bus to which the device is attached.
.It Dv INTR_POLARITY_HIGH
@@ -94,11 +96,11 @@ Zero is returned on success, otherwise an appropriate error is returned.
.\"
.Sh HISTORY
The
-.Nm
+.Fn BUS_CONFIG_INTR
method first appeared in
.Fx 5.2 .
.\"
.Sh AUTHORS
This manual page was written by
.An Marcel Moolenaar
-.Aq marcel@xcllnt.net
+.Aq marcel@xcllnt.net .
OpenPOWER on IntegriCloud