From roelof@nisser.com  Mon Feb 11 13:38:05 2002
Return-Path: <roelof@nisser.com>
Received: from frl.nisser.com (c0039.upc-c.chello.nl [212.187.0.39])
	by hub.freebsd.org (Postfix) with ESMTP id CB0A837B44B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 11 Feb 2002 13:37:45 -0800 (PST)
Received: by frl.nisser.com (Postfix, from userid 1001)
	id 4CE60EA8B; Mon, 11 Feb 2002 22:37:42 +0100 (CET)
Message-Id: <20020211213742.4CE60EA8B@frl.nisser.com>
Date: Mon, 11 Feb 2002 22:37:42 +0100 (CET)
From: Roelof Osinga <roelof@nisser.com>
Reply-To: ing.Roelof Osinga <roelof@nisser.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: oversight in LINT documentation line
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         34847
>Category:       misc
>Synopsis:       oversight in LINT documentation line
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 11 13:40:01 PST 2002
>Closed-Date:    Mon Apr 22 18:22:27 PDT 2002
>Last-Modified:  Mon Apr 22 18:22:27 PDT 2002
>Originator:     ing. Roelof Osinga
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
eBOA
>Environment:
System: FreeBSD frl.nisser.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Feb 3 23:02:43 CET 2002 toor@frl.nisser.com:/usr/obj/usr/src/sys/NISSER i386


	
>Description:
	

1330,1331c1285
< options       CONSPEED=115200         # speed for serial console
<                                       # (default 9600)
---
> options       CONSPEED=9600           #default speed for serial console (defau
lt 9600)

Output from a diff between the 4.2 LINT and the 4.5 one.

>How-To-Repeat:
	
CVSup to 4.5-STABLE
>Fix:

	
Change 9600 in the comment to 115200, or the OPTION back to 9600



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: greid 
Responsible-Changed-When: Mon Feb 18 12:07:40 PST 2002 
Responsible-Changed-Why:  
Mangled by GNATS 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34847 
State-Changed-From-To: open->feedback 
State-Changed-By: dd 
State-Changed-When: Fri Mar 8 20:16:52 PST 2002 
State-Changed-Why:  
The 4.5 version seems to be correct.  Could you be more explicit in 
what you think the problem is? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34847 

From: Dima Dorfman <dima@trit.org>
To: Roelof Osinga <roelof@nisser.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/34847: oversight in LINT documentation line 
Date: Sat, 09 Mar 2002 22:33:59 +0000

 Roelof Osinga <roelof@nisser.com> wrote:
 > dd@FreeBSD.org wrote:
 > > 
 > > Synopsis: oversight in LINT documentation line
 > > 
 > > State-Changed-From-To: open->feedback
 > > State-Changed-By: dd
 > > State-Changed-When: Fri Mar 8 20:16:52 PST 2002
 > > State-Changed-Why:
 > > The 4.5 version seems to be correct.  Could you be more explicit in
 > > what you think the problem is?
 > > 
 > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34847
 > 
 > It is incorrect in that connection speed seems to be set by that
 > option to 115200 baud, yet the comment line following that very
 > action states that the default speed is 9600 baud. That discrepancy
 > was not present in 4.2.
 
 This is not a discrepancy.  NOTES/LINT is not supposed to set values
 to their defaults.  Here's the commit that caused the change between
 4.2 and 4.5:
 
 ----------------------------
 revision 1.929
 date: 2001/06/21 19:50:11;  author: dd;  state: Exp;  lines: +3 -2
 Don't set CONSPEED to the default and deobfuscate the comment.
 
 PR:             28296
 Submitted by:   bde, Giorgos Keramidas <keramida@ceid.upatras.gr>
 ----------------------------
 
 > It's a matter of interpretation. The (PC) hardware defaults indeed
 > to 9600 bps and Xoff/Xon I believe. But that's the hardware. This
 > is the kernel. It overrides the hardware default and changes it to
 > a new default. Which the sysop can change yet again by stty(1). So
 > what default?
 
 The default of 9600 comes from sys/dev/sio/sioreg.h; I think it can
 later be changed using sysctl, but since CONSPEED is used long before
 sysctl can be called (e.g., during boot), this is only mildly useful.
 Perhaps you're confusing CONSPEED with something else?

From: Roelof Osinga <roelof@nisser.com>
To: Dima Dorfman <dima@trit.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/34847: oversight in LINT documentation line
Date: Sun, 10 Mar 2002 22:22:59 +0100

 Dima Dorfman wrote:
 > 
 > ...
 > This is not a discrepancy.  NOTES/LINT is not supposed to set values
 > to their defaults.  Here's the commit that caused the change between
 > 4.2 and 4.5:
 > 
 > ----------------------------
 > revision 1.929
 > date: 2001/06/21 19:50:11;  author: dd;  state: Exp;  lines: +3 -2
 > Don't set CONSPEED to the default and deobfuscate the comment.
 
 Well... let's just say we disagree regarding the deobfuscation <g>. I
 would've also liked to say, sorry about the confusion... but it wasn't
 my idea :).
 
 > ...
 > The default of 9600 comes from sys/dev/sio/sioreg.h; I think it can
 > later be changed using sysctl, but since CONSPEED is used long before
 > sysctl can be called (e.g., during boot), this is only mildly useful.
 > Perhaps you're confusing CONSPEED with something else?
 
 Precisely, the terminals I have don't even support 115k2! 38k4, tops
 and that with CTS/RTS handshaking.
 
 Maybe I am, don't hook 'm up any more. Usually <g>. So I'm still
 associating COMSPEED with sio0 for PC's. Can be changed, but we're
 talking defaults here <g>.
 
 It's not a biggie. It just struck me as wrong, or weird. Unexpected.
 Maybe I overreacted. Anyway, sorry for any confusion I caused ;).
 
 Roelof
 
 -- 
 _______________________________________________________________________
 eBOA                                               est. 1982
 http://eBOA.com/                                    tel. +31-58-2123014
 mailto:info@eBOA.com?subject=Information_request    fax. +31-58-2160293
State-Changed-From-To: feedback->closed 
State-Changed-By: johan 
State-Changed-When: Mon Apr 22 18:12:37 PDT 2002 
State-Changed-Why:  
Submitter seems satisfied with the provided answer. 

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