[PATCH] x86_64 merge: arch + asm
[opensuse:kernel.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 y
11 define_bool CONFIG_SBUS n
12
13 define_bool CONFIG_UID16 y
14 define_bool CONFIG_RWSEM_GENERIC_SPINLOCK n
15 define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM y
16
17
18 source init/Config.in
19
20 mainmenu_option next_comment
21 comment 'Processor type and features'
22 choice 'Processor family' \
23         "Clawhammer                     CONFIG_MK8" Clawhammer
24         
25 #
26 # Define implied options from the CPU selection here
27 #
28 define_int CONFIG_X86_L1_CACHE_BYTES 64
29 define_int CONFIG_X86_L1_CACHE_SHIFT 6
30 define_bool CONFIG_X86_TSC y
31 define_bool CONFIG_X86_GOOD_APIC y
32 define_bool CONFIG_X86_CMPXCHG
33
34 tristate '/dev/cpu/*/msr - Model-specific register support' CONFIG_X86_MSR
35 tristate '/dev/cpu/*/cpuid - CPU information support' CONFIG_X86_CPUID
36
37 define_bool CONFIG_MATH_EMULATION n
38 define_bool CONFIG_MCA n
39 define_bool CONFIG_EISA n
40
41 bool 'MTRR (Memory Type Range Register) support' CONFIG_MTRR
42 bool 'Symmetric multi-processing support' CONFIG_SMP
43 bool 'Preemptible Kernel' CONFIG_PREEMPT
44 # currently doesn't boot without hacks. probably simulator bug.
45 #if [ "$CONFIG_SMP" != "y" ]; then
46 #   bool 'APIC and IO-APIC support on uniprocessors' CONFIG_X86_UP_IOAPIC
47 #    if [ "$CONFIG_X86_UP_IOAPIC" = "y" ]; then
48 #       define_bool CONFIG_X86_IO_APIC y
49 #       define_bool CONFIG_X86_LOCAL_APIC y
50 #    fi
51 #fi
52 if [ "$CONFIG_SMP" = "y" -a "$CONFIG_X86_CMPXCHG" = "y" ]; then
53     define_bool CONFIG_HAVE_DEC_LOCK y
54 fi
55 endmenu
56
57 mainmenu_option next_comment
58 comment 'General options'
59
60 if [ "$CONFIG_SMP" = "y" ]; then
61    define_bool CONFIG_X86_IO_APIC y
62    define_bool CONFIG_X86_LOCAL_APIC y
63 fi
64 bool 'PCI support' CONFIG_PCI
65 if [ "$CONFIG_PCI" = "y" ]; then
66    define_bool CONFIG_PCI_DIRECT y 
67 fi
68
69 source drivers/pci/Config.in
70
71 bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
72
73 if [ "$CONFIG_HOTPLUG" = "y" ] ; then
74    source drivers/pcmcia/Config.in
75 else
76    define_bool CONFIG_PCMCIA n
77 fi
78
79 if [ "$CONFIG_PROC_FS" = "y" ]; then
80    define_bool CONFIG_KCORE_ELF y
81 fi
82 # We probably are not going to support a.out, are we? Or should we support a.out in i386 compatibility mode?
83 #tristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUT
84 tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
85 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
86
87 bool 'Power Management support' CONFIG_PM
88
89 bool 'IA32 Emulation' CONFIG_IA32_EMULATION
90
91 if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
92    dep_bool '  ACPI support' CONFIG_ACPI $CONFIG_PM
93    if [ "$CONFIG_ACPI" != "n" ]; then
94       source drivers/acpi/Config.in
95    fi
96 fi
97
98 endmenu
99
100 source drivers/mtd/Config.in
101
102 source drivers/parport/Config.in
103
104 source drivers/pnp/Config.in
105
106 source drivers/block/Config.in
107
108 source drivers/md/Config.in
109
110 if [ "$CONFIG_NET" = "y" ]; then
111    source net/Config.in
112 fi
113
114 source drivers/telephony/Config.in
115
116 mainmenu_option next_comment
117 comment 'ATA/IDE/MFM/RLL support'
118
119 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
120
121 if [ "$CONFIG_IDE" != "n" ]; then
122   source drivers/ide/Config.in
123 else
124   define_bool CONFIG_BLK_DEV_IDE_MODES n
125   define_bool CONFIG_BLK_DEV_HD n
126 fi
127 endmenu
128
129 mainmenu_option next_comment
130 comment 'SCSI support'
131
132 tristate 'SCSI support' CONFIG_SCSI
133
134 if [ "$CONFIG_SCSI" != "n" ]; then
135    source drivers/scsi/Config.in
136 fi
137 endmenu
138
139 source drivers/message/fusion/Config.in
140
141 source drivers/ieee1394/Config.in
142
143 #Currently not 64bit safe
144 #source drivers/message/i2o/Config.in
145
146 if [ "$CONFIG_NET" = "y" ]; then
147    mainmenu_option next_comment
148    comment 'Network device support'
149
150    bool 'Network device support' CONFIG_NETDEVICES
151    if [ "$CONFIG_NETDEVICES" = "y" ]; then
152       source drivers/net/Config.in
153       if [ "$CONFIG_ATM" = "y" ]; then
154          source drivers/atm/Config.in
155       fi
156    fi
157    endmenu
158 fi
159
160 source net/ax25/Config.in
161
162 source net/irda/Config.in
163
164 mainmenu_option next_comment
165 comment 'ISDN subsystem'
166 if [ "$CONFIG_NET" != "n" ]; then
167    tristate 'ISDN support' CONFIG_ISDN
168    if [ "$CONFIG_ISDN" != "n" ]; then
169       source drivers/isdn/Config.in
170    fi
171 fi
172 endmenu
173
174 mainmenu_option next_comment
175 comment 'Old CD-ROM drivers (not SCSI, not IDE)'
176
177 bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
178 if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
179    source drivers/cdrom/Config.in
180 fi
181 endmenu
182
183 #
184 # input before char - char/joystick depends on it. As does USB.
185 #
186 source drivers/input/Config.in
187 source drivers/char/Config.in
188
189 if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
190    source net/bluetooth/Config.in
191 fi
192
193 source drivers/misc/Config.in
194
195 source drivers/media/Config.in
196
197 source fs/Config.in
198
199 if [ "$CONFIG_VT" = "y" ]; then
200    mainmenu_option next_comment
201    comment 'Console drivers'
202    bool 'VGA text console' CONFIG_VGA_CONSOLE
203    bool 'Video mode selection support' CONFIG_VIDEO_SELECT
204    if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
205       tristate 'MDA text console (dual-headed) (EXPERIMENTAL)' CONFIG_MDA_CONSOLE
206       source drivers/video/Config.in
207    fi
208    endmenu
209 fi
210
211 mainmenu_option next_comment
212 comment 'Sound'
213
214 tristate 'Sound card support' CONFIG_SOUND
215 if [ "$CONFIG_SOUND" != "n" ]; then
216    source drivers/sound/Config.in
217 fi
218 endmenu
219
220 source drivers/usb/Config.in
221
222 mainmenu_option next_comment
223 comment 'Kernel hacking'
224
225 bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
226 if [ "$CONFIG_DEBUG_KERNEL" != "n" ]; then
227    bool '  Debug memory allocations' CONFIG_DEBUG_SLAB
228 #   bool '  Memory mapped I/O debugging' CONFIG_DEBUG_IOVIRT
229    bool '  Magic SysRq key' CONFIG_MAGIC_SYSRQ
230    bool '  Spinlock debugging' CONFIG_DEBUG_SPINLOCK
231 #   bool '  Early printk' CONFIG_EARLY_PRINTK
232    bool '  Additional run-time checks' CONFIG_CHECKING
233 fi
234 bool 'Simnow environment (disables time-consuming things)' CONFIG_SIMNOW
235 #if [ "$CONFIG_SERIAL_CONSOLE" = "y" ]; then
236 #  bool 'Early serial console (ttyS0)' CONFIG_EARLY_SERIAL_CONSOLE
237 #fi
238 endmenu
239
240 source lib/Config.in