From owner-freebsd-doc Wed Apr 10 19:50:18 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CFB8C37B41B for ; Wed, 10 Apr 2002 19:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3B2o1g74384; Wed, 10 Apr 2002 19:50:01 -0700 (PDT) (envelope-from gnats) Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by hub.freebsd.org (Postfix) with ESMTP id ED7AA37B404 for ; 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 Reply-To: Hiten Pandya To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/36985: [PATCH] - Various fixes for the tap(4) manual page Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36985 >Category: docs >Synopsis: [PATCH] - Various fixes for the tap(4) manual page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 10 19:50:01 PDT 2002 >Closed-Date: >Last-Modified: >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 took a look over this, but didn't have time to work with it. :-) -- Hiten Pandya -- >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message