[lkml]   [2000]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: SCSI scanning
The exact semantics are:


CONFIG_FOO=y # yes

CONFIG_FOO=m # module

# CONFIG_FOO is not set # no


#define CONFIG_FOO 1 /* yes */

#undef CONFIG_FOO /* module */
#define CONFIG_FOO_MODULE 1 /* module */

#undef CONFIG_FOO /* no */

So anything in C code that tests for CONFIG_FOO is going to be true
if FOO is configured 'yes' and false if FOO is configured 'module'.

I think some kernel code suffers from a misapprehension that CONFIG_FOO
is enabled for both 'yes' and 'module'. It's only enabled for 'yes'.

Michael Elizabeth Chastain
"love without fear"
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:45    [W:0.031 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site