Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src The mr(4) driver was replaced by gtp(4) in 2002, but the doc...



details:   https://anonhg.NetBSD.org/src/rev/3c8961226bde
branches:  trunk
changeset: 763591:3c8961226bde
user:      fair <fair%NetBSD.org@localhost>
date:      Sun Mar 27 00:08:07 2011 +0000

description:
The mr(4) driver was replaced by gtp(4) in 2002, but the documentation
did not follow; fix PR kern/40070

diffstat:

 distrib/sets/lists/man/mi |   5 +-
 share/man/man4/Makefile   |   4 +-
 share/man/man4/gtp.4      |  77 +++++++++++++++++++++++++++++++++++++++++++++++
 share/man/man4/mr.4       |  60 ------------------------------------
 4 files changed, 82 insertions(+), 64 deletions(-)

diffs (189 lines):

diff -r 5177a7cecb90 -r 3c8961226bde distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Sat Mar 26 22:36:34 2011 +0000
+++ b/distrib/sets/lists/man/mi Sun Mar 27 00:08:07 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1303 2011/03/18 15:21:56 jruoho Exp $
+# $NetBSD: mi,v 1.1304 2011/03/27 00:08:07 fair Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -6327,6 +6327,7 @@
 ./usr/share/man/man4/gpiosim.4                 man-sys-man             .man
 ./usr/share/man/man4/gre.4                     man-sys-man             .man
 ./usr/share/man/man4/gsip.4                    man-sys-man             .man
+./usr/share/man/man4/gtp.4                     man-sys-man             .man
 ./usr/share/man/man4/gus.4                     man-sys-man             .man
 ./usr/share/man/man4/guspnp.4                  man-sys-man             .man
 ./usr/share/man/man4/hcide.4                   man-sys-man             .man
@@ -6596,7 +6597,7 @@
 ./usr/share/man/man4/mpls.4                    man-sys-man             .man
 ./usr/share/man/man4/mpt.4                     man-sys-man             .man
 ./usr/share/man/man4/mpu.4                     man-sys-man             .man
-./usr/share/man/man4/mr.4                      man-sys-man             .man
+./usr/share/man/man4/mr.4                      man-obsolete            obsolete
 ./usr/share/man/man4/msk.4                     man-sys-man             .man
 ./usr/share/man/man4/mskc.4                    man-sys-man             .man
 ./usr/share/man/man4/mtd.4                     man-sys-man             .man
diff -r 5177a7cecb90 -r 3c8961226bde share/man/man4/Makefile
--- a/share/man/man4/Makefile   Sat Mar 26 22:36:34 2011 +0000
+++ b/share/man/man4/Makefile   Sun Mar 27 00:08:07 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.555 2011/02/26 18:07:17 ahoka Exp $
+#      $NetBSD: Makefile,v 1.556 2011/03/27 00:08:07 fair Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/18/93
 
 MAN=   aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \
@@ -86,7 +86,7 @@
        acpipmtr.4 acpismbus.4 acpitz.4 acpivga.4 acpiwdrt.4 acpiwmi.4
 
 # Radio devices
-MAN+=  radio.4 az.4 mr.4 rt.4 rtii.4 sf2r.4
+MAN+=  radio.4 az.4 gtp.4 rt.4 rtii.4 sf2r.4
 
 # machine-independent busses
 MAN+=  eisa.4 gpioiic.4 isa.4 isapnp.4 ofisa.4 pci.4 pcmcia.4
diff -r 5177a7cecb90 -r 3c8961226bde share/man/man4/gtp.4
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/man/man4/gtp.4      Sun Mar 27 00:08:07 2011 +0000
@@ -0,0 +1,77 @@
+.\"    $OpenBSD: gtp.4,v 1.9 2007/05/31 19:19:50 jmc Exp $
+.\"
+.\" Copyright (c) 2002 Vladimir Popov <jumbo%narod.ru@localhost>
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+.\" ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\"
+.\" .Dd $Mdocdate$
+.Dd March 26, 2011
+.Dt GTP 4
+.Os
+.Sh NAME
+.Nm gtp
+.Nd Gemtek PCI FM radio device
+.Sh SYNOPSIS
+.Cd "gtp*   at pci? flags 0x00"
+.Cd "radio* at gtp?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the Gemtek PCI and Guillemot MaxiRadio FM2000
+FM radio tuners.
+.Pp
+The Gemtek PCI cards are stereo FM tuners that can tune in the range
+87.5 \- 108.0 MHz, report signal status and stereo/mono on the current
+frequency, force audio output to mono, perform hardware signal search,
+and have an internal AFC.
+.Pp
+The card is based on the TEA5757 chip; see
+.Xr radio 4
+for details.
+.Pp
+The flags control the driver behavior.
+For example, with flags 0x01 the driver
+will assume that a TEA5759 chip is used.
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr pci 4 ,
+.Xr radio 4 ,
+.Xr radio 9
+.Sh HISTORY
+The
+.Nm
+device driver appeared in
+.Ox 3.2
+and subsequently in
+.Nx 1.6
+wherein it replaced the
+.Xr mr 4
+driver.
+.Sh AUTHORS
+The
+.Nm
+driver and the man page was written by
+.An Vladimir Popov Aq jumbo%narod.ru@localhost .
+.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).
diff -r 5177a7cecb90 -r 3c8961226bde share/man/man4/mr.4
--- a/share/man/man4/mr.4       Sat Mar 26 22:36:34 2011 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-.\"    $NetBSD: mr.4,v 1.3 2002/01/01 22:51:10 wiz Exp $
-.\"    $OpenBSD: mr.4,v 1.2 2001/12/05 11:27:44 mickey Exp $
-.\"    $RuOBSD: mr.4,v 1.3 2001/10/26 05:38:43 form Exp $
-.\"
-.\" Copyright (c) 2001 Vladimir Popov <jumbo%narod.ru@localhost>
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-.\" ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.\"
-.Dd October 8, 2001
-.Dt MR 4
-.Os
-.Sh NAME
-.Nm mr
-.Nd Guillemot Maxi Radio FM 2000 FM radio device driver
-.Sh SYNOPSIS
-.Cd "mr*    at pci? dev ? function ?"
-.Cd "radio* at mr?"
-.Sh DESCRIPTION
-The
-.Nm
-driver provides support for the Maxi Radio FM radio tuners.
-.Pp
-The Maxi Radio cards are stereo FM tuners that allow to tune in the range
-87.5 - 108.0 MHz, report signal status on the current frequency, force
-audio output to mono, perform hardware signal search, and have an internal
-AFC.
-.Sh SEE ALSO
-.Xr pci 4 ,
-.Xr radio 4
-.Sh HISTORY
-The
-.Nm
-device driver appeared in
-.Ox 3.0
-and
-.Nx 1.6 .
-.Sh AUTHORS
-The
-.Nm
-driver was written by Vladimir Popov and Maxim Tsyplakov.
-The man page was written by Vladimir Popov.



Home | Main Index | Thread Index | Old Index