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_64 y
9 define_bool CONFIG_X86 y
10 define_bool CONFIG_ISA n
11 define_bool CONFIG_SBUS n
13 define_bool CONFIG_UID16 y
14 define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y
15 define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
16 define_bool CONFIG_X86_CMPXCHG y
17 define_bool CONFIG_EARLY_PRINTK y
19 mainmenu_option next_comment
20 comment 'Code maturity level options'
21 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
24 mainmenu_option next_comment
25 comment 'Loadable module support'
26 bool 'Enable loadable module support' CONFIG_MODULES
27 if [ "$CONFIG_MODULES" = "y" ]; then
28 bool ' Set version information on all module symbols' CONFIG_MODVERSIONS
29 bool ' Kernel module loader' CONFIG_KMOD
33 mainmenu_option next_comment
34 comment 'Processor type and features'
35 choice 'Processor family' \
36 "AMD-Hammer CONFIG_MK8 \
37 Generic-x86-64 CONFIG_GENERIC_CPU" AMD-Hammer
40 # Define implied options from the CPU selection here
42 define_int CONFIG_X86_L1_CACHE_BYTES 64
43 define_int CONFIG_X86_L1_CACHE_SHIFT 6
44 define_bool CONFIG_X86_TSC y
45 define_bool CONFIG_X86_GOOD_APIC y
47 tristate '/dev/cpu/*/msr - Model-specific register support' CONFIG_X86_MSR
48 tristate '/dev/cpu/*/cpuid - CPU information support' CONFIG_X86_CPUID
50 define_bool CONFIG_MATH_EMULATION n
51 define_bool CONFIG_MCA n
52 define_bool CONFIG_EISA n
54 define_bool CONFIG_X86_IO_APIC y
55 define_bool CONFIG_X86_LOCAL_APIC y
57 bool 'MTRR (Memory Type Range Register) support' CONFIG_MTRR
58 bool 'Symmetric multi-processing support' CONFIG_SMP
59 bool 'HPET timers' CONFIG_HPET_TIMER
60 bool 'IOMMU support' CONFIG_GART_IOMMU
62 if [ "$CONFIG_GART_IOMMU" != "y" ]; then
63 define_bool CONFIG_DUMMY_IOMMU y
65 if [ "$CONFIG_SMP" != "y" ]; then
66 define_bool CONFIG_X86_UP_IOAPIC y
68 define_bool CONFIG_HAVE_DEC_LOCK y
71 bool 'Machine check support' CONFIG_MCE
72 bool 'K8 NUMA support' CONFIG_K8_NUMA
73 if [ "$CONFIG_K8_NUMA" = "y" ]; then
74 define_bool CONFIG_DISCONTIGMEM y
75 define_bool CONFIG_NUMA y
80 mainmenu_option next_comment
81 comment 'General setup'
83 bool 'Networking support' CONFIG_NET
84 bool 'PCI support' CONFIG_PCI
85 if [ "$CONFIG_PCI" = "y" ]; then
86 define_bool CONFIG_PCI_DIRECT y
89 source drivers/pci/Config.in
91 bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
93 if [ "$CONFIG_HOTPLUG" = "y" ] ; then
94 source drivers/pcmcia/Config.in
95 source drivers/hotplug/Config.in
97 define_bool CONFIG_PCMCIA n
100 bool 'System V IPC' CONFIG_SYSVIPC
101 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
102 bool 'Sysctl support' CONFIG_SYSCTL
103 if [ "$CONFIG_PROC_FS" = "y" ]; then
104 define_bool CONFIG_KCORE_ELF y
106 #tristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUT
107 tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
108 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
110 bool 'Power Management support' CONFIG_PM
112 bool 'IA32 Emulation' CONFIG_IA32_EMULATION
114 if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
115 dep_bool ' ACPI support' CONFIG_ACPI $CONFIG_PM
116 if [ "$CONFIG_ACPI" != "n" ]; then
117 source drivers/acpi/Config.in
123 source drivers/mtd/Config.in
125 source drivers/parport/Config.in
127 source drivers/block/Config.in
129 source drivers/md/Config.in
131 if [ "$CONFIG_NET" = "y" ]; then
135 source drivers/telephony/Config.in
137 mainmenu_option next_comment
138 comment 'ATA/IDE/MFM/RLL support'
140 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
142 if [ "$CONFIG_IDE" != "n" ]; then
143 source drivers/ide/Config.in
145 define_bool CONFIG_BLK_DEV_IDE_MODES n
146 define_bool CONFIG_BLK_DEV_HD n
150 mainmenu_option next_comment
151 comment 'SCSI support'
153 tristate 'SCSI support' CONFIG_SCSI
155 if [ "$CONFIG_SCSI" != "n" ]; then
156 source drivers/scsi/Config.in
160 source drivers/message/fusion/Config.in
162 source drivers/ieee1394/Config.in
164 #Currently not 64bit safe
165 #source drivers/message/i2o/Config.in
167 if [ "$CONFIG_NET" = "y" ]; then
168 mainmenu_option next_comment
169 comment 'Network device support'
171 bool 'Network device support' CONFIG_NETDEVICES
172 if [ "$CONFIG_NETDEVICES" = "y" ]; then
173 source drivers/net/Config.in
174 # seems to be largely not 64bit safe
175 # if [ "$CONFIG_ATM" = "y" ]; then
176 # source drivers/atm/Config.in
182 source net/ax25/Config.in
184 source net/irda/Config.in
186 mainmenu_option next_comment
187 comment 'ISDN subsystem'
188 if [ "$CONFIG_NET" != "n" ]; then
189 tristate 'ISDN support' CONFIG_ISDN
190 if [ "$CONFIG_ISDN" != "n" ]; then
191 source drivers/isdn/Config.in
197 # input before char - char/joystick depends on it. As does USB.
199 source drivers/input/Config.in
200 source drivers/char/Config.in
202 source net/bluetooth/Config.in
204 source drivers/misc/Config.in
206 source drivers/media/Config.in
210 if [ "$CONFIG_VT" = "y" ]; then
211 mainmenu_option next_comment
212 comment 'Console drivers'
213 bool 'VGA text console' CONFIG_VGA_CONSOLE
214 bool 'Video mode selection support' CONFIG_VIDEO_SELECT
215 if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
216 tristate 'MDA text console (dual-headed) (EXPERIMENTAL)' CONFIG_MDA_CONSOLE
217 source drivers/video/Config.in
222 mainmenu_option next_comment
225 tristate 'Sound card support' CONFIG_SOUND
226 if [ "$CONFIG_SOUND" != "n" ]; then
227 source drivers/sound/Config.in
231 source drivers/usb/Config.in
233 mainmenu_option next_comment
234 comment 'Kernel hacking'
236 bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
237 if [ "$CONFIG_DEBUG_KERNEL" != "n" ]; then
238 bool ' Debug memory allocations' CONFIG_DEBUG_SLAB
239 # bool ' Memory mapped I/O debugging' CONFIG_DEBUG_IOVIRT
240 bool ' Magic SysRq key' CONFIG_MAGIC_SYSRQ
241 bool ' Spinlock debugging' CONFIG_DEBUG_SPINLOCK
242 bool ' Additional run-time checks' CONFIG_CHECKING
243 bool ' Debug __init statements' CONFIG_INIT_DEBUG
244 bool ' IOMMU debugging' CONFIG_IOMMU_DEBUG
245 bool ' Probalistic stack overflow check' CONFIG_DEBUG_STACKOVERFLOW