From jhs@berklix.org  Tue Aug  7 21:31:41 2007
Return-Path: <jhs@berklix.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 731C416A41A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  7 Aug 2007 21:31:41 +0000 (UTC)
	(envelope-from jhs@berklix.org)
Received: from thin.berklix.org (thin.berklix.org [194.246.123.68])
	by mx1.freebsd.org (Postfix) with ESMTP id E55A813C4E7
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  7 Aug 2007 21:31:40 +0000 (UTC)
	(envelope-from jhs@berklix.org)
Received: from js.berklix.net (p549A4FE1.dip.t-dialin.net [84.154.79.225])
	(authenticated bits=128)
	by thin.berklix.org (8.12.11/8.12.11) with ESMTP id l77KvBds012139;
	Tue, 7 Aug 2007 22:57:12 +0200 (CEST)
	(envelope-from jhs@berklix.org)
Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41])
	by js.berklix.net (8.13.6/8.13.6) with ESMTP id l77Kv57G031946;
	Tue, 7 Aug 2007 22:57:05 +0200 (CEST)
	(envelope-from jhs@berklix.org)
Received: from fire.js.berklix.net (localhost.js.berklix.net [127.0.0.1])
	by fire.js.berklix.net (8.13.8/8.13.8) with ESMTP id l77Kv4t1062292;
	Tue, 7 Aug 2007 22:57:05 +0200 (CEST)
	(envelope-from jhs@fire.js.berklix.net)
Received: (from jhs@localhost)
	by fire.js.berklix.net (8.13.8/8.13.8/Submit) id l77Kv4Xd062291;
	Tue, 7 Aug 2007 22:57:04 +0200 (CEST)
	(envelope-from jhs)
Message-Id: <200708072057.l77Kv4Xd062291@fire.js.berklix.net>
Date: Tue, 7 Aug 2007 22:57:04 +0200 (CEST)
From: Julian Stacey Jhs <jhs@berklix.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jhs@berklix.com
Subject: bug in nve driver, document it.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         115284
>Category:       docs
>Synopsis:       [patch] nve(4): bug in nve driver, document it.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 07 21:40:00 GMT 2007
>Closed-Date:    Sun Feb 10 12:35:20 UTC 2008
>Last-Modified:  Thu Feb 14 21:50:04 UTC 2008
>Originator:     Julian Stacey jhs@berklix.com
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
http://berklix.com/~jhs/src/
>Environment:
System: FreeBSD fire.js.berklix.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Jun 20 12:09:48 CEST 2007 jhs@laps.js.berklix.net:/usr1/6.2-RELEASE/src/sys/i386/compile/FIRE32.small i386

	Note I've also tested this on yesterday's src-6 stable & same there.


	
>Description:
	nve0: ifconfig shows a false setting of 10baseT/UTP

>How-To-Repeat:
	Connect a main board with this chip to a 100M switch, eg Netgear 100M
	Note my board belongs to a customer, on short term loan,
	if anyone has a fix or test they want me to run, best be quick please.

>Fix:

	

Document it as per appended diff.
------------------
http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/share/man/man4/nve.4.REL=all.diff
See Also:
 http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/sys/net/nve_if_media.h.REL=all.diff.ignore
 /sys/contrib/dev/nve/
 /sys/dev/nve/
 /sys/modules/nve/

by jhs@berklix 2007.08 for FreeBSD-6.2-RELEASE & 6-stable 
Hardware test platform: Fujitsu Siemens mainboard

*** FreeBSD-6.2-RELEASE/src/share/man/man4/nve.4	Mon Aug  6 17:19:54 2007
--- new/src/share/man/man4/nve.4	Tue Aug  7 11:39:03 2007
***************
*** 72,77 ****
--- 72,84 ----
  Set 10Mbps operation.
  .It Cm 100baseTX
  Set 100Mbps (Fast Ethernet) operation.
+ .It Cm 1000baseTX
+ Set 1000Mbps (Gigaherz Ethernet) operation. 
+ .br
+ (If hardware supports it.)
+ .\"	1000M bandwidth test not yet run by jhs@berklix for nve on main board
+ .\"		A26361-D2000-Z120-1-7419
+ .\"		http://support.fujitsu-siemens.com/Manuals/ShowDescription_KMT.asp?DokuID=200449
  .El
  .Pp
  The
***************
*** 111,116 ****
--- 118,130 ----
  .It "nve%d: device timeout"
  The device has stopped responding to the network, or there is a problem with
  the network connection (cable).
+ .El
+ .Sh BUGS
+ If in autoselect mode: Hardware automatically adapts to 10M hub or
+ 100M switch, but on a 100M switch \" (Netgear or another make), 
+ ifconfig shows a false setting of 10baseT/UTP (& not 100baseTX),
+ (although both an ftp test of bandwidth, & right LED on nve interface
+ prove 100 Mbit/s bandwidth is automatically in operation.)
  .El
  .Sh SEE ALSO
  .Xr arp 4 ,


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-doc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Aug 10 20:37:24 UTC 2007 
Responsible-Changed-Why:  
Reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115284 
State-Changed-From-To: open->patched 
State-Changed-By: remko 
State-Changed-When: Sat Dec 8 21:58:37 UTC 2007 
State-Changed-Why:  
This had been adopted to current 


Responsible-Changed-From-To: freebsd-doc->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sat Dec 8 21:58:37 UTC 2007 
Responsible-Changed-Why:  
take ownership of the PR. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/115284: commit references a PR
Date: Sat,  8 Dec 2007 21:58:24 +0000 (UTC)

 remko       2007-12-08 21:58:19 UTC
 
   FreeBSD src repository
 
   Modified files:
     share/man/man4       nve.4 
   Log:
   Add 1000baseTX support for the nve driver, which is known here and there.
   
   Also mention that the driver sometimes returns '10baseTX' as output instead
   of 100baseTX (which is the case at that moment).
   
   PR:             docs/115284
   Submitted by:   Julian Stacey Jhs <jhs at berklix dot org>
   MFC After:      3 days
   
   Revision  Changes    Path
   1.9       +8 -1      src/share/man/man4/nve.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: remko 
State-Changed-When: Sun Feb 10 12:35:19 UTC 2008 
State-Changed-Why:  
MFC'ed to all relevant branches, thanks for the submission! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/115284: commit references a PR
Date: Sun, 10 Feb 2008 12:34:43 +0000 (UTC)

 remko       2008-02-10 12:34:36 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     share/man/man4       nve.4 
   Log:
   MFC rev 1.9 nve.4
   
     Add 1000baseTX support for the nve driver, which is known here and there.
   
     Also mention that the driver sometimes returns '10baseTX' as output instead
     of 100baseTX (which is the case at that moment).
   
     PR: docs/115284
     Submitted by: Julian Stacey Jhs <jhs at berklix dot org>
     MFC After: 3 days
   
   Revision  Changes    Path
   1.2.2.6   +8 -1      src/share/man/man4/nve.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/115284: commit references a PR
Date: Sun, 10 Feb 2008 12:35:08 +0000 (UTC)

 remko       2008-02-10 12:35:04 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     share/man/man4       nve.4 
   Log:
   MFC rev 1.9 nve.4
   
     Add 1000baseTX support for the nve driver, which is known here and there.
   
     Also mention that the driver sometimes returns '10baseTX' as output instead
     of 100baseTX (which is the case at that moment).
   
     PR: docs/115284
     Submitted by: Julian Stacey Jhs <jhs at berklix dot org>
     MFC After: 3 days
   
   Revision  Changes    Path
   1.8.2.1   +8 -1      src/share/man/man4/nve.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/115284: commit references a PR
Date: Thu, 14 Feb 2008 21:47:57 +0000 (UTC)

 remko       2008-02-14 21:47:49 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7_0)
     share/man/man4       nve.4 
   Log:
   MFC rev 1.9 to 1.11 nve.4
   
     v1.11
     Language nit.
   
     v1.10
     There is no list to stop, so dont use .El.
   
     Noticed by:   brueffer
   
     v1.9
     Add 1000baseTX support for the nve driver, which is known here and there.
   
     Also mention that the driver sometimes returns '10baseTX' as output instead
     of 100baseTX (which is the case at that moment).
   
     PR:           docs/115284
     Submitted by: Julian Stacey Jhs <jhs at berklix dot org>
     MFC After:    3 days
   
   Approved by:    re (bmah)
   
   Revision  Changes    Path
   1.8.4.1   +7 -1      src/share/man/man4/nve.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
