From nobody@FreeBSD.org  Fri Jan  6 21:41:34 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C11731065672
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  6 Jan 2012 21:41:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id AF8DC8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  6 Jan 2012 21:41:34 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q06LfYkX019998
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 6 Jan 2012 21:41:34 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q06LfYsd019997;
	Fri, 6 Jan 2012 21:41:34 GMT
	(envelope-from nobody)
Message-Id: <201201062141.q06LfYsd019997@red.freebsd.org>
Date: Fri, 6 Jan 2012 21:41:34 GMT
From: Eugen Konkov <kes-kes@yandex.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: handbook do not say about how to force to not compile sources for some device
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163879
>Category:       docs
>Synopsis:       [handbook] handbook does not say about how to force to not compile sources for some device
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 06 21:50:09 UTC 2012
>Closed-Date:    
>Last-Modified:  Fri Jan 06 23:14:57 UTC 2012
>Originator:     Eugen Konkov
>Release:        
>Organization:
ISP FreeLine
>Environment:
>Description:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
handbook do not say about how to force to not compile sources for some device.

that is implicit that comment option or remove it to disable device from compiling.

The general format of a configuration file is quite simple. Each line contains a keyword and one or more arguments. For simplicity, most lines only contain one argument. Anything following a # is considered a comment and ignored. ++++addthis line+++++ here must be description how to not compile 'device'  ++++addthisline++++
The following sections describe each keyword, in the order they are listed in GENERIC. For an exhaustive list of architecture dependent options and devices, see the NOTES file in the same directory as the GENERIC file. For architecture independent options, see /usr/src/sys/conf/NOTES.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= <kes-kes@yandex.ru>
To: bug-followup@FreeBSD.org, kes-kes@yandex.ru
Cc:  
Subject: Re: docs/163879: handbook do not say about how to force to not compile sources for some device
Date: Sat, 7 Jan 2012 00:21:11 +0200

 even more
 
 if I comment out 'device et' or try 'nodevice et' and if_et.c contain:
 #cat /usr/src/sys/dev/et/if_et.c
 aldsfjadl;fadjf NO COMPILEABLE CODE HERE
 
 I can not build kernel at all
 
 PS. I am not sure, but I think that this must be another PR
  because this part is not related to 'doc' so I open new one:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=163880
 
>Unformatted:
