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 n
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 Intel-x86-64 CONFIG_MPSC \
38 Generic-x86-64 CONFIG_GENERIC_CPU" AMD-Hammer
41 # Define implied options from the CPU selection here
43 if [ "$CONFIG_GENERIC_CPU" = "y" -o "$CONFIG_MPSC" = "y" ]; then
44 define_int CONFIG_X86_L1_CACHE_BYTES 128
45 define_int CONFIG_X86_L1_CACHE_SHIFT 7
47 define_int CONFIG_X86_L1_CACHE_BYTES 64
48 define_int CONFIG_X86_L1_CACHE_SHIFT 6
50 define_bool CONFIG_X86_TSC y
51 define_bool CONFIG_X86_GOOD_APIC y
53 tristate '/dev/cpu/*/msr - Model-specific register support' CONFIG_X86_MSR
54 tristate '/dev/cpu/*/cpuid - CPU information support' CONFIG_X86_CPUID
56 define_bool CONFIG_MATH_EMULATION n
57 define_bool CONFIG_MCA n
58 define_bool CONFIG_EISA n
60 define_bool CONFIG_X86_IO_APIC y
61 define_bool CONFIG_X86_LOCAL_APIC y
63 bool 'MTRR (Memory Type Range Register) support' CONFIG_MTRR
64 bool 'Symmetric multi-processing support' CONFIG_SMP
65 bool 'HPET timers' CONFIG_HPET_TIMER
66 bool 'IOMMU support' CONFIG_GART_IOMMU
67 if [ "$CONFIG_GART_IOMMU" = "y" ]; then
68 bool 'SWIOTLB support' CONFIG_SWIOTLB
71 if [ "$CONFIG_GART_IOMMU" != "y" ]; then
72 define_bool CONFIG_DUMMY_IOMMU y
74 if [ "$CONFIG_SMP" != "y" ]; then
75 define_bool CONFIG_X86_UP_IOAPIC y
77 define_bool CONFIG_HAVE_DEC_LOCK y
78 int 'Maximum number of CPUs (2-8)' CONFIG_NR_CPUS 4
81 bool 'Machine check support' CONFIG_MCE
82 if [ "$CONFIG_SMP" = "y" ]; then
83 bool 'K8 NUMA support' CONFIG_K8_NUMA
84 if [ "$CONFIG_K8_NUMA" = "y" ]; then
85 define_bool CONFIG_DISCONTIGMEM y
86 define_bool CONFIG_NUMA y
92 mainmenu_option next_comment
93 comment 'General setup'
95 bool 'Networking support' CONFIG_NET
96 bool 'PCI support' CONFIG_PCI
97 if [ "$CONFIG_PCI" = "y" ]; then
98 define_bool CONFIG_PCI_DIRECT y
101 source drivers/pci/Config.in
103 bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
105 if [ "$CONFIG_HOTPLUG" = "y" ] ; then
106 source drivers/pcmcia/Config.in
107 source drivers/hotplug/Config.in
109 define_bool CONFIG_PCMCIA n
110 define_bool CONFIG_HOTPLUG_PCI n
113 bool 'System V IPC' CONFIG_SYSVIPC
114 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
115 bool 'Sysctl support' CONFIG_SYSCTL
116 if [ "$CONFIG_PROC_FS" = "y" ]; then
117 define_bool CONFIG_KCORE_ELF y
119 #tristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUT
120 bool 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
121 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
123 bool 'Power Management support' CONFIG_PM
125 bool 'IA32 Emulation' CONFIG_IA32_EMULATION
127 source drivers/acpi/Config.in
131 source drivers/mtd/Config.in
133 source drivers/parport/Config.in
135 source drivers/block/Config.in
137 source drivers/md/Config.in
139 if [ "$CONFIG_NET" = "y" ]; then
143 source drivers/telephony/Config.in
145 mainmenu_option next_comment
146 comment 'ATA/IDE/MFM/RLL support'
148 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
150 if [ "$CONFIG_IDE" != "n" ]; then
151 source drivers/ide/Config.in
153 define_bool CONFIG_BLK_DEV_IDE_MODES n
154 define_bool CONFIG_BLK_DEV_HD n
158 mainmenu_option next_comment
159 comment 'SCSI support'
161 tristate 'SCSI support' CONFIG_SCSI
163 if [ "$CONFIG_SCSI" != "n" ]; then
164 source drivers/scsi/Config.in
168 source drivers/message/fusion/Config.in
170 source drivers/ieee1394/Config.in
172 #Currently not 64bit safe
173 #source drivers/message/i2o/Config.in
175 if [ "$CONFIG_NET" = "y" ]; then
176 mainmenu_option next_comment
177 comment 'Network device support'
179 bool 'Network device support' CONFIG_NETDEVICES
180 if [ "$CONFIG_NETDEVICES" = "y" ]; then
181 source drivers/net/Config.in
182 # seems to be largely not 64bit safe
183 # if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
184 # source drivers/atm/Config.in
190 source net/ax25/Config.in
192 source net/irda/Config.in
194 mainmenu_option next_comment
195 comment 'ISDN subsystem'
196 if [ "$CONFIG_NET" != "n" ]; then
197 tristate 'ISDN support' CONFIG_ISDN
198 if [ "$CONFIG_ISDN" != "n" ]; then
199 source drivers/isdn/Config.in
205 # input before char - char/joystick depends on it. As does USB.
207 source drivers/input/Config.in
208 source drivers/char/Config.in
211 #source drivers/misc/Config.in
213 source drivers/media/Config.in
217 if [ "$CONFIG_VT" = "y" ]; then
218 mainmenu_option next_comment
219 comment 'Console drivers'
220 bool 'VGA text console' CONFIG_VGA_CONSOLE
221 bool 'Video mode selection support' CONFIG_VIDEO_SELECT
222 if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
223 tristate 'MDA text console (dual-headed) (EXPERIMENTAL)' CONFIG_MDA_CONSOLE
224 source drivers/video/Config.in
229 mainmenu_option next_comment
232 tristate 'Sound card support' CONFIG_SOUND
233 if [ "$CONFIG_SOUND" != "n" ]; then
234 source drivers/sound/Config.in
238 source drivers/usb/Config.in
240 source net/bluetooth/Config.in
242 source crypto/Config.in
244 mainmenu_option next_comment
245 comment 'Kernel hacking'
247 bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
248 if [ "$CONFIG_DEBUG_KERNEL" != "n" ]; then
249 bool ' Debug memory allocations' CONFIG_DEBUG_SLAB
250 # bool ' Memory mapped I/O debugging' CONFIG_DEBUG_IOVIRT
251 bool ' Magic SysRq key' CONFIG_MAGIC_SYSRQ
252 bool ' Spinlock debugging' CONFIG_DEBUG_SPINLOCK
253 bool ' Additional run-time checks' CONFIG_CHECKING
254 bool ' Debug __init statements' CONFIG_INIT_DEBUG
255 bool ' IOMMU debugging' CONFIG_IOMMU_DEBUG
256 bool ' IOMMU leak tracing' CONFIG_IOMMU_LEAK
257 bool ' Probalistic stack overflow check' CONFIG_DEBUG_STACKOVERFLOW
260 int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0