From nobody@www.freebsd.org  Tue May 14 06:43:05 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 7633A37B406
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 May 2002 06:43:05 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4EDh5hG069774
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 May 2002 06:43:05 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g4EDh50i069773;
	Tue, 14 May 2002 06:43:05 -0700 (PDT)
Message-Id: <200205141343.g4EDh50i069773@www.freebsd.org>
Date: Tue, 14 May 2002 06:43:05 -0700 (PDT)
From: Johann Frisch <jrf@subdimension.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pciconf(8) man page has wrong synopsis
X-Send-Pr-Version: www-1.0

>Number:         38074
>Category:       docs
>Synopsis:       pciconf(8) man page has wrong synopsis
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 14 06:50:01 PDT 2002
>Closed-Date:    Wed May 15 12:32:08 PDT 2002
>Last-Modified:  Thu May 16 13:20:01 PDT 2002
>Originator:     Johann Frisch
>Release:        4.5-RELEASE-p4
>Organization:
>Environment:
>Description:
The synopsis section of the pciconf man page reads:

pciconf -r selector [-b | -h] reg[:reg2]
pciconf -w selector [-b | -h] reg value

but the actual usage of pciconf is
pciconf -r [-b | -h] sel addr[:addr]
pciconf -w [-b | -h] sel addr [value]
>How-To-Repeat:
pciconf ; man pciconf
>Fix:
     
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: trhodes 
State-Changed-When: Wed May 15 10:49:38 PDT 2002 
State-Changed-Why:  
Patched, MFC reminder.  I shall await re's approval. 


Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Wed May 15 10:49:38 PDT 2002 
Responsible-Changed-Why:  
Patched, MFC reminder.  I shall await re's approval. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38074 
State-Changed-From-To: patched->closed 
State-Changed-By: trhodes 
State-Changed-When: Wed May 15 12:31:34 PDT 2002 
State-Changed-Why:  
This fix has been implimented in both -current and -stable.  Thanks for 
pointing this out to us! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38074 

From: Jens Fandel <jfandel@mail.isis.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: docs/38074: pciconf(8) man page has wrong synopsis
Date: Thu, 16 May 2002 22:08:24 +0100

 Sorry, but that fix did not hit the spot? It is now worse than before. I
 get:
 
 pciconf -r selector [-b | -h] sel addr[:addr]
 pciconf -w selector [-b | -h] sel addr[value]
 
 In the rest of the document, reg and reg2 are used instead of addr,
 selector is used instead of sel, the selector can't be specified before
 [-b | -h] and the value is not optional when using pciconf -w. In fact,
 the usage printed by pciconf itself is wrong, you have to give a value
 when using -w. The space between addr (or reg) and value is missing.
>Unformatted:
