1# 2# For a description of the syntax of this configuration file, 3# see Documentation/kbuild/config-language.txt. 4# 5mainmenu_name "Linux Kernel Configuration" 6 7define_bool CONFIG_X86_64 y 8 9define_bool CONFIG_X86 y 10define_bool CONFIG_ISA n 11define_bool CONFIG_SBUS n 12 13define_bool CONFIG_UID16 n 14define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y 15define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n 16define_bool CONFIG_X86_CMPXCHG y 17define_bool CONFIG_EARLY_PRINTK y 18 19mainmenu_option next_comment 20comment 'Code maturity level options' 21bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL 22endmenu 23 24mainmenu_option next_comment 25comment 'Loadable module support' 26bool 'Enable loadable module support' CONFIG_MODULES 27if [ "$CONFIG_MODULES" = "y" ]; then 28 bool ' Set version information on all module symbols' CONFIG_MODVERSIONS 29 bool ' Kernel module loader' CONFIG_KMOD 30fi 31endmenu 32 33mainmenu_option next_comment 34comment 'Processor type and features' 35choice 'Processor family' \ 36 "AMD-Hammer CONFIG_MK8 \ 37 Intel-x86-64 CONFIG_MPSC \ 38 Generic-x86-64 CONFIG_GENERIC_CPU" AMD-Hammer 39 40# 41# Define implied options from the CPU selection here 42# 43if [ "$CONFIG_GENERIC_CPU" = "y" -o "$CONFIG_MPSC" = "y" ]; then 44define_int CONFIG_X86_L1_CACHE_BYTES 128 45define_int CONFIG_X86_L1_CACHE_SHIFT 7 46else 47define_int CONFIG_X86_L1_CACHE_BYTES 64 48define_int CONFIG_X86_L1_CACHE_SHIFT 6 49fi 50define_bool CONFIG_X86_TSC y 51define_bool CONFIG_X86_GOOD_APIC y 52 53tristate '/dev/cpu/*/msr - Model-specific register support' CONFIG_X86_MSR 54tristate '/dev/cpu/*/cpuid - CPU information support' CONFIG_X86_CPUID 55 56define_bool CONFIG_MATH_EMULATION n 57define_bool CONFIG_MCA n 58define_bool CONFIG_EISA n 59 60define_bool CONFIG_X86_IO_APIC y 61define_bool CONFIG_X86_LOCAL_APIC y 62 63bool 'MTRR (Memory Type Range Register) support' CONFIG_MTRR 64bool 'Symmetric multi-processing support' CONFIG_SMP 65bool 'HPET timers' CONFIG_HPET_TIMER 66bool 'IOMMU support' CONFIG_GART_IOMMU 67if [ "$CONFIG_GART_IOMMU" = "y" ]; then 68 bool 'SWIOTLB support' CONFIG_SWIOTLB 69fi 70 71if [ "$CONFIG_GART_IOMMU" != "y" ]; then 72 define_bool CONFIG_DUMMY_IOMMU y 73fi 74if [ "$CONFIG_SMP" != "y" ]; then 75 define_bool CONFIG_X86_UP_IOAPIC y 76else 77 define_bool CONFIG_HAVE_DEC_LOCK y 78 int 'Maximum number of CPUs (2-8)' CONFIG_NR_CPUS 4 79fi 80 81bool 'Machine check support' CONFIG_MCE 82if [ "$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 87 fi 88fi 89 90endmenu 91 92mainmenu_option next_comment 93comment 'General setup' 94 95bool 'Networking support' CONFIG_NET 96bool 'PCI support' CONFIG_PCI 97if [ "$CONFIG_PCI" = "y" ]; then 98 define_bool CONFIG_PCI_DIRECT y 99fi 100 101source drivers/pci/Config.in 102 103bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG 104 105if [ "$CONFIG_HOTPLUG" = "y" ] ; then 106 source drivers/pcmcia/Config.in 107 source drivers/hotplug/Config.in 108else 109 define_bool CONFIG_PCMCIA n 110 define_bool CONFIG_HOTPLUG_PCI n 111fi 112 113bool 'System V IPC' CONFIG_SYSVIPC 114bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT 115bool 'Sysctl support' CONFIG_SYSCTL 116if [ "$CONFIG_PROC_FS" = "y" ]; then 117 define_bool CONFIG_KCORE_ELF y 118fi 119#tristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUT 120bool 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF 121tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC 122 123bool 'Power Management support' CONFIG_PM 124 125bool 'IA32 Emulation' CONFIG_IA32_EMULATION 126 127source drivers/acpi/Config.in 128 129endmenu 130 131source drivers/mtd/Config.in 132 133source drivers/parport/Config.in 134 135source drivers/block/Config.in 136 137source drivers/md/Config.in 138 139if [ "$CONFIG_NET" = "y" ]; then 140 source net/Config.in 141fi 142 143source drivers/telephony/Config.in 144 145mainmenu_option next_comment 146comment 'ATA/IDE/MFM/RLL support' 147 148tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE 149 150if [ "$CONFIG_IDE" != "n" ]; then 151 source drivers/ide/Config.in 152else 153 define_bool CONFIG_BLK_DEV_IDE_MODES n 154 define_bool CONFIG_BLK_DEV_HD n 155fi 156endmenu 157 158mainmenu_option next_comment 159comment 'SCSI support' 160 161tristate 'SCSI support' CONFIG_SCSI 162 163if [ "$CONFIG_SCSI" != "n" ]; then 164 source drivers/scsi/Config.in 165fi 166endmenu 167 168source drivers/message/fusion/Config.in 169 170source drivers/ieee1394/Config.in 171 172#Currently not 64bit safe 173#source drivers/message/i2o/Config.in 174 175if [ "$CONFIG_NET" = "y" ]; then 176 mainmenu_option next_comment 177 comment 'Network device support' 178 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 185# fi 186 fi 187 endmenu 188fi 189 190source net/ax25/Config.in 191 192source net/irda/Config.in 193 194mainmenu_option next_comment 195comment 'ISDN subsystem' 196if [ "$CONFIG_NET" != "n" ]; then 197 tristate 'ISDN support' CONFIG_ISDN 198 if [ "$CONFIG_ISDN" != "n" ]; then 199 source drivers/isdn/Config.in 200 fi 201fi 202endmenu 203 204# 205# input before char - char/joystick depends on it. As does USB. 206# 207source drivers/input/Config.in 208source drivers/char/Config.in 209 210 211#source drivers/misc/Config.in 212 213source drivers/media/Config.in 214 215source fs/Config.in 216 217if [ "$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 225 fi 226 endmenu 227fi 228 229mainmenu_option next_comment 230comment 'Sound' 231 232tristate 'Sound card support' CONFIG_SOUND 233if [ "$CONFIG_SOUND" != "n" ]; then 234 source drivers/sound/Config.in 235fi 236endmenu 237 238source drivers/usb/Config.in 239 240source net/bluetooth/Config.in 241 242source crypto/Config.in 243 244mainmenu_option next_comment 245comment 'Kernel hacking' 246 247bool 'Kernel debugging' CONFIG_DEBUG_KERNEL 248if [ "$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 258fi 259 260int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0 261 262endmenu 263 264source lib/Config.in 265