summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2001-10-08 08:52:51 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2001-10-08 08:52:51 +0000
commitc87dd9d66fd70ab665f3fe63a4d4c12297fd6d3c (patch)
treee2fd33a37063d27fcd6363718e11c71cb8d93df5 /share
parent533a05b94ee699b82e97884d4ef1795e626bc97e (diff)
o) better -mdoc syntax;
o) start new sentence on a new line; o) sort SEE ALSO; o) close .Bd; millert@ ok
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/man4.i386/az.424
-rw-r--r--share/man/man4/man4.i386/sf2r.415
-rw-r--r--share/man/man4/man4.i386/sf4r.47
-rw-r--r--share/man/man4/radio.441
-rw-r--r--share/man/man9/radio.98
5 files changed, 45 insertions, 50 deletions
diff --git a/share/man/man4/man4.i386/az.4 b/share/man/man4/man4.i386/az.4
index 52efccb0ea8..7c08b3c5deb 100644
--- a/share/man/man4/man4.i386/az.4
+++ b/share/man/man4/man4.i386/az.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: az.4,v 1.1 2001/10/04 22:33:49 gluk Exp $
+.\" $OpenBSD: az.4,v 1.2 2001/10/08 08:52:50 mpech Exp $
.\"
.\" Copyright (c) 2001 Vladimir Popov
.\" All rights reserved.
@@ -39,17 +39,19 @@ The
driver provides support for the Aztech/PackardBell radio cards.
.Pp
The Aztech/PackardBell cards are stereo FM tuners that allow to tune
-in the 87.5-108.0 MHz range. It is capable to report signal status
-(tuned/not tuned, stereo/mono signal) and force audio output to mono.
+in the 87.5-108.0 MHz range.
+It is capable to report signal status (tuned/not tuned, stereo/mono signal)
+and force audio output to mono.
.Pp
-The Aztech cards use only one I/O port. The I/O port is set by the driver to
-the value specified in the configuration file. The I/O port must be one of
+The Aztech cards use only one I/O port.
+The I/O port is set by the driver to the value specified in the configuration
+file.
+The I/O port must be one of
0x350 and 0x358.
.Sh BUGS
-It is impossible to determine which frequency the card is tuned to. Thus,
-the driver will report an internally stored value even if it is not correct
-(changed by some program that uses direct port access).
+It is impossible to determine which frequency the card is tuned to.
+Thus, the driver will report an internally stored value even if it is not
+correct (changed by some program that uses direct port access).
.Sh SEE ALSO
-.Xr radio 4 ,
-.Xr isa 4 .
-
+.Xr isa 4 ,
+.Xr radio 4
diff --git a/share/man/man4/man4.i386/sf2r.4 b/share/man/man4/man4.i386/sf2r.4
index 179b427c560..72955161199 100644
--- a/share/man/man4/man4.i386/sf2r.4
+++ b/share/man/man4/man4.i386/sf2r.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sf2r.4,v 1.1 2001/10/04 22:33:49 gluk Exp $
+.\" $OpenBSD: sf2r.4,v 1.2 2001/10/08 08:52:50 mpech Exp $
.\"
.\" Copyright (c) 2001 Vladimir Popov
.\" All rights reserved.
@@ -42,13 +42,14 @@ The SF16-FMR2 is a stereo FM tuner that allows to tune in the range
audio output to mono, perform hardware signal search, and has an internal
AFC.
.Pp
-The SF16-FMR2 cards take only one I/O port. The I/O port is set by the driver
-to the value specified in the configuration file and must be 0x384.
+The SF16-FMR2 cards take only one I/O port.
+The I/O port is set by the driver to the value specified in the configuration
+file and must be 0x384.
.Sh BUGS
MediaForte made two variants of the SF16-FMR2 cards, the first one has
an internal amplifier of the output sound, the second one does not have
-such an amplifier. The current driver supports only the second variant.
+such an amplifier.
+The current driver supports only the second variant.
.Sh SEE ALSO
-.Xr radio 4 ,
-.Xr isa 4 .
-
+.Xr isa 4 ,
+.Xr radio 4
diff --git a/share/man/man4/man4.i386/sf4r.4 b/share/man/man4/man4.i386/sf4r.4
index d33606c1275..01bd576ea7c 100644
--- a/share/man/man4/man4.i386/sf4r.4
+++ b/share/man/man4/man4.i386/sf4r.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sf4r.4,v 1.1 2001/10/04 22:33:49 gluk Exp $
+.\" $OpenBSD: sf4r.4,v 1.2 2001/10/08 08:52:50 mpech Exp $
.\"
.\" Copyright (c) 2001 Vladimir Popov
.\" All rights reserved.
@@ -45,6 +45,5 @@ AFC.
Because MediaForte put FM801 on the board, the current driver cannot
distinguish sound cards based on FM801 and SF64-PCR.
.Sh SEE ALSO
-.Xr radio 4 ,
-.Xr pci 4 .
-
+.Xr pci 4 ,
+.Xr radio 4
diff --git a/share/man/man4/radio.4 b/share/man/man4/radio.4
index 2cdf38ade88..4fff35ba846 100644
--- a/share/man/man4/radio.4
+++ b/share/man/man4/radio.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: radio.4,v 1.1 2001/10/04 22:33:49 gluk Exp $
+.\" $OpenBSD: radio.4,v 1.2 2001/10/08 08:52:50 mpech Exp $
.\"
.\" Copyright (c) 2001 Vladimir Popov
.\" All rights reserved.
@@ -36,8 +36,9 @@
.Sh DESCRIPTION
The
.Nm
-driver provides support for various FM radio cards. It provides an uniform
-programming interface layer above different underlying radio hardware drivers.
+driver provides support for various FM radio cards.
+It provides an uniform programming interface layer above different underlying
+radio hardware drivers.
.Pp
For radio tuner controlling there is a single device file available:
.Pa /dev/radio .
@@ -48,8 +49,8 @@ commands are supported:
.Pp
.Bl -tag -width indent -compact
.It Dv RIOCSMUTE (u_long)
-This command mutes or unmutes the device. This operation does not affect
-volume value of the device.
+This command mutes or unmutes the device.
+This operation does not affect volume value of the device.
.It Dv RIOCGMUTE (u_long)
This command returns current mute state of the device.
.It Dv RIOCSMONO (u_long)
@@ -69,8 +70,8 @@ This command sets working frequency of the device.
This command assumes that a signal search is required and gives direction
of search to the driver - 0 to search down and any non-zero value to search up.
.It Dv RIOCGCAPS (u_long)
-This command returns the device capabilities. The capabilities can have
-following values:
+This command returns the device capabilities.
+The capabilities can have following values:
.Bl -tag -width indent -compact
.It Dv RADIO_CAPS_DETECT_STEREO
The device can determine is it tuned to a stereo signal.
@@ -88,8 +89,9 @@ The device allow to change the reference frequency of a received signal.
The device allow to change the station lock sensitivity used during search
operation.
.It Dv RADIO_CAPS_CARD_TYPE
-Some cards have several different incarnations. This allow to determine
-the variant of the card. Currently not used.
+Some cards have several different incarnations.
+This allow to determine the variant of the card.
+Currently not used.
.El
.It Dv RIOCGINFO (u_long)
This commands returns current state of the device.
@@ -113,18 +115,13 @@ This command sets station lock sensitivity of the device.
.It Pa /dev/radio
.El
.Sh SEE ALSO
-.Xr ioctl 2 .
-.Pp
-For ports using the ISA bus:
+.Xr ioctl 2 ,
+.Xr az 4 ,
.Xr sf2r 4 ,
-.Xr az 4 .
-.Pp
-For ports using the PCI bus:
-.Xr sf4r 4 .
+.Xr sf4r 4
.Sh BUGS
-.Pp
-You can have only one card of the same type. For example, if you have two
-aztech FM tuners, the first card with jumper set to port 0x358 and the second
-one - to 0x350, you can use only one aztech card (in the kernel, that is)
-either with port 0x350 or 0x358. Don't even try to compile support for the
-second card into the kernel.
+You can have only one card of the same type.
+For example, if you have two aztech FM tuners, the first card with jumper
+set to port 0x358 and the second one - to 0x350, you can use only one
+aztech card (in the kernel, that is) either with port 0x350 or 0x358.
+Don't even try to compile support for the second card into the kernel.
diff --git a/share/man/man9/radio.9 b/share/man/man9/radio.9
index 2e24657f076..0cbff96836d 100644
--- a/share/man/man9/radio.9
+++ b/share/man/man9/radio.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: radio.9,v 1.1 2001/10/04 22:33:49 gluk Exp $
+.\" $OpenBSD: radio.9,v 1.2 2001/10/08 08:52:50 mpech Exp $
.\"
.\" Copyright (c) Maxim Tsyplakov <tm@oganer.net>
.\" All rights reserved.
@@ -42,10 +42,8 @@ struct radio_hw_if {
void *close(dev_t, int, int, struct proc *);
int *ioctl(dev_t, u_long, caddr_t, int, struct proc *);
};
-
.Ed
.Pp
-
The high level radio driver attaches to the low level driver
when the latter calls
.Va radio_attach_mi .
@@ -71,11 +69,9 @@ when the high level driver calls them.
.Va dev
is the device struct for the hardware device.
.Pp
-
The fields of
.Va radio_hw_if
are described in some more detail below.
-
.Bd -literal
int open (dev_t dev, int flags, int fmt, struct proc *p);
Is called when the radio device is opened.
@@ -88,6 +84,6 @@ int close (dev_t dev, int flags, int fmt, struct proc *p);
int ioctl (dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p);
Is ioctl requests handler function.
Returns 0 on success, otherwise an error code.
-
+.Ed
.Sh SEE ALSO
.Xr radio 4