Module Name: src
Committed By: fair
Date: Sun Mar 27 00:08:08 UTC 2011
Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4: Makefile
Added Files:
src/share/man/man4: gtp.4
Removed Files:
src/share/man/man4: mr.4
Log Message:
The mr(4) driver was replaced by gtp(4) in 2002, but the documentation
did not follow; fix PR kern/40070
To generate a diff of this commit:
cvs rdiff -u -r1.1303 -r1.1304 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.555 -r1.556 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/gtp.4
cvs rdiff -u -r1.3 -r0 src/share/man/man4/mr.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/man/mi
diff -u src/distrib/sets/lists/man/mi:1.1303 src/distrib/sets/lists/man/mi:1.1304
--- src/distrib/sets/lists/man/mi:1.1303 Fri Mar 18 15:21:56 2011
+++ src/distrib/sets/lists/man/mi Sun Mar 27 00:08:07 2011
@@ -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
Index: src/share/man/man4/Makefile
diff -u src/share/man/man4/Makefile:1.555 src/share/man/man4/Makefile:1.556
--- src/share/man/man4/Makefile:1.555 Sat Feb 26 18:07:17 2011
+++ src/share/man/man4/Makefile Sun Mar 27 00:08:07 2011
@@ -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
Added files:
Index: src/share/man/man4/gtp.4
diff -u /dev/null src/share/man/man4/gtp.4:1.1
--- /dev/null Sun Mar 27 00:08:08 2011
+++ src/share/man/man4/gtp.4 Sun Mar 27 00:08:08 2011
@@ -0,0 +1,77 @@
+.\" $OpenBSD: gtp.4,v 1.9 2007/05/31 19:19:50 jmc Exp $
+.\"
+.\" Copyright (c) 2002 Vladimir Popov <[email protected]>
+.\" 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 [email protected] .
+.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).