From owner-freebsd-current@FreeBSD.ORG Fri Aug 25 17:57:17 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E42CC16A4DA; Fri, 25 Aug 2006 17:57:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9FAA43D70; Fri, 25 Aug 2006 17:57:16 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k7PHv7Nc077177; Fri, 25 Aug 2006 13:57:07 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 25 Aug 2006 13:05:30 -0400 User-Agent: KMail/1.9.1 References: <200608251031.34081.jhb@freebsd.org> <20060825145632.GY76666@cell.sick.ru> In-Reply-To: <20060825145632.GY76666@cell.sick.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608251305.31259.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 25 Aug 2006 13:57:11 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1728/Fri Aug 25 01:55:58 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Ian FREISLICH , Gleb Smirnoff , Andrew Thompson Subject: Re: 802.1Q vlan performance. [PATCH] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 17:57:18 -0000 On Friday 25 August 2006 10:56, Gleb Smirnoff wrote: > On Fri, Aug 25, 2006 at 10:31:33AM -0400, John Baldwin wrote: > J> > I> +++ /usr/src/sys/conf/NOTES 25 Aug 2006 10:03:18 -0000 > J> > I> @@ -646,6 +646,7 @@ > J> > I> # > J> > I> device ether #Generic Ethernet > J> > I> device vlan #VLAN support (needs miibus) > J> > I> +options VLAN_ARRAY #Lookup table for trunk interface > J> > I> device wlan #802.11 support > J> > I> device wlan_wep #802.11 WEP support > J> > I> device wlan_ccmp #802.11 CCMP support > J> > > J> > I'd prefer not to put it into NOTES. When enabled, less code will > J> > be covered by LINT. > J> > J> Bah, GENERIC will cover it then. All options should be in NOTES. If > J> an option removes code and it's enabled in GENERIC, then you should put > J> it in NOTES but comment it out. > > But "device vlan" isn't in GENERIC. Then put the option in and comment it out. NOTES serves 2 purposes: 1 is to provide the basis for LINT, the second is to document the various options and devices. -- John Baldwin