Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2013 18:47:10 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254929 - head/share/man/man4
Message-ID:  <201308261847.r7QIlAVd051472@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmg
Date: Mon Aug 26 18:47:10 2013
New Revision: 254929
URL: http://svnweb.freebsd.org/changeset/base/254929

Log:
  none of the drivers in the tree support CDIOCCAPABILITY or CDIOCPITCH..
  remove the documentation so people won't get confused and think they
  are supported...

Modified:
  head/share/man/man4/cd.4

Modified: head/share/man/man4/cd.4
==============================================================================
--- head/share/man/man4/cd.4	Mon Aug 26 18:35:21 2013	(r254928)
+++ head/share/man/man4/cd.4	Mon Aug 26 18:47:10 2013	(r254929)
@@ -113,69 +113,6 @@ read from the scsi inquiry commands, and
 the information printed at boot.
 This structure is defined in the header file
 .In sys/disklabel.h .
-.It Dv CDIOCCAPABILITY
-.Pq Li "struct ioc_capability"
-Retrieve information from the drive on what features it supports.
-The information is returned in the following structure:
-.Bd -literal -offset indent
-struct ioc_capability {
-	u_long	play_function;
-#define CDDOPLAYTRK	0x00000001
-	/* Can play tracks/index */
-#define	CDDOPLAYMSF	0x00000002
-	/* Can play msf to msf */
-#define	CDDOPLAYBLOCKS	0x00000004
-	/* Can play range of blocks */
-#define	CDDOPAUSE	0x00000100
-	/* Output can be paused */
-#define	CDDORESUME	0x00000200
-	/* Output can be resumed */
-#define	CDDORESET	0x00000400
-	/* Drive can be completely reset */
-#define	CDDOSTART	0x00000800
-	/* Audio can be started */
-#define CDDOSTOP	0x00001000
-	/* Audio can be stopped */
-#define CDDOPITCH	0x00002000
-	/* Audio pitch can be changed */
-
-	u_long	routing_function;
-#define CDREADVOLUME	0x00000001
-	/* Volume settings can be read */
-#define CDSETVOLUME	0x00000002
-	/* Volume settings can be set */
-#define	CDSETMONO	0x00000100
-	/* Output can be set to mono */
-#define CDSETSTEREO	0x00000200
-	/* Output can be set to stereo (def) */
-#define	CDSETLEFT	0x00000400
-	/* Output can be set to left only */
-#define	CDSETRIGHT	0x00000800
-	/* Output can be set to right only */
-#define	CDSETMUTE	0x00001000
-	/* Output can be muted */
-#define CDSETPATCH	0x00008000
-	/* Direct routing control allowed */
-
-	u_long	special_function;
-#define	CDDOEJECT	0x00000001
-	/* The tray can be opened */
-#define	CDDOCLOSE	0x00000002
-	/* The tray can be closed */
-#define	CDDOLOCK	0x00000004
-	/* The tray can be locked */
-#define CDREADHEADER	0x00000100
-	/* Can read Table of Contents */
-#define	CDREADENTRIES	0x00000200
-	/* Can read TOC Entries */
-#define	CDREADSUBQ	0x00000200
-	/* Can read Subchannel info */
-#define CDREADRW	0x00000400
-	/* Can read subcodes R-W */
-#define	CDHASDEBUG	0x00004000
-	/* The tray has dynamic debugging */
-};
-.Ed
 .It Dv CDIOCPLAYTRACKS
 .Pq Li "struct ioc_play_track"
 Start audio playback given a track address and length.
@@ -320,24 +257,6 @@ Eject the
 .It Dv CDIOCCLOSE
 Tell the drive to close its door and load the media.
 Not all drives support this feature.
-.It Dv CDIOCPITCH
-.Pq Li "struct ioc_pitch"
-For drives that support it, this command instructs the drive to play
-the audio at a faster or slower rate than normal.
-Values of
-.Li speed
-between -32767 and -1 result in slower playback; a zero value
-indicates normal speed; and values from 1 to 32767 give faster
-playback.
-Drives with less than 16 bits of resolution will silently
-ignore less-significant bits.
-The structure is defined thusly:
-.Bd -literal -offset indent
-struct	ioc_pitch
-{
-	short	speed;
-};
-.Ed
 .El
 .Sh NOTES
 When a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308261847.r7QIlAVd051472>