Linux 2.4.0-test10pre4
[davej-history.git] / arch / i386 / config.in
blob327aa736db134d66294aed94bced7d623cfcb397
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
16 endmenu
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
25 endmenu
27 mainmenu_option next_comment
28 comment 'Processor type and features'
29 choice 'Processor family' \
30         "386                            CONFIG_M386 \
31          486                            CONFIG_M486 \
32          586/K5/5x86/6x86/6x86MX        CONFIG_M586 \
33          Pentium-Classic                CONFIG_M586TSC \
34          Pentium-MMX                    CONFIG_M586MMX \
35          Pentium-Pro/Celeron/Pentium-II CONFIG_M686 \
36          Pentium-III                    CONFIG_M686FXSR \
37          K6/K6-II/K6-III                CONFIG_MK6 \
38          Athlon/K7                      CONFIG_MK7 \
39          Crusoe                         CONFIG_MCRUSOE \
40          Winchip-C6                     CONFIG_MWINCHIPC6 \
41          Winchip-2                      CONFIG_MWINCHIP2 \
42          Winchip-2A/Winchip-3           CONFIG_MWINCHIP3D" Pentium-Pro
44 # Define implied options from the CPU selection here
46 if [ "$CONFIG_M386" = "y" ]; then
47    define_bool CONFIG_X86_CMPXCHG n
48    define_int  CONFIG_X86_L1_CACHE_SHIFT 4
49 else
50    define_bool CONFIG_X86_WP_WORKS_OK y
51    define_bool CONFIG_X86_INVLPG y
52    define_bool CONFIG_X86_CMPXCHG y
53    define_bool CONFIG_X86_BSWAP y
54    define_bool CONFIG_X86_POPAD_OK y
56 if [ "$CONFIG_M486" = "y" ]; then
57    define_int  CONFIG_X86_L1_CACHE_SHIFT 4
58    define_bool CONFIG_X86_USE_STRING_486 y
59    define_bool CONFIG_X86_ALIGNMENT_16 y
61 if [ "$CONFIG_M586" = "y" ]; then
62    define_int  CONFIG_X86_L1_CACHE_SHIFT 5
63    define_bool CONFIG_X86_USE_STRING_486 y
64    define_bool CONFIG_X86_ALIGNMENT_16 y
66 if [ "$CONFIG_M586TSC" = "y" ]; then
67    define_int  CONFIG_X86_L1_CACHE_SHIFT 5
68    define_bool CONFIG_X86_USE_STRING_486 y
69    define_bool CONFIG_X86_ALIGNMENT_16 y
70    define_bool CONFIG_X86_TSC y
72 if [ "$CONFIG_M586MMX" = "y" ]; then
73    define_int  CONFIG_X86_L1_CACHE_SHIFT 5
74    define_bool CONFIG_X86_USE_STRING_486 y
75    define_bool CONFIG_X86_ALIGNMENT_16 y
76    define_bool CONFIG_X86_TSC y
77    define_bool CONFIG_X86_GOOD_APIC y
79 if [ "$CONFIG_M686" = "y" ]; then
80    define_int  CONFIG_X86_L1_CACHE_SHIFT 5
81    define_bool CONFIG_X86_TSC y
82    define_bool CONFIG_X86_GOOD_APIC y
83    define_bool CONFIG_X86_PGE y
84    define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
86 if [ "$CONFIG_M686FXSR" = "y" ]; then
87    define_int  CONFIG_X86_L1_CACHE_SHIFT 5
88    define_bool CONFIG_X86_TSC y
89    define_bool CONFIG_X86_GOOD_APIC y
90    define_bool CONFIG_X86_PGE y
91    define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
92    define_bool CONFIG_X86_FXSR y
93    define_bool CONFIG_X86_XMM y
95 if [ "$CONFIG_MK6" = "y" ]; then
96    define_int  CONFIG_X86_L1_CACHE_SHIFT 5
97    define_bool CONFIG_X86_ALIGNMENT_16 y
98    define_bool CONFIG_X86_TSC y
99    define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
101 if [ "$CONFIG_MK7" = "y" ]; then
102    define_int  CONFIG_X86_L1_CACHE_SHIFT 6
103    define_bool CONFIG_X86_TSC y
104    define_bool CONFIG_X86_GOOD_APIC y
105    define_bool CONFIG_X86_USE_3DNOW y
106    define_bool CONFIG_X86_PGE y
107    define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
109 if [ "$CONFIG_MCRUSOE" = "y" ]; then
110    define_int  CONFIG_X86_L1_CACHE_SHIFT 5
111    define_bool CONFIG_X86_TSC y
113 if [ "$CONFIG_MWINCHIPC6" = "y" ]; then
114    define_int  CONFIG_X86_L1_CACHE_SHIFT 5
115    define_bool CONFIG_X86_ALIGNMENT_16 y
116    define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
118 if [ "$CONFIG_MWINCHIP2" = "y" ]; then
119    define_int  CONFIG_X86_L1_CACHE_SHIFT 5
120    define_bool CONFIG_X86_ALIGNMENT_16 y
121    define_bool CONFIG_X86_TSC y
122    define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
124 if [ "$CONFIG_MWINCHIP3D" = "y" ]; then
125    define_int  CONFIG_X86_L1_CACHE_SHIFT 5
126    define_bool CONFIG_X86_ALIGNMENT_16 y
127    define_bool CONFIG_X86_TSC y
128    define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
129    define_bool CONFIG_X86_USE_3DNOW y
131 tristate 'Toshiba Laptop support' CONFIG_TOSHIBA
133 tristate '/dev/cpu/microcode - Intel P6 CPU microcode support' CONFIG_MICROCODE
134 tristate '/dev/cpu/*/msr - Model-specific register support' CONFIG_X86_MSR
135 tristate '/dev/cpu/*/cpuid - CPU information support' CONFIG_X86_CPUID
137 choice 'High Memory Support' \
138         "off    CONFIG_NOHIGHMEM \
139          4GB    CONFIG_HIGHMEM4G \
140          64GB   CONFIG_HIGHMEM64G" off
141 if [ "$CONFIG_HIGHMEM4G" = "y" ]; then
142    define_bool CONFIG_HIGHMEM y
144 if [ "$CONFIG_HIGHMEM64G" = "y" ]; then
145    define_bool CONFIG_HIGHMEM y
146    define_bool CONFIG_X86_PAE y
149 if [ "$CONFIG_X86_FXSR" != "y" ]; then
150    bool 'Math emulation' CONFIG_MATH_EMULATION
152 bool 'MTRR (Memory Type Range Register) support' CONFIG_MTRR
153 bool 'Symmetric multi-processing support' CONFIG_SMP
154 if [ "$CONFIG_SMP" != "y" ]; then
155     bool 'APIC and IO-APIC support on uniprocessors' CONFIG_X86_UP_IOAPIC
156     if [ "$CONFIG_X86_UP_IOAPIC" = "y" ]; then
157        define_bool CONFIG_X86_IO_APIC y
158        define_bool CONFIG_X86_LOCAL_APIC y
159     fi
161 if [ "$CONFIG_SMP" = "y" -a "$CONFIG_X86_CMPXCHG" = "y" ]; then
162     define_bool CONFIG_HAVE_DEC_LOCK y
164 endmenu
166 mainmenu_option next_comment
167 comment 'General setup'
169 bool 'Networking support' CONFIG_NET
170 bool 'SGI Visual Workstation support' CONFIG_VISWS
171 if [ "$CONFIG_VISWS" = "y" ]; then
172    define_bool CONFIG_X86_VISWS_APIC y
173    define_bool CONFIG_X86_LOCAL_APIC y
174    define_bool CONFIG_PCI y
175 else
176    if [ "$CONFIG_SMP" = "y" ]; then
177       define_bool CONFIG_X86_IO_APIC y
178       define_bool CONFIG_X86_LOCAL_APIC y
179    fi
180    bool 'PCI support' CONFIG_PCI
181    if [ "$CONFIG_PCI" = "y" ]; then
182       choice '  PCI access mode' \
183         "BIOS           CONFIG_PCI_GOBIOS       \
184          Direct         CONFIG_PCI_GODIRECT     \
185          Any            CONFIG_PCI_GOANY"       Any
186       if [ "$CONFIG_PCI_GOBIOS" = "y" -o "$CONFIG_PCI_GOANY" = "y" ]; then
187          define_bool CONFIG_PCI_BIOS y
188       fi
189       if [ "$CONFIG_PCI_GODIRECT" = "y" -o "$CONFIG_PCI_GOANY" = "y" ]; then
190          define_bool CONFIG_PCI_DIRECT y
191       fi
192    fi
195 source drivers/pci/Config.in
197 if [ "$CONFIG_VISWS" != "y" ]; then
198    bool 'MCA support' CONFIG_MCA
201 bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
203 if [ "$CONFIG_HOTPLUG" = "y" ] ; then
204    source drivers/pcmcia/Config.in
205 else
206    define_bool CONFIG_PCMCIA n
209 bool 'System V IPC' CONFIG_SYSVIPC
210 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
211 bool 'Sysctl support' CONFIG_SYSCTL
212 if [ "$CONFIG_PROC_FS" = "y" ]; then
213    choice 'Kernel core (/proc/kcore) format' \
214         "ELF            CONFIG_KCORE_ELF        \
215          A.OUT          CONFIG_KCORE_AOUT" ELF
217 tristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUT
218 tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
219 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
221 bool 'Power Management support' CONFIG_PM
223 dep_bool '  ACPI support' CONFIG_ACPI $CONFIG_PM
224 if [ "$CONFIG_ACPI" != "n" ]; then
225    if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
226       bool '    ACPI interpreter (EXPERIMENTAL)' CONFIG_ACPI_INTERPRETER
227       bool '    Enter S1 for sleep (EXPERIMENTAL)' CONFIG_ACPI_S1_SLEEP
228    fi
231 dep_tristate '  Advanced Power Management BIOS support' CONFIG_APM $CONFIG_PM
232 if [ "$CONFIG_APM" != "n" ]; then
233    bool '    Ignore USER SUSPEND' CONFIG_APM_IGNORE_USER_SUSPEND
234    bool '    Enable PM at boot time' CONFIG_APM_DO_ENABLE
235    bool '    Make CPU Idle calls when idle' CONFIG_APM_CPU_IDLE
236    bool '    Enable console blanking using APM' CONFIG_APM_DISPLAY_BLANK
237    bool '    RTC stores time in GMT' CONFIG_APM_RTC_IS_GMT
238    bool '    Allow interrupts during APM BIOS calls' CONFIG_APM_ALLOW_INTS
239    bool '    Use real mode APM BIOS call to power off' CONFIG_APM_REAL_MODE_POWER_OFF
242 endmenu
244 source drivers/mtd/Config.in
246 source drivers/parport/Config.in
248 source drivers/pnp/Config.in
250 source drivers/block/Config.in
252 source drivers/md/Config.in
254 if [ "$CONFIG_NET" = "y" ]; then
255    source net/Config.in
258 source drivers/telephony/Config.in
260 mainmenu_option next_comment
261 comment 'ATA/IDE/MFM/RLL support'
263 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
265 if [ "$CONFIG_IDE" != "n" ]; then
266   source drivers/ide/Config.in
267 else
268   define_bool CONFIG_BLK_DEV_IDE_MODES n
269   define_bool CONFIG_BLK_DEV_HD n
271 endmenu
273 mainmenu_option next_comment
274 comment 'SCSI support'
276 tristate 'SCSI support' CONFIG_SCSI
278 if [ "$CONFIG_SCSI" != "n" ]; then
279    source drivers/scsi/Config.in
281 endmenu
283 source drivers/ieee1394/Config.in
285 source drivers/i2o/Config.in
287 if [ "$CONFIG_NET" = "y" ]; then
288    mainmenu_option next_comment
289    comment 'Network device support'
291    bool 'Network device support' CONFIG_NETDEVICES
292    if [ "$CONFIG_NETDEVICES" = "y" ]; then
293       source drivers/net/Config.in
294       if [ "$CONFIG_ATM" = "y" ]; then
295          source drivers/atm/Config.in
296       fi
297    fi
298    endmenu
301 source net/ax25/Config.in
303 source net/irda/Config.in
305 mainmenu_option next_comment
306 comment 'ISDN subsystem'
307 if [ "$CONFIG_NET" != "n" ]; then
308    tristate 'ISDN support' CONFIG_ISDN
309    if [ "$CONFIG_ISDN" != "n" ]; then
310       source drivers/isdn/Config.in
311    fi
313 endmenu
315 mainmenu_option next_comment
316 comment 'Old CD-ROM drivers (not SCSI, not IDE)'
318 bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
319 if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
320    source drivers/cdrom/Config.in
322 endmenu
325 # input before char - char/joystick depends on it. As does USB.
327 source drivers/input/Config.in
328 source drivers/char/Config.in
330 #source drivers/misc/Config.in
332 source drivers/media/Config.in
334 source fs/Config.in
336 if [ "$CONFIG_VT" = "y" ]; then
337    mainmenu_option next_comment
338    comment 'Console drivers'
339    bool 'VGA text console' CONFIG_VGA_CONSOLE
340    bool 'Video mode selection support' CONFIG_VIDEO_SELECT
341    if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
342       tristate 'MDA text console (dual-headed) (EXPERIMENTAL)' CONFIG_MDA_CONSOLE
343       source drivers/video/Config.in
344    fi
345    endmenu
348 mainmenu_option next_comment
349 comment 'Sound'
351 tristate 'Sound card support' CONFIG_SOUND
352 if [ "$CONFIG_SOUND" != "n" ]; then
353    source drivers/sound/Config.in
355 endmenu
357 source drivers/usb/Config.in
359 mainmenu_option next_comment
360 comment 'Kernel hacking'
362 #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
363 bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ
364 endmenu