Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2006 13:05:30 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Ian FREISLICH <if@hetzner.co.za>, Gleb Smirnoff <glebius@freebsd.org>, Andrew Thompson <thompsa@freebsd.org>
Subject:   Re: 802.1Q vlan performance. [PATCH]
Message-ID:  <200608251305.31259.jhb@freebsd.org>
In-Reply-To: <20060825145632.GY76666@cell.sick.ru>
References:  <E1GGYM0-000CVd-1K@hetzner.co.za> <200608251031.34081.jhb@freebsd.org> <20060825145632.GY76666@cell.sick.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608251305.31259.jhb>