NetBSD Problem Report #46357

From dtyson@darkstar.anduin.org.uk  Thu Apr 19 18:48:57 2012
Return-Path: <dtyson@darkstar.anduin.org.uk>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 669A563B86B
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 19 Apr 2012 18:48:57 +0000 (UTC)
Message-Id: <20120419184911.15DE658BA@darkstar.anduin.org.uk>
Date: Thu, 19 Apr 2012 19:49:10 +0100 (BST)
From: dtyson@wirralcavinggroup.org.uk
Reply-To: dtyson@wirralcavinggroup.org.uk
To: gnats-bugs@gnats.NetBSD.org
Subject: hdaudio.4 man page doesn't match reality
X-Send-Pr-Version: 3.95

>Number:         46357
>Category:       kern
>Synopsis:       hdaudio.4 man page doesn't match reality
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 19 18:50:00 +0000 2012
>Closed-Date:    Thu Apr 19 20:20:26 +0000 2012
>Last-Modified:  Thu Apr 19 20:25:00 +0000 2012
>Originator:     Dave Tyson
>Release:        NetBSD 6.0_BETA
>Organization:
	Wirral Caving Group
>Environment:


System: NetBSD darkstar.anduin.org.uk 6.0_BETA NetBSD 6.0_BETA (GENERIC) #0: Tue Mar 20 10:29:18 GMT 2012 root@darkstar.anduin.org.uk:/usr/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	The hdaudio man page suggests that option HDAUDIO_AFG_DEBUG is needed
	to turn on the hdafg debug code. In fact its HDAFG_DEBUG. Found by code
	inspection. Both current and NetBSD 6_BETA. 
>How-To-Repeat:
	man hdaudio
>Fix:
	Apply the patch

root$ diff -u /usr/share/man/man4/hdaudio.4.orig /usr/share/man/man4/hdaudio.4 
--- /usr/share/man/man4/hdaudio.4.orig  2010-09-28 13:25:27.000000000 +0100
+++ /usr/share/man/man4/hdaudio.4       2012-04-19 18:39:41.000000000 +0100
@@ -39,7 +39,7 @@
 .Cd "audio* at audiobus?"
 .Pp
 .Cd "options HDAUDIO_DEBUG"
-.Cd "options HDAUDIO_AFG_DEBUG"
+.Cd "options HDAFG_DEBUG"
 .Sh DESCRIPTION
 The
 .Nm

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 19 Apr 2012 20:20:26 +0000
State-Changed-Why:
Committed, thank you!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46357 CVS commit: src
Date: Thu, 19 Apr 2012 20:20:35 +0000

 Module Name:	src
 Committed By:	wiz
 Date:		Thu Apr 19 20:20:35 UTC 2012

 Modified Files:
 	src/share/man/man4: hdaudio.4
 	src/sys/arch/i386/conf: ALL

 Log Message:
 Correct option name for hdaudio debugging.
 Reported by Dave Tyson in PR 46357.


 To generate a diff of this commit:
 cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/hdaudio.4
 cvs rdiff -u -r1.337 -r1.338 src/sys/arch/i386/conf/ALL

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.