1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/config-language.txt.
4#
5
6define_bool CONFIG_ALPHA y
7define_bool CONFIG_UID16 n
8define_bool CONFIG_RWSEM_GENERIC_SPINLOCK n
9define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM y
10
11mainmenu_name "Kernel configuration of Linux for Alpha machines"
12
13mainmenu_option next_comment
14comment 'Code maturity level options'
15bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
16endmenu
17
18mainmenu_option next_comment
19comment 'Loadable module support'
20bool 'Enable loadable module support' CONFIG_MODULES
21if [ "$CONFIG_MODULES" = "y" ]; then
22  bool 'Set version information on all symbols for modules' CONFIG_MODVERSIONS
23  bool 'Kernel module loader' CONFIG_KMOD
24fi
25endmenu
26
27mainmenu_option next_comment
28comment 'General setup'
29
30choice 'Alpha system type' \
31	"Generic		CONFIG_ALPHA_GENERIC		\
32	 Alcor/Alpha-XLT	CONFIG_ALPHA_ALCOR		\
33	 Alpha-XL		CONFIG_ALPHA_XL			\
34	 AlphaBook1		CONFIG_ALPHA_BOOK1		\
35	 Avanti			CONFIG_ALPHA_AVANTI		\
36	 Cabriolet		CONFIG_ALPHA_CABRIOLET		\
37	 DP264			CONFIG_ALPHA_DP264		\
38	 EB164			CONFIG_ALPHA_EB164		\
39	 EB64+			CONFIG_ALPHA_EB64P		\
40	 EB66			CONFIG_ALPHA_EB66		\
41	 EB66+			CONFIG_ALPHA_EB66P		\
42	 Eiger			CONFIG_ALPHA_EIGER		\
43	 Jensen			CONFIG_ALPHA_JENSEN		\
44	 LX164			CONFIG_ALPHA_LX164		\
45	 Miata			CONFIG_ALPHA_MIATA		\
46	 Mikasa			CONFIG_ALPHA_MIKASA		\
47	 Nautilus		CONFIG_ALPHA_NAUTILUS		\
48	 Noname			CONFIG_ALPHA_NONAME		\
49	 Noritake		CONFIG_ALPHA_NORITAKE		\
50	 PC164			CONFIG_ALPHA_PC164		\
51	 Platform2000		CONFIG_ALPHA_P2K		\
52	 Rawhide		CONFIG_ALPHA_RAWHIDE		\
53	 Ruffian		CONFIG_ALPHA_RUFFIAN		\
54	 RX164			CONFIG_ALPHA_RX164		\
55	 SX164			CONFIG_ALPHA_SX164		\
56	 Sable			CONFIG_ALPHA_SABLE		\
57	 Shark			CONFIG_ALPHA_SHARK		\
58	 Takara			CONFIG_ALPHA_TAKARA		\
59	 Titan			CONFIG_ALPHA_TITAN		\
60	 Wildfire		CONFIG_ALPHA_WILDFIRE" Generic
61
62# clear all implied options (don't want default values for those):
63unset CONFIG_ALPHA_EV4 CONFIG_ALPHA_EV5 CONFIG_ALPHA_EV6 CONFIG_ALPHA_EV67
64unset CONFIG_ALPHA_EISA
65unset CONFIG_ALPHA_LCA CONFIG_ALPHA_APECS CONFIG_ALPHA_CIA
66unset CONFIG_ALPHA_T2 CONFIG_ALPHA_PYXIS CONFIG_ALPHA_POLARIS
67unset CONFIG_ALPHA_TSUNAMI CONFIG_ALPHA_MCPCIA
68unset CONFIG_ALPHA_IRONGATE
69unset CONFIG_ALPHA_BROKEN_IRQ_MASK
70
71# Most of these machines have ISA slots; not exactly sure which don't,
72# and this doesn't activate hordes of code, so do it always.
73define_bool CONFIG_ISA y
74define_bool CONFIG_EISA y
75define_bool CONFIG_SBUS n
76define_bool CONFIG_MCA n
77
78if [ "$CONFIG_ALPHA_JENSEN" = "y" ]
79then
80	define_bool CONFIG_PCI n
81else
82	define_bool CONFIG_PCI y
83fi
84
85if [ "$CONFIG_ALPHA_BOOK1" = "y" ]
86then
87	define_bool CONFIG_ALPHA_NONAME y
88fi
89if [ "$CONFIG_ALPHA_NONAME" = "y" -o "$CONFIG_ALPHA_EB66" = "y" \
90	-o "$CONFIG_ALPHA_EB66P" = "y" -o "$CONFIG_ALPHA_P2K" = "y" ]
91then
92	define_bool CONFIG_ALPHA_EV4 y
93	define_bool CONFIG_ALPHA_LCA y
94fi
95if [ "$CONFIG_ALPHA_CABRIOLET" = "y" -o "$CONFIG_ALPHA_AVANTI" = "y" \
96	-o "$CONFIG_ALPHA_EB64P" = "y" -o "$CONFIG_ALPHA_XL" = "y" ]
97then
98	define_bool CONFIG_ALPHA_EV4 y
99	define_bool CONFIG_ALPHA_APECS y
100fi
101if [ "$CONFIG_ALPHA_CABRIOLET" = "y" ]
102then
103	define_bool CONFIG_ALPHA_EB64P y
104fi
105if [ "$CONFIG_ALPHA_ALCOR" = "y" ]
106then
107	define_bool CONFIG_ALPHA_EV5 y
108	define_bool CONFIG_ALPHA_CIA y
109	bool 'EV56 CPU (speed >= 366MHz)?' CONFIG_ALPHA_EV56
110fi
111if [ "$CONFIG_ALPHA_EB164" = "y" ]
112then
113	define_bool CONFIG_ALPHA_EV5 y
114	define_bool CONFIG_ALPHA_CIA y
115fi
116if [ "$CONFIG_ALPHA_PC164" = "y" -o "$CONFIG_ALPHA_TAKARA" = "y" ]
117then
118	define_bool CONFIG_ALPHA_EV5 y
119	define_bool CONFIG_ALPHA_EV56 y
120	define_bool CONFIG_ALPHA_CIA y
121fi
122if [ "$CONFIG_ALPHA_MIKASA" = "y" ]
123then
124	bool 'EV5 CPU daughtercard (model 5/xxx)?' CONFIG_ALPHA_PRIMO
125	if [ "$CONFIG_ALPHA_PRIMO" = "y" ]
126	then
127		define_bool CONFIG_ALPHA_EV5 y
128		define_bool CONFIG_ALPHA_CIA y
129		bool 'EV56 CPU (speed >= 333MHz)?' CONFIG_ALPHA_EV56
130	else
131		define_bool CONFIG_ALPHA_EV4 y
132		define_bool CONFIG_ALPHA_APECS y
133	fi
134fi
135if [ "$CONFIG_ALPHA_NORITAKE" = "y" ]
136then
137	bool 'EV5 CPU (model 5/xxx)?' CONFIG_ALPHA_PRIMO
138	if [ "$CONFIG_ALPHA_PRIMO" = "y" ]
139	then
140		define_bool CONFIG_ALPHA_EV5 y
141		define_bool CONFIG_ALPHA_CIA y
142		bool 'EV56 CPU (speed >= 333MHz)?' CONFIG_ALPHA_EV56
143	else
144		define_bool CONFIG_ALPHA_EV4 y
145		define_bool CONFIG_ALPHA_APECS y
146	fi
147fi
148if [ "$CONFIG_ALPHA_SABLE" = "y" ]
149then
150	bool 'EV5 CPU(s) (model 5/xxx)?' CONFIG_ALPHA_GAMMA
151	if [ "$CONFIG_ALPHA_GAMMA" = "y" ]
152	then
153		define_bool CONFIG_ALPHA_EV5 y
154	else
155		define_bool CONFIG_ALPHA_EV4 y
156	fi
157	define_bool CONFIG_ALPHA_T2 y
158fi
159if [ "$CONFIG_ALPHA_MIATA" = "y" -o "$CONFIG_ALPHA_LX164" = "y" \
160	-o "$CONFIG_ALPHA_SX164" = "y" -o "$CONFIG_ALPHA_RUFFIAN" = "y" ]
161then
162	define_bool CONFIG_ALPHA_EV5 y
163	define_bool CONFIG_ALPHA_EV56 y
164	define_bool CONFIG_ALPHA_CIA y
165	define_bool CONFIG_ALPHA_PYXIS y
166fi
167if [ "$CONFIG_ALPHA_DP264" = "y" -o "$CONFIG_ALPHA_EIGER" = "y" ]
168then
169	define_bool CONFIG_ALPHA_EV6 y
170	define_bool CONFIG_ALPHA_TSUNAMI y
171	bool 'EV67 (or later) CPU (speed > 600MHz)?' CONFIG_ALPHA_EV67
172fi
173if [ "$CONFIG_ALPHA_SHARK" = "y" ]
174then
175	define_bool CONFIG_ALPHA_EV6 y
176	define_bool CONFIG_ALPHA_EV67 y
177	define_bool CONFIG_ALPHA_TSUNAMI y
178fi
179if [ "$CONFIG_ALPHA_WILDFIRE" = "y" -o "$CONFIG_ALPHA_TITAN" = "y" ]
180then
181	define_bool CONFIG_ALPHA_EV6 y
182	define_bool CONFIG_ALPHA_EV67 y
183fi
184if [ "$CONFIG_ALPHA_RAWHIDE" = "y" ]
185then
186	define_bool CONFIG_ALPHA_EV5 y
187	define_bool CONFIG_ALPHA_MCPCIA y
188	bool 'EV56 CPU (speed >= 400MHz)?' CONFIG_ALPHA_EV56
189fi
190if [ "$CONFIG_ALPHA_RX164" = "y" ]
191then
192	define_bool CONFIG_ALPHA_EV5 y
193	define_bool CONFIG_ALPHA_EV56 y
194	define_bool CONFIG_ALPHA_POLARIS y
195fi
196if [ "$CONFIG_ALPHA_JENSEN" = "y" ]
197then
198	define_bool CONFIG_ALPHA_EV4 y
199fi
200if [ "$CONFIG_ALPHA_NAUTILUS" = "y" ]
201then
202	define_bool CONFIG_ALPHA_IRONGATE y
203	define_bool CONFIG_ALPHA_EV6 y
204	define_bool CONFIG_ALPHA_EV67 y
205fi
206
207if [ "$CONFIG_ALPHA_JENSEN" = "y" -o "$CONFIG_ALPHA_MIKASA" = "y" \
208	-o "$CONFIG_ALPHA_SABLE" = "y" -o "$CONFIG_ALPHA_NORITAKE" = "y" \
209	-o "$CONFIG_ALPHA_DP264" = "y" -o "$CONFIG_ALPHA_RAWHIDE" = "y" \
210	-o "$CONFIG_ALPHA_EIGER" = "y" -o "$CONFIG_ALPHA_WILDFIRE" = "y" \
211	-o "$CONFIG_ALPHA_TITAN" = "y" -o "$CONFIG_ALPHA_SHARK" = "y" ]
212then
213	define_bool CONFIG_ALPHA_SRM y
214fi
215if [ "$CONFIG_ALPHA_CABRIOLET" = "y" -o "$CONFIG_ALPHA_AVANTI" = "y" \
216	-o "$CONFIG_ALPHA_EB64P" = "y" 	-o "$CONFIG_ALPHA_PC164" = "y" \
217	-o "$CONFIG_ALPHA_TAKARA" = "y" -o "$CONFIG_ALPHA_EB164" = "y" \
218	-o "$CONFIG_ALPHA_ALCOR" = "y"  -o "$CONFIG_ALPHA_MIATA" = "y" \
219	-o "$CONFIG_ALPHA_LX164" = "y"  -o "$CONFIG_ALPHA_SX164" = "y" \
220	-o "$CONFIG_ALPHA_NAUTILUS" = "y" -o "$CONFIG_ALPHA_NONAME" = "y" ]
221then
222  bool 'Use SRM as bootloader' CONFIG_ALPHA_SRM
223fi
224
225if [ "$CONFIG_ALPHA_ALCOR" = "y" -o "$CONFIG_ALPHA_MIKASA" = "y" \
226	-o "$CONFIG_ALPHA_SABLE" = "y" -o "$CONFIG_ALPHA_NORITAKE" = "y" \
227	-o "$CONFIG_ALPHA_RAWHIDE" = "y" ]
228then
229	define_bool CONFIG_ALPHA_EISA y
230fi
231if [ "$CONFIG_ALPHA_XL" = "y" ]
232then
233	define_bool CONFIG_ALPHA_AVANTI y
234fi
235if [ "$CONFIG_ALPHA_GENERIC" = "y" -o "$CONFIG_ALPHA_PC164" = "y" ]
236then
237	define_bool CONFIG_ALPHA_BROKEN_IRQ_MASK y
238fi
239
240if [ "$CONFIG_ALPHA_SABLE" = "y" -o "$CONFIG_ALPHA_RAWHIDE" = "y" \
241	-o "$CONFIG_ALPHA_DP264" = "y" -o "$CONFIG_ALPHA_WILDFIRE" = "y" \
242	-o "$CONFIG_ALPHA_TITAN" = "y" -o "$CONFIG_ALPHA_GENERIC" = "y" \
243	-o "$CONFIG_ALPHA_SHARK" = "y" ]
244then
245	bool 'Symmetric multi-processing support' CONFIG_SMP
246fi
247
248if [ "$CONFIG_SMP" = "y" ]; then
249   define_bool CONFIG_HAVE_DEC_LOCK y
250fi
251
252if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
253   bool 'Discontiguous Memory Support (EXPERIMENTAL)' CONFIG_DISCONTIGMEM
254   if [ "$CONFIG_DISCONTIGMEM" = "y" ]; then
255      bool ' NUMA Support (EXPERIMENTAL)' CONFIG_NUMA
256   fi
257fi
258
259# LARGE_VMALLOC is racy, if you *really* need it then fix it first
260define_bool CONFIG_ALPHA_LARGE_VMALLOC n
261
262source drivers/pci/Config.in
263
264bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
265 
266if [ "$CONFIG_HOTPLUG" = "y" ] ; then
267   source drivers/pcmcia/Config.in
268else
269   define_bool CONFIG_PCMCIA n
270fi
271
272bool 'Networking support' CONFIG_NET
273bool 'System V IPC' CONFIG_SYSVIPC
274bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
275bool 'Sysctl support' CONFIG_SYSCTL
276if [ "$CONFIG_PROC_FS" = "y" ]; then
277   choice 'Kernel core (/proc/kcore) format' \
278	"ELF		CONFIG_KCORE_ELF	\
279	 A.OUT		CONFIG_KCORE_AOUT" ELF
280fi
281if [ "$CONFIG_PROC_FS" != "n" ]; then
282   tristate 'SRM environment through procfs' CONFIG_SRM_ENV
283fi
284 
285tristate 'Kernel support for a.out (ECOFF) binaries' CONFIG_BINFMT_AOUT
286if [ "$CONFIG_BINFMT_AOUT" != "n" ]; then
287	bool '  OSF/1 v4 readv/writev compatibility' CONFIG_OSF4_COMPAT
288fi
289
290tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
291tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
292tristate 'Kernel support for Linux/Intel ELF binaries' CONFIG_BINFMT_EM86
293source drivers/parport/Config.in
294endmenu
295
296source drivers/mtd/Config.in
297
298source drivers/pnp/Config.in
299
300source drivers/block/Config.in
301
302source drivers/md/Config.in
303
304if [ "$CONFIG_NET" = "y" ]; then
305  source net/Config.in
306fi
307
308mainmenu_option next_comment
309comment 'ATA/IDE/MFM/RLL support'
310
311tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
312
313if [ "$CONFIG_IDE" != "n" ]; then
314  source drivers/ide/Config.in
315else
316  define_bool CONFIG_BLK_DEV_IDE_MODES n
317  define_bool CONFIG_BLK_DEV_HD n
318fi
319endmenu
320
321mainmenu_option next_comment
322comment 'SCSI support'
323
324tristate 'SCSI support' CONFIG_SCSI
325
326if [ "$CONFIG_SCSI" != "n" ]; then
327  source drivers/scsi/Config.in
328fi
329endmenu
330
331if [ "$CONFIG_PCI" = "y" ]; then
332  source drivers/message/fusion/Config.in
333fi
334
335if [ "$CONFIG_NET" = "y" ]; then
336  mainmenu_option next_comment
337  comment 'Network device support'
338
339  bool 'Network device support' CONFIG_NETDEVICES
340  if [ "$CONFIG_NETDEVICES" = "y" ]; then
341    source drivers/net/Config.in
342    if [ "$CONFIG_ATM" = "y" ]; then
343      source drivers/atm/Config.in
344    fi
345  fi
346  endmenu
347fi
348
349source net/ax25/Config.in
350
351mainmenu_option next_comment
352comment 'ISDN subsystem'
353
354tristate 'ISDN support' CONFIG_ISDN
355if [ "$CONFIG_ISDN" != "n" ]; then
356  source drivers/isdn/Config.in
357fi
358endmenu
359
360mainmenu_option next_comment
361comment 'Old CD-ROM drivers (not SCSI, not IDE)'
362
363bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
364if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
365  source drivers/cdrom/Config.in
366fi
367endmenu
368
369source drivers/char/Config.in
370
371#source drivers/misc/Config.in
372
373source drivers/media/Config.in
374
375source fs/Config.in
376
377if [ "$CONFIG_VT" = "y" ]; then
378  mainmenu_option next_comment
379  comment 'Console drivers'
380  bool 'VGA text console' CONFIG_VGA_CONSOLE
381#  if [ "$CONFIG_PCI" = "y" -a "$CONFIG_VGA_CONSOLE" = "y" ]; then
382#    bool '   Allow VGA on any bus?' CONFIG_VGA_HOSE
383#    if [ "$CONFIG_VGA_HOSE" = "y" ]; then
384#      define_bool CONFIG_DUMMY_CONSOLE y
385#    fi
386#  fi
387  source drivers/video/Config.in
388  if [ "$CONFIG_FB" = "y" ]; then
389    define_bool CONFIG_PCI_CONSOLE y
390  fi
391  endmenu
392fi
393
394mainmenu_option next_comment
395comment 'Sound'
396
397tristate 'Sound card support' CONFIG_SOUND
398if [ "$CONFIG_SOUND" != "n" ]; then
399  source drivers/sound/Config.in
400fi
401endmenu
402
403source drivers/usb/Config.in
404source drivers/input/Config.in
405
406source net/bluetooth/Config.in
407
408mainmenu_option next_comment
409comment 'Kernel hacking'
410
411bool 'Legacy kernel start address' CONFIG_ALPHA_LEGACY_START_ADDRESS
412
413bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
414if [ "$CONFIG_DEBUG_KERNEL" != "n" ]; then
415   tristate '  Kernel FP software completion' CONFIG_MATHEMU
416   bool '  Debug memory allocations' CONFIG_DEBUG_SLAB
417   bool '  Magic SysRq key' CONFIG_MAGIC_SYSRQ
418   bool '  Spinlock debugging' CONFIG_DEBUG_SPINLOCK
419   bool '  Read-write spinlock debugging' CONFIG_DEBUG_RWLOCK
420   bool '  Semaphore debugging' CONFIG_DEBUG_SEMAPHORE
421else
422   define_tristate CONFIG_MATHEMU y
423fi
424
425endmenu
426
427source lib/Config.in
428