From hiten@pittgoth.com  Fri Mar  8 06:18:33 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 A134737B405
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  8 Mar 2002 06:18:31 -0800 (PST)
Received: (from hiten@localhost)
	by pittgoth.com (8.11.6/8.11.6) id g28EKTc25427;
	Fri, 8 Mar 2002 09:20:29 -0500 (EST)
	(envelope-from hiten)
Message-Id: <200203081420.g28EKTc25427@pittgoth.com>
Date: Fri, 8 Mar 2002 09:20:29 -0500 (EST)
From: Hiten Pandya <hiten@uk.FreeBSD.org>
Reply-To: Hiten Pandya <hiten@uk.FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: hitmaster2k@yahoo.com
Subject: [PATCH] - Documenting kernel options (5.0-CURRENT)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35674
>Category:       conf
>Synopsis:       [PATCH] - Documenting kernel options (5.0-CURRENT)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    rwatson
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 08 06:20:01 PST 2002
>Closed-Date:    Fri Mar 8 10:54:19 PST 2002
>Last-Modified:  Fri Mar 08 10:54:48 PST 2002
>Originator:     Hiten Pandya <hiten@uk.FreeBSD.org>
>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, will close PR docs/32825, and also documents
	the PFIL_HOOKS option, which is currently undocumented.  The
	PFIL_HOOKS definition was provided on the cvs-all@ and the 
	cvs-committers@ list, by cjc@ and Darren Reed.

	I suggest keeping this PR open, as I have some more options
	in the NOTES file to document.  Probably the patches can be
	applied and a follow-up can be sent acknowledging the PR, but
	not closing it. :)

>How-To-Repeat:
	n/a
>Fix:

	(kindly) Apply this patch to src/sys/i386/conf/NOTES. 

===================================================================
RCS file: RCS/NOTES,v
retrieving revision 1.1
diff -u -r1.1 NOTES
--- NOTES       2002/03/06 18:14:59     1.1
+++ NOTES       2002/03/08 11:39:44
@@ -248,6 +248,15 @@
 # which indicates that the 15-16MB range is *definitely* not being
 # occupied by an ISA memory hole.
 #
+# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup
+# until the user presses a key.
+#
+# The following two options measure the frequency of the corresponding
+# clock relative to the RTC (onboard mc146818a):
+#
+#       - CLK_USE_I8254_CALIBRATION
+#       - CLK_USE_TSC_CALIBRATION
+#
 # NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
 # CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
 # These options may crash your system.
@@ -279,7 +288,9 @@
 options        CYRIX_CACHE_WORKS
 options        CYRIX_CACHE_REALLY_WORKS
 #options       NO_F00F_HACK
-
+options                CLK_CALIBRATION_LOOP
+options                CLK_USE_I8254_CALIBRATION
+options                CLK_USE_TSC_CALIBRATION
 #
 # A math emulator is mandatory if you wish to run on hardware which
 # does not have a floating-point processor.  Pick either the original,
@@ -651,8 +662,13 @@
 # BRIDGE enables bridging between ethernet cards -- see bridge(4).
 # You can use IPFIREWALL and DUMMYNET together with bridging.
 #
+# PFIL_HOOKS (when enable) is an abstract layer meant to be used in
+# network code where filtering is required.  See the pfil(9) reference
+# page.  This option is a subset of the IPFILTER option.
+#
 options        DUMMYNET
 options        BRIDGE
+options        PFIL_HOOKS

 #
 # ATM (HARP version) options
@@ -3045,8 +3061,6 @@
 options        NETGRAPH_BRIDGE
 options        NETSMB
 options        NETSMBCRYPTO
-# PFIL_HOOKS has no effect here since it is a subset of IPFILTER.
-options        PFIL_HOOKS
 # SIMOS is broken since it is alpha-only but not ifdefed.
 ##options      SIMOS
 options        SMBFS
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->rwatson 
Responsible-Changed-By: rwatson 
Responsible-Changed-When: Fri Mar 8 08:01:11 PST 2002 
Responsible-Changed-Why:  
Once an updated patch is generated, I'll be happy to commit this. 

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

From: Hiten Pandya <hiten@uk.FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc: rwatson@FreeBSD.org
Subject: Re: conf/35674: [PATCH] - Documenting kernel options (5.0-CURRENT)
Date: Fri, 8 Mar 2002 17:46:47 +0000

 As requested, I am sending an updated PATCH as a followup to this
 PR.  Hope this helps.
 
 Regards,
 
 --
 Hiten Pandya
 http://jfs4bsd.sf.net/	  JFS for FreeBSD (JFS4BSD)
 http://www.FreeBSD.org/	  The Power to Serve
 
 ===================================================================
 RCS file: RCS/NOTES,v
 retrieving revision 1.1
 diff -u -r1.1 NOTES
 --- NOTES	2002/03/08 17:32:13	1.1
 +++ NOTES	2002/03/08 17:32:36
 @@ -248,6 +248,15 @@
  # which indicates that the 15-16MB range is *definitely* not being
  # occupied by an ISA memory hole.
  #
 +# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup
 +# until the user presses a key.
 +#
 +# The following two options measure the frequency of the corresponding
 +# clock relative to the RTC (onboard mc146818a):
 +#
 +#	- CLK_USE_I8254_CALIBRATION
 +#	- CLK_USE_TSC_CALIBRATION
 +#
  # NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
  # CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
  # These options may crash your system.
 @@ -279,7 +288,9 @@
  options 	CYRIX_CACHE_WORKS
  options 	CYRIX_CACHE_REALLY_WORKS
  #options 	NO_F00F_HACK
 -
 +options		CLK_CALIBRATION_LOOP
 +options		CLK_USE_I8254_CALIBRATION
 +options		CLK_USE_TSC_CALIBRATION
  #
  # A math emulator is mandatory if you wish to run on hardware which
  # does not have a floating-point processor.  Pick either the original,
 @@ -659,9 +670,13 @@
  # BRIDGE enables bridging between ethernet cards -- see bridge(4).
  # You can use IPFIREWALL and DUMMYNET together with bridging.
  #
 +# PFIL_HOOKS enables an abtract layer which is meant to be used in
 +# network code where filtering is required.  See the pfil(9) reference
 +# page.  This option is a subset of the IPFILTER option.
 +#
  options 	DUMMYNET
  options 	BRIDGE
 -
 +options		PFIL_HOOKS
  #
  # ATM (HARP version) options
  #
 @@ -3052,8 +3067,6 @@
  options 	NDEVFSINO=1025
  options 	NDEVFSOVERFLOW=32769
  options 	NETGRAPH_BRIDGE
 -# PFIL_HOOKS has no effect here since it is a subset of IPFILTER.
 -options 	PFIL_HOOKS
  # SIMOS is broken since it is alpha-only but not ifdefed.
  ##options 	SIMOS
  options 	VESA_DEBUG
State-Changed-From-To: open->closed 
State-Changed-By: rwatson 
State-Changed-When: Fri Mar 8 10:54:19 PST 2002 
State-Changed-Why:  
I've committed variations on this patch to appropriate bits of NOTES. 
Thanks! 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35674 
>Unformatted:
