setup enviroment for compilation
[linux-2.4.21-pre4.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 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
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          Generic-x86-64                 CONFIG_GENERIC_CPU" AMD-Hammer
38         
39 #
40 # Define implied options from the CPU selection here
41 #
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
46
47 tristate '/dev/cpu/*/msr - Model-specific register support' CONFIG_X86_MSR
48 tristate '/dev/cpu/*/cpuid - CPU information support' CONFIG_X86_CPUID
49
50 define_bool CONFIG_MATH_EMULATION n
51 define_bool CONFIG_MCA n
52 define_bool CONFIG_EISA n
53
54 define_bool CONFIG_X86_IO_APIC y
55 define_bool CONFIG_X86_LOCAL_APIC y
56
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
61
62 if [ "$CONFIG_GART_IOMMU" != "y" ]; then
63    define_bool CONFIG_DUMMY_IOMMU y
64 fi
65 if [ "$CONFIG_SMP" != "y" ]; then
66    define_bool CONFIG_X86_UP_IOAPIC y
67 else
68    define_bool CONFIG_HAVE_DEC_LOCK y
69 fi
70
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
76 fi
77
78 endmenu
79
80 mainmenu_option next_comment
81 comment 'General setup'
82
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 
87 fi
88
89 source drivers/pci/Config.in
90
91 bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
92
93 if [ "$CONFIG_HOTPLUG" = "y" ] ; then
94    source drivers/pcmcia/Config.in
95    source drivers/hotplug/Config.in
96 else
97    define_bool CONFIG_PCMCIA n
98 fi
99
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
105 fi
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
109
110 bool 'Power Management support' CONFIG_PM
111
112 bool 'IA32 Emulation' CONFIG_IA32_EMULATION
113
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
118    fi
119 fi
120
121 endmenu
122
123 source drivers/mtd/Config.in
124
125 source drivers/parport/Config.in
126
127 source drivers/block/Config.in
128
129 source drivers/md/Config.in
130
131 if [ "$CONFIG_NET" = "y" ]; then
132    source net/Config.in
133 fi
134
135 source drivers/telephony/Config.in
136
137 mainmenu_option next_comment
138 comment 'ATA/IDE/MFM/RLL support'
139
140 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
141
142 if [ "$CONFIG_IDE" != "n" ]; then
143   source drivers/ide/Config.in
144 else
145   define_bool CONFIG_BLK_DEV_IDE_MODES n
146   define_bool CONFIG_BLK_DEV_HD n
147 fi
148 endmenu
149
150 mainmenu_option next_comment
151 comment 'SCSI support'
152
153 tristate 'SCSI support' CONFIG_SCSI
154
155 if [ "$CONFIG_SCSI" != "n" ]; then
156    source drivers/scsi/Config.in
157 fi
158 endmenu
159
160 source drivers/message/fusion/Config.in
161
162 source drivers/ieee1394/Config.in
163
164 #Currently not 64bit safe
165 #source drivers/message/i2o/Config.in
166
167 if [ "$CONFIG_NET" = "y" ]; then
168    mainmenu_option next_comment
169    comment 'Network device support'
170
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
177 #      fi
178    fi
179    endmenu
180 fi
181
182 source net/ax25/Config.in
183
184 source net/irda/Config.in
185
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
192    fi
193 fi
194 endmenu
195
196 #
197 # input before char - char/joystick depends on it. As does USB.
198 #
199 source drivers/input/Config.in
200 source drivers/char/Config.in
201
202 source net/bluetooth/Config.in
203
204 source drivers/misc/Config.in
205
206 source drivers/media/Config.in
207
208 source fs/Config.in
209
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
218    fi
219    endmenu
220 fi
221
222 mainmenu_option next_comment
223 comment 'Sound'
224
225 tristate 'Sound card support' CONFIG_SOUND
226 if [ "$CONFIG_SOUND" != "n" ]; then
227    source drivers/sound/Config.in
228 fi
229 endmenu
230
231 source drivers/usb/Config.in
232
233 mainmenu_option next_comment
234 comment 'Kernel hacking'
235
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
246 fi
247 endmenu