From hiten@pittgoth.com  Wed Apr 10 19:48:43 2002
Return-Path: <hiten@pittgoth.com>
Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111])
	by hub.freebsd.org (Postfix) with ESMTP id ED7AA37B404
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 10 Apr 2002 19:48:40 -0700 (PDT)
Received: (from hiten@localhost)
	by pittgoth.com (8.11.6/8.11.6) id g3B2meV33294;
	Wed, 10 Apr 2002 22:48:40 -0400 (EDT)
	(envelope-from hiten)
Message-Id: <200204110248.g3B2meV33294@pittgoth.com>
Date: Wed, 10 Apr 2002 22:48:40 -0400 (EDT)
From: Hiten Pandya <hiten@uk.FreeBSD.org>
Reply-To: Hiten Pandya <hiten@uk.FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] - Various fixes for the tap(4) manual page
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         36985
>Category:       docs
>Synopsis:       [PATCH] - Various fixes for the tap(4) manual page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 10 19:50:01 PDT 2002
>Closed-Date:    Tue Apr 16 17:01:40 PDT 2002
>Last-Modified:  Tue Apr 16 17:01:40 PDT 2002
>Originator:     Hiten Pandya
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:
System: FreeBSD pittgoth.com 4.5-RELEASE FreeBSD 4.5-RELEASE #2: Thu Feb 21 23:00:49 EST 2002 root@pittgoth.com:/usr/src/sys/compile/PITTGOTH i386

>Description:

	The below patch makes various changes to the tap(4) manual
	page.  It corrects some grammar mistakes and it puts a .Em
	macro (emphasise) around the VMNet driver.  I think this
	was needed, as it would clearly show out the VMNet stuff.

	Tom Rhodes <trhodes@FreeBSD.org> took a look over this, but didn't
	have time to work with it. :-)

	  -- Hiten Pandya
	  -- <hiten@uk.FreeBSD.org>

>How-To-Repeat:

	Heh. You know the drill, visit the tap(4) manual page. :)
>Fix:

	Apply the patch provided below.  If not, please do not hesitate
	to contact me regarding this issue.

--- tap.4.orig	Tue Sep 11 06:08:29 2001
+++ tap.4	Wed Apr 10 21:55:41 2002
@@ -231,7 +231,9 @@
 brought down
 (as if with
 .Dq ifconfig tap Ns Sy N No down )
-unless the devices is a VMnet device.
+unless the device is a 
+.Em VMnet 
+device.
 All queued frames are thrown away.
 If the interface is up when the data
 device is not open, output frames are thrown away rather than
@@ -239,32 +241,41 @@
 .Pp
 The
 .Nm
-device is also can be used with the VMware port as a replacement
-for the old VMnet device driver.
+device can also be used with the VMware port as a replacement
+for the old 
+.Em VMnet 
+device driver.
 The driver uses the minor number
 to select between
 .Nm
 and
 .Nm vmnet
 devices.
-VMnet minor numbers begin at
+.Em VMnet 
+minor numbers begin at
 .Va 0x800000
 +
-.Va N .
-Where
+.Va N ;
+where
 .Va N
-is a VMnet unit number.
-In this case control device is expected to be
+is a 
+.Em VMnet 
+unit number.
+In this case the control device is expected to be
 .Pa /dev/vmnet Ns Sy N ,
-and network interface will be
+and the network interface will be
 .Sy vmnet Ns Ar N .
-Additionally, VMnet devices do not ifconfig themselves down when the
+Additionally, 
+.Em VMnet 
+devices do not 
+.Xr ifconfig 8 
+themselves down when the
 control device is closed.
 Everything else is the same.
 .Pp
-In addition to mentioned above
+In addition to the above mentioned 
 .Xr ioctl 2
-there is one additional one for the VMware port.
+calls, there is an additional one for the VMware port.
 .Bl -tag -width VMIO_SIOCSETMACADDR
 .It Dv VMIO_SIOCSIFFLAGS
 VMware
@@ -273,7 +284,3 @@
 .Sh SEE ALSO
 .Xr inet 4 ,
 .Xr intro 4
-.\" .Sh BUGS
-.Sh AUTHORS
-This man page has been obtained from
-.Fx .
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: trhodes 
State-Changed-When: Fri Apr 12 15:06:50 PDT 2002 
State-Changed-Why:  
Applied to CURRENT, I'll apply this to STABLE in 4 days, thanks for the 
submission! 


Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Fri Apr 12 15:06:50 PDT 2002 
Responsible-Changed-Why:  
Applied to CURRENT, I'll apply this to STABLE in 4 days, thanks for the 
submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36985 
State-Changed-From-To: patched->closed 
State-Changed-By: trhodes 
State-Changed-When: Tue Apr 16 17:00:33 PDT 2002 
State-Changed-Why:  
The patch did not apply cleanly to the STABLE version, I manually 
modified the patch to work.  Thanks for the submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36985 
>Unformatted:
