import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / x86_64 / config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-language.txt.
4 #
5 mainmenu_name "Linux Kernel Configuration"
6
7 define_bool CONFIG_X86_64 y
8
9 define_bool CONFIG_X86 y
10 define_bool CONFIG_ISA n
11 define_bool CONFIG_SBUS n
12
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
18
19 mainmenu_option next_comment
20 comment 'Code maturity level options'
21 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
22 endmenu
23
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
30 fi
31 endmenu
32
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
39         
40 #
41 # Define implied options from the CPU selection here
42 #
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
46 else
47 define_int CONFIG_X86_L1_CACHE_BYTES 64
48 define_int CONFIG_X86_L1_CACHE_SHIFT 6
49 fi
50 define_bool CONFIG_X86_TSC y
51 define_bool CONFIG_X86_GOOD_APIC y
52
53 tristate '/dev/cpu/*/msr - Model-specific register support' CONFIG_X86_MSR
54 tristate '/dev/cpu/*/cpuid - CPU information support' CONFIG_X86_CPUID
55
56 define_bool CONFIG_MATH_EMULATION n
57 define_bool CONFIG_MCA n
58 define_bool CONFIG_EISA n
59
60 define_bool CONFIG_X86_IO_APIC y
61 define_bool CONFIG_X86_LOCAL_APIC y
62
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
69 fi
70
71 if [ "$CONFIG_GART_IOMMU" != "y" ]; then
72    define_bool CONFIG_DUMMY_IOMMU y
73 fi
74 if [ "$CONFIG_SMP" != "y" ]; then
75    define_bool CONFIG_X86_UP_IOAPIC y
76 else
77    define_bool CONFIG_HAVE_DEC_LOCK y
78    int  'Maximum number of CPUs (2-8)' CONFIG_NR_CPUS 4
79 fi
80
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
87    fi
88 fi
89
90 endmenu
91
92 mainmenu_option next_comment
93 comment 'General setup'
94
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 
99 fi
100
101 source drivers/pci/Config.in
102
103 bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
104
105 if [ "$CONFIG_HOTPLUG" = "y" ] ; then
106    source drivers/pcmcia/Config.in
107    source drivers/hotplug/Config.in
108 else
109    define_bool CONFIG_PCMCIA n
110    define_bool CONFIG_HOTPLUG_PCI n
111 fi
112
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
118 fi
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
122
123 bool 'Power Management support' CONFIG_PM
124
125 bool 'IA32 Emulation' CONFIG_IA32_EMULATION
126
127 source drivers/acpi/Config.in
128
129 endmenu
130
131 source drivers/mtd/Config.in
132
133 source drivers/parport/Config.in
134
135 source drivers/block/Config.in
136
137 source drivers/md/Config.in
138
139 if [ "$CONFIG_NET" = "y" ]; then
140    source net/Config.in
141 fi
142
143 source drivers/telephony/Config.in
144
145 mainmenu_option next_comment
146 comment 'ATA/IDE/MFM/RLL support'
147
148 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
149
150 if [ "$CONFIG_IDE" != "n" ]; then
151   source drivers/ide/Config.in
152 else
153   define_bool CONFIG_BLK_DEV_IDE_MODES n
154   define_bool CONFIG_BLK_DEV_HD n
155 fi
156 endmenu
157
158 mainmenu_option next_comment
159 comment 'SCSI support'
160
161 tristate 'SCSI support' CONFIG_SCSI
162
163 if [ "$CONFIG_SCSI" != "n" ]; then
164    source drivers/scsi/Config.in
165 fi
166 endmenu
167
168 source drivers/message/fusion/Config.in
169
170 source drivers/ieee1394/Config.in
171
172 #Currently not 64bit safe
173 #source drivers/message/i2o/Config.in
174
175 if [ "$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
188 fi
189
190 source net/ax25/Config.in
191
192 source net/irda/Config.in
193
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
200    fi
201 fi
202 endmenu
203
204 #
205 # input before char - char/joystick depends on it. As does USB.
206 #
207 source drivers/input/Config.in
208 source drivers/char/Config.in
209
210
211 #source drivers/misc/Config.in
212
213 source drivers/media/Config.in
214
215 source fs/Config.in
216
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
225    fi
226    endmenu
227 fi
228
229 mainmenu_option next_comment
230 comment 'Sound'
231
232 tristate 'Sound card support' CONFIG_SOUND
233 if [ "$CONFIG_SOUND" != "n" ]; then
234    source drivers/sound/Config.in
235 fi
236 endmenu
237
238 source drivers/usb/Config.in
239
240 source net/bluetooth/Config.in
241
242 source crypto/Config.in
243
244 mainmenu_option next_comment
245 comment 'Kernel hacking'
246
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
258 fi
259
260 int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0
261
262 endmenu
263
264 source lib/Config.in