2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-language.txt.
5 mainmenu_name "Linux Kernel Configuration"
7 define_bool CONFIG_X86 y
8 define_bool CONFIG_ISA y
9 define_bool CONFIG_SBUS n
11 define_bool CONFIG_UID16 y
13 mainmenu_option next_comment
14 comment 'Code maturity level options'
15 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
18 mainmenu_option next_comment
19 comment 'Loadable module support'
20 bool 'Enable loadable module support' CONFIG_MODULES
21 if [ "$CONFIG_MODULES" = "y" ]; then
22 bool ' Set version information on all module symbols' CONFIG_MODVERSIONS
23 bool ' Kernel module loader' CONFIG_KMOD
27 mainmenu_option next_comment
28 comment 'Processor type and features'
29 choice 'Processor family' \
32 586/K5/5x86/6x86/6x86MX CONFIG_M586 \
33 Pentium-Classic/Pentium-MMX CONFIG_M586TSC \
34 Pentium-Pro/Celeron/Pentium-II CONFIG_M686 \
35 Pentium-III CONFIG_M686FXSR \
36 K6/K6-II/K6-III CONFIG_MK6 \
37 Athlon/K7 CONFIG_MK7 \
38 Crusoe CONFIG_MCRUSOE \
39 Winchip-C6 CONFIG_MWINCHIPC6 \
40 Winchip-2 CONFIG_MWINCHIP2 \
41 Winchip-2A/Winchip-3 CONFIG_MWINCHIP3D" Pentium-Pro
43 # Define implied options from the CPU selection here
45 if [ "$CONFIG_M386" = "y" ]; then
46 define_bool CONFIG_X86_CMPXCHG n
47 define_int CONFIG_X86_L1_CACHE_BYTES 16
49 define_bool CONFIG_X86_WP_WORKS_OK y
50 define_bool CONFIG_X86_INVLPG y
51 define_bool CONFIG_X86_CMPXCHG y
52 define_bool CONFIG_X86_BSWAP y
53 define_bool CONFIG_X86_POPAD_OK y
55 if [ "$CONFIG_M486" = "y" ]; then
56 define_int CONFIG_X86_L1_CACHE_BYTES 16
57 define_bool CONFIG_X86_USE_STRING_486 y
58 define_bool CONFIG_X86_ALIGNMENT_16 y
60 if [ "$CONFIG_M586" = "y" ]; then
61 define_int CONFIG_X86_L1_CACHE_BYTES 32
62 define_bool CONFIG_X86_USE_STRING_486 y
63 define_bool CONFIG_X86_ALIGNMENT_16 y
65 if [ "$CONFIG_M586TSC" = "y" ]; then
66 define_int CONFIG_X86_L1_CACHE_BYTES 32
67 define_bool CONFIG_X86_USE_STRING_486 y
68 define_bool CONFIG_X86_ALIGNMENT_16 y
69 define_bool CONFIG_X86_TSC y
71 if [ "$CONFIG_M686" = "y" ]; then
72 define_int CONFIG_X86_L1_CACHE_BYTES 32
73 define_bool CONFIG_X86_TSC y
74 define_bool CONFIG_X86_GOOD_APIC y
75 define_bool CONFIG_X86_PGE y
76 define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
78 if [ "$CONFIG_M686FXSR" = "y" ]; then
79 define_int CONFIG_X86_L1_CACHE_BYTES 32
80 define_bool CONFIG_X86_TSC y
81 define_bool CONFIG_X86_GOOD_APIC y
82 define_bool CONFIG_X86_PGE y
83 define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
84 define_bool CONFIG_X86_FXSR y
85 define_bool CONFIG_X86_XMM y
87 if [ "$CONFIG_MK6" = "y" ]; then
88 define_int CONFIG_X86_L1_CACHE_BYTES 32
89 define_bool CONFIG_X86_ALIGNMENT_16 y
90 define_bool CONFIG_X86_TSC y
91 define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
93 if [ "$CONFIG_MK7" = "y" ]; then
94 define_int CONFIG_X86_L1_CACHE_BYTES 64
95 define_bool CONFIG_X86_TSC y
96 define_bool CONFIG_X86_GOOD_APIC y
97 define_bool CONFIG_X86_USE_3DNOW y
98 define_bool CONFIG_X86_PGE y
99 define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
101 if [ "$CONFIG_MCRUSOE" = "y" ]; then
102 define_int CONFIG_X86_L1_CACHE_BYTES 32
103 define_bool CONFIG_X86_TSC y
105 if [ "$CONFIG_MWINCHIPC6" = "y" ]; then
106 define_int CONFIG_X86_L1_CACHE_BYTES 32
107 define_bool CONFIG_X86_ALIGNMENT_16 y
108 define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
110 if [ "$CONFIG_MWINCHIP2" = "y" ]; then
111 define_int CONFIG_X86_L1_CACHE_BYTES 32
112 define_bool CONFIG_X86_ALIGNMENT_16 y
113 define_bool CONFIG_X86_TSC y
114 define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
116 if [ "$CONFIG_MWINCHIP3D" = "y" ]; then
117 define_int CONFIG_X86_L1_CACHE_BYTES 32
118 define_bool CONFIG_X86_ALIGNMENT_16 y
119 define_bool CONFIG_X86_TSC y
120 define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
121 define_bool CONFIG_X86_USE_3DNOW y
124 tristate '/dev/cpu/microcode - Intel P6 CPU microcode support' CONFIG_MICROCODE
125 tristate '/dev/cpu/*/msr - Model-specific register support' CONFIG_X86_MSR
126 tristate '/dev/cpu/*/cpuid - CPU information support' CONFIG_X86_CPUID
128 choice 'High Memory Support' \
129 "off CONFIG_NOHIGHMEM \
130 4GB CONFIG_HIGHMEM4G \
131 64GB CONFIG_HIGHMEM64G" off
132 if [ "$CONFIG_HIGHMEM4G" = "y" ]; then
133 define_bool CONFIG_HIGHMEM y
135 if [ "$CONFIG_HIGHMEM64G" = "y" ]; then
136 define_bool CONFIG_HIGHMEM y
137 define_bool CONFIG_X86_PAE y
140 if [ "$CONFIG_X86_FXSR" != "y" ]; then
141 bool 'Math emulation' CONFIG_MATH_EMULATION
143 bool 'MTRR (Memory Type Range Register) support' CONFIG_MTRR
144 bool 'Symmetric multi-processing support' CONFIG_SMP
145 if [ "$CONFIG_SMP" != "y" ]; then
146 bool 'APIC and IO-APIC support on uniprocessors' CONFIG_X86_UP_IOAPIC
147 if [ "$CONFIG_X86_UP_IOAPIC" = "y" ]; then
148 define_bool CONFIG_X86_IO_APIC y
149 define_bool CONFIG_X86_LOCAL_APIC y
152 if [ "$CONFIG_SMP" = "y" -a "$CONFIG_X86_CMPXCHG" = "y" ]; then
153 define_bool CONFIG_HAVE_DEC_LOCK y
157 mainmenu_option next_comment
158 comment 'General setup'
160 bool 'Networking support' CONFIG_NET
161 bool 'SGI Visual Workstation support' CONFIG_VISWS
162 if [ "$CONFIG_VISWS" = "y" ]; then
163 define_bool CONFIG_X86_VISWS_APIC y
164 define_bool CONFIG_X86_LOCAL_APIC y
165 define_bool CONFIG_PCI y
167 if [ "$CONFIG_SMP" = "y" ]; then
168 define_bool CONFIG_X86_IO_APIC y
169 define_bool CONFIG_X86_LOCAL_APIC y
171 bool 'PCI support' CONFIG_PCI
172 if [ "$CONFIG_PCI" = "y" ]; then
173 choice ' PCI access mode' \
174 "BIOS CONFIG_PCI_GOBIOS \
175 Direct CONFIG_PCI_GODIRECT \
176 Any CONFIG_PCI_GOANY" Any
177 if [ "$CONFIG_PCI_GOBIOS" = "y" -o "$CONFIG_PCI_GOANY" = "y" ]; then
178 define_bool CONFIG_PCI_BIOS y
180 if [ "$CONFIG_PCI_GODIRECT" = "y" -o "$CONFIG_PCI_GOANY" = "y" ]; then
181 define_bool CONFIG_PCI_DIRECT y
186 source drivers/pci/Config.in
188 if [ "$CONFIG_VISWS" != "y" ]; then
189 bool 'MCA support' CONFIG_MCA
192 bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
194 if [ "$CONFIG_HOTPLUG" = "y" ] ; then
195 source drivers/pcmcia/Config.in
197 define_bool CONFIG_PCMCIA n
200 bool 'System V IPC' CONFIG_SYSVIPC
201 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
202 bool 'Sysctl support' CONFIG_SYSCTL
203 if [ "$CONFIG_PROC_FS" = "y" ]; then
204 choice 'Kernel core (/proc/kcore) format' \
205 "ELF CONFIG_KCORE_ELF \
206 A.OUT CONFIG_KCORE_AOUT" ELF
208 tristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUT
209 tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
210 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
212 bool 'Power Management support' CONFIG_PM
214 dep_bool ' ACPI support' CONFIG_ACPI $CONFIG_PM
215 if [ "$CONFIG_ACPI" != "n" ]; then
216 if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
217 bool ' ACPI interpreter (EXPERIMENTAL)' CONFIG_ACPI_INTERPRETER
218 bool ' Enter S1 for sleep (EXPERIMENTAL)' CONFIG_ACPI_S1_SLEEP
222 dep_tristate ' Advanced Power Management BIOS support' CONFIG_APM $CONFIG_PM
223 if [ "$CONFIG_APM" != "n" ]; then
224 bool ' Ignore USER SUSPEND' CONFIG_APM_IGNORE_USER_SUSPEND
225 bool ' Enable PM at boot time' CONFIG_APM_DO_ENABLE
226 bool ' Make CPU Idle calls when idle' CONFIG_APM_CPU_IDLE
227 bool ' Enable console blanking using APM' CONFIG_APM_DISPLAY_BLANK
228 bool ' RTC stores time in GMT' CONFIG_APM_RTC_IS_GMT
229 bool ' Allow interrupts during APM BIOS calls' CONFIG_APM_ALLOW_INTS
230 bool ' Use real mode APM BIOS call to power off' CONFIG_APM_REAL_MODE_POWER_OFF
235 source drivers/mtd/Config.in
237 source drivers/parport/Config.in
239 source drivers/pnp/Config.in
241 source drivers/block/Config.in
243 if [ "$CONFIG_NET" = "y" ]; then
247 source drivers/telephony/Config.in
249 mainmenu_option next_comment
250 comment 'ATA/IDE/MFM/RLL support'
252 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
254 if [ "$CONFIG_IDE" != "n" ]; then
255 source drivers/ide/Config.in
257 define_bool CONFIG_BLK_DEV_IDE_MODES n
258 define_bool CONFIG_BLK_DEV_HD n
262 mainmenu_option next_comment
263 comment 'SCSI support'
265 tristate 'SCSI support' CONFIG_SCSI
267 if [ "$CONFIG_SCSI" != "n" ]; then
268 source drivers/scsi/Config.in
272 source drivers/ieee1394/Config.in
274 source drivers/i2o/Config.in
276 if [ "$CONFIG_NET" = "y" ]; then
277 mainmenu_option next_comment
278 comment 'Network device support'
280 bool 'Network device support' CONFIG_NETDEVICES
281 if [ "$CONFIG_NETDEVICES" = "y" ]; then
282 source drivers/net/Config.in
283 if [ "$CONFIG_ATM" = "y" ]; then
284 source drivers/atm/Config.in
290 source net/ax25/Config.in
292 source net/irda/Config.in
294 mainmenu_option next_comment
295 comment 'ISDN subsystem'
296 if [ "$CONFIG_NET" != "n" ]; then
297 tristate 'ISDN support' CONFIG_ISDN
298 if [ "$CONFIG_ISDN" != "n" ]; then
299 source drivers/isdn/Config.in
304 mainmenu_option next_comment
305 comment 'Old CD-ROM drivers (not SCSI, not IDE)'
307 bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
308 if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
309 source drivers/cdrom/Config.in
313 source drivers/char/Config.in
316 #source drivers/misc/Config.in
320 if [ "$CONFIG_VT" = "y" ]; then
321 mainmenu_option next_comment
322 comment 'Console drivers'
323 bool 'VGA text console' CONFIG_VGA_CONSOLE
324 bool 'Video mode selection support' CONFIG_VIDEO_SELECT
325 if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
326 tristate 'MDA text console (dual-headed) (EXPERIMENTAL)' CONFIG_MDA_CONSOLE
327 source drivers/video/Config.in
332 mainmenu_option next_comment
335 tristate 'Sound card support' CONFIG_SOUND
336 if [ "$CONFIG_SOUND" != "n" ]; then
337 source drivers/sound/Config.in
341 source drivers/usb/Config.in
343 mainmenu_option next_comment
344 comment 'Kernel hacking'
346 #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
347 bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ