1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/config-language.txt.
4#
5define_bool CONFIG_UID16 n
6define_bool CONFIG_RWSEM_GENERIC_SPINLOCK n
7define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM y
8define_bool CONFIG_GENERIC_BUST_SPINLOCK n
9define_bool CONFIG_GENERIC_ISA_DMA y
10define_bool CONFIG_HAVE_DEC_LOCK y
11
12mainmenu_name "64 bit PowerPC Linux Kernel Configuration"
13
14mainmenu_option next_comment
15   comment 'Code maturity level options'
16   bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
17endmenu
18
19mainmenu_option next_comment
20comment 'Platform support'
21define_bool CONFIG_PPC y
22define_bool CONFIG_PPC64 y
23define_bool CONFIG_SERIAL_CONSOLE y
24
25choice 'Machine Type'	\
26	"pSeries       		CONFIG_PPC_PSERIES \
27	 iSeries                CONFIG_PPC_ISERIES" CONFIG_PPC_PSERIES
28bool 'VMX ( AltiVec ) Support' CONFIG_ALTIVEC
29bool 'Symmetric multi-processing support' CONFIG_SMP
30if [ "$CONFIG_SMP" = "y" ]; then
31  bool '  Distribute interrupts on all CPUs by default' CONFIG_IRQ_ALL_CPUS
32  int  'Maximum number of CPUs (2-32)' CONFIG_NR_CPUS 32
33  if [ "$CONFIG_PPC_PSERIES" = "y" ]; then
34    bool '  Hardware multithreading' CONFIG_HMT
35  fi
36fi
37if [ "$CONFIG_PPC_ISERIES" = "y" ]; then
38   define_bool CONFIG_MSCHUNKS y
39else
40bool 'MsChunks Physical to Absolute address translation support' CONFIG_MSCHUNKS
41tristate 'Firmware flash interface' CONFIG_RTAS_FLASH
42tristate 'Scanlog Dump interface' CONFIG_SCANLOG
43bool 'Support for RTAS (RunTime Abstraction Services) in /proc' CONFIG_PPC_RTAS
44     if [ "$CONFIG_PPC_RTAS" = "y" ]; then
45	bool 'RTAS Error Inject' CONFIG_RTAS_ERRINJCT
46     fi
47fi
48
49bool 'Shared kernel/user space addressing' CONFIG_SHARED_MEMORY_ADDRESSING
50
51bool 'LPAR Configuration Data' CONFIG_LPARCFG
52
53endmenu
54
55mainmenu_option next_comment
56comment 'Loadable module support'
57bool 'Enable loadable module support' CONFIG_MODULES
58if [ "$CONFIG_MODULES" = "y" ]; then
59   bool '  Set version information on all module symbols' CONFIG_MODVERSIONS
60   bool '  Kernel module loader' CONFIG_KMOD
61fi
62endmenu
63
64mainmenu_option next_comment
65comment 'General setup'
66
67define_bool CONFIG_ISA n
68define_bool CONFIG_SBUS n
69define_bool CONFIG_MCA n
70define_bool CONFIG_EISA n
71define_bool CONFIG_PCI y
72define_bool CONFIG_PCMCIA n
73
74bool 'Networking support' CONFIG_NET
75bool 'Sysctl support' CONFIG_SYSCTL
76bool 'System V IPC' CONFIG_SYSVIPC
77bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
78
79# only elf supported, a.out is not -- Cort
80if [ "$CONFIG_PROC_FS" = "y" ]; then
81   define_bool CONFIG_KCORE_ELF y
82fi
83
84bool 'Kernel support for 64 bit ELF binaries' CONFIG_BINFMT_ELF
85
86tristate 'Kernel support for 32 bit ELF binaries' CONFIG_BINFMT_ELF32
87
88tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
89
90source drivers/pci/Config.in
91
92bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
93
94source drivers/parport/Config.in
95
96if [ "$CONFIG_PPC_ISERIES" != "y" ]; then
97   bool 'Support for VGA Console' CONFIG_VGA_CONSOLE
98   bool 'Support for frame buffer devices' CONFIG_FB
99
100   bool 'Support for Open Firmware device tree in /proc' CONFIG_PROC_DEVICETREE
101
102   bool 'Default bootloader kernel arguments' CONFIG_CMDLINE_BOOL
103   if [ "$CONFIG_CMDLINE_BOOL" = "y" ] ; then
104     string 'Initial kernel command string' CONFIG_CMDLINE "console=ttyS0,9600 console=tty0 root=/dev/sda2"
105   fi
106fi
107
108endmenu
109
110source drivers/block/Config.in
111source drivers/md/Config.in
112
113if [ "$CONFIG_NET" = "y" ]; then
114   source net/Config.in
115fi
116
117mainmenu_option next_comment
118comment 'ATA/IDE/MFM/RLL support'
119
120tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
121
122if [ "$CONFIG_IDE" != "n" ]; then
123  source drivers/ide/Config.in
124else
125  define_bool CONFIG_BLK_DEV_HD n
126fi
127endmenu
128
129mainmenu_option next_comment
130comment 'SCSI support'
131tristate 'SCSI support' CONFIG_SCSI
132if [ "$CONFIG_SCSI" != "n" ]; then
133   source drivers/scsi/Config.in
134fi
135endmenu
136
137source drivers/ieee1394/Config.in
138
139if [ "$CONFIG_NET" = "y" ]; then
140   mainmenu_option next_comment
141   comment 'Network device support'
142
143   bool 'Network device support' CONFIG_NETDEVICES
144   if [ "$CONFIG_NETDEVICES" = "y" ]; then
145      source drivers/net/Config.in
146      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
147         source drivers/atm/Config.in
148      fi
149   fi
150   endmenu
151fi
152
153source net/ax25/Config.in
154
155mainmenu_option next_comment
156comment 'ISDN subsystem'
157
158tristate 'ISDN support' CONFIG_ISDN
159if [ "$CONFIG_ISDN" != "n" ]; then
160   source drivers/isdn/Config.in
161fi
162endmenu
163
164mainmenu_option next_comment
165comment 'Old CD-ROM drivers (not SCSI, not IDE)'
166
167bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
168if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
169   source drivers/cdrom/Config.in
170fi
171endmenu
172
173if [ "$CONFIG_PPC_ISERIES" != "y" ]; then
174mainmenu_option next_comment
175comment 'Console drivers'
176source drivers/video/Config.in
177endmenu
178
179source drivers/input/Config.in
180fi
181
182if [ "$CONFIG_PPC_ISERIES" = "y" ]; then
183mainmenu_option next_comment
184comment 'iSeries device drivers'
185   dep_tristate 'iSeries Virtual Console Support' CONFIG_VIOCONS $CONFIG_PPC_ISERIES
186   dep_tristate 'iSeries Virtual I/O disk support' CONFIG_VIODASD $CONFIG_PPC_ISERIES
187   if [ "$CONFIG_VIODASD" = "y" -o "$CONFIG_VIODASD" = "m" ]; then
188      bool 'iSeries Virtual disk IDE emulation' CONFIG_VIODASD_IDE
189   fi
190   dep_tristate 'iSeries Virtual I/O CD support' CONFIG_VIOCD $CONFIG_PPC_ISERIES
191   if [ "$CONFIG_VIOCD" = "y" -o "$CONFIG_VIOCD" = "m" ]; then
192      bool 'iSeries Virtual CD Aztech emulation' CONFIG_VIOCD_AZTECH
193   fi
194   dep_tristate 'iSeries Virtual Tape Support' CONFIG_VIOTAPE  $CONFIG_PPC_ISERIES
195   dep_tristate 'iSeries Virtual Ethernet driver support' CONFIG_VETH $CONFIG_PPC_ISERIES
196endmenu
197fi
198
199if [ "$CONFIG_VIOCONS" = "n" ]; then
200   if [ "$CONFIG_VIODASD" = "n" ]; then
201      if [ "$CONFIG_VIOTAPE" = "n" ]; then
202         if [ "$CONFIG_VIOCD" = "n" ]; then
203		    define_bool CONFIG_VIOPATH n
204		 else
205		    define_bool CONFIG_VIOPATH y
206         fi
207	  else
208	     define_bool CONFIG_VIOPATH y
209      fi
210   else
211      define_bool CONFIG_VIOPATH y
212   fi
213else
214   define_bool CONFIG_VIOPATH y
215fi
216
217if [ "$CONFIG_VIOCD" = "y" ]; then
218   define_bool CONFIG_CD_NO_IDESCSI y
219fi
220
221source drivers/char/Config.in
222source fs/Config.in
223
224if [ "$CONFIG_PPC_ISERIES" != "y" ]; then
225mainmenu_option next_comment
226comment 'Sound'
227tristate 'Sound card support' CONFIG_SOUND
228if [ "$CONFIG_SOUND" != "n" ]; then
229   source drivers/sound/dmasound/Config.in
230   source drivers/sound/Config.in
231fi
232
233endmenu
234
235source drivers/media/Config.in
236source drivers/usb/Config.in
237fi
238
239source lib/Config.in
240
241source crypto/Config.in
242
243mainmenu_option next_comment
244comment 'Kernel hacking'
245
246bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ
247bool 'Include kgdb kernel debugger' CONFIG_KGDB
248bool 'Include xmon kernel debugger' CONFIG_XMON
249bool 'Debug memory allocations' CONFIG_DEBUG_SLAB
250if [ "$CONFIG_XMON" = "y" ]; then
251  define_bool CONFIG_KALLSYMS n
252fi
253bool 'Include PPCDBG realtime debugging' CONFIG_PPCDBG
254
255tristate 'Linux Kernel Crash Dump (LKCD) Support' CONFIG_DUMP
256if [ "$CONFIG_DUMP" = "y" -o "$CONFIG_DUMP" = "m" ]; then
257   dep_bool '  LKCD RLE compression' CONFIG_DUMP_COMPRESS_RLE $CONFIG_DUMP
258   dep_bool '  LKCD GZIP compression' CONFIG_DUMP_COMPRESS_GZIP $CONFIG_DUMP
259fi
260
261int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0
262
263endmenu
264