Bug 163879

Summary: [handbook] handbook does not say about how to force to not compile sources for some device
Product: Documentation Reporter: kes-kes
Component: DocumentationAssignee: freebsd-doc (Nobody) <doc>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description kes-kes 2012-01-06 21:50:09 UTC
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.
Comment 1 kes-kes 2012-01-06 22:21:11 UTC
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

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:
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:34 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped