Linux 2.4.0-test10pre1
[davej-history.git] / arch / ppc / config.in
blob4322aabc5049d7c71b1975b553cd852498248b0e
1 # $Id: config.in,v 1.106 1999/09/14 19:21:18 cort Exp $
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-language.txt.
5 define_bool CONFIG_UID16 n
7 mainmenu_name "Linux/PowerPC Kernel Configuration"
9 mainmenu_option next_comment
10 comment 'Code maturity level options'
11 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
12 endmenu
14 mainmenu_option next_comment
15 comment 'Loadable module support'
16 bool 'Enable loadable module support' CONFIG_MODULES
17 if [ "$CONFIG_MODULES" = "y" ]; then
18    bool '  Set version information on all module symbols' CONFIG_MODVERSIONS
19    bool '  Kernel module loader' CONFIG_KMOD
21 endmenu
23 mainmenu_option next_comment
24 comment 'Platform support'
25 define_bool CONFIG_PPC y
26 choice 'Processor Type' \
27         "6xx/7xx/7400           CONFIG_6xx      \
28          4xx                    CONFIG_4xx      \
29          POWER3                 CONFIG_POWER3   \
30          POWER4                 CONFIG_POWER4   \
31          8260                   CONFIG_8260     \
32          8xx                    CONFIG_8xx"     6xx
34 if [ "$CONFIG_POWER3" = "y" -o "$CONFIG_POWER4" = "y" ]; then
35   define_bool CONFIG_PPC64BRIDGE y
36   define_bool CONFIG_ALL_PPC y
39 if [ "$CONFIG_8260" = "y" ]; then
40   define_bool CONFIG_6xx y
41   define_bool CONFIG_SERIAL_CONSOLE y
44 if [ "$CONFIG_4xx" = "y" ]; then
45     choice 'Machine Type'                       \
46         "Oak                    CONFIG_OAK      \
47          Walnut                 CONFIG_WALNUT"  Oak
50 if [ "$CONFIG_8xx" = "y" ]; then
51   define_bool CONFIG_SERIAL_CONSOLE y
53   choice 'Machine Type'         \
54         "RPX-Lite       CONFIG_RPXLITE          \
55          RPX-Classic    CONFIG_RPXCLASSIC       \
56          BSE-IP         CONFIG_BSEIP            \
57          TQM8xxL        CONFIG_TQM8xxL          \
58          TQM860L        CONFIG_TQM860L          \
59          TQM860         CONFIG_TQM860           \
60          MBX            CONFIG_MBX              \
61          WinCept        CONFIG_WINCEPT"         RPX-Lite
63 if [ "$CONFIG_6xx" = "y" ]; then
64   choice 'Machine Type'         \
65         "PowerMac/PReP/MTX/CHRP CONFIG_ALL_PPC  \
66          Gemini         CONFIG_GEMINI           \
67          EST8260        CONFIG_EST8260          \
68          APUS           CONFIG_APUS"            PowerMac/PReP/MTX/CHRP
71 if [ "$CONFIG_8xx" = "y" -o "$CONFIG_8260" = "y" ]; then
72   define_bool CONFIG_ALL_PPC n
75 if [ "$CONFIG_TQM8xxL" = "y" ]; then
76   bool 'FPS850 Mainboard' CONFIG_FPS850
79 bool 'Symmetric multi-processing support' CONFIG_SMP
80 if [ "$CONFIG_6xx" = "y" ];then
81   bool 'AltiVec Support' CONFIG_ALTIVEC
84 if [ "$CONFIG_ALL_PPC" != "y" ];then
85   define_bool CONFIG_MACH_SPECIFIC y
88 if [ "$CONFIG_4xx" = "y" -o "$CONFIG_8xx" = "y" ]; then
89   bool 'Math emulation' CONFIG_MATH_EMULATION
92 endmenu
94 mainmenu_option next_comment
95 comment 'General setup'
97 bool 'High memory support (experimental)' CONFIG_HIGHMEM
98 bool 'Mac-on-Linux support' CONFIG_MOL
100 define_bool CONFIG_ISA n
101 define_bool CONFIG_SBUS n
103 if [ "$CONFIG_APUS" = "y" -o "$CONFIG_4xx" = "y" -o \
104      "$CONFIG_8260" = "y" ]; then
105    define_bool CONFIG_PCI n
106 else
107    if [ "$CONFIG_8xx" = "y" ]; then
108       bool 'QSpan PCI' CONFIG_PCI_QSPAN
109       define_bool CONFIG_PCI $CONFIG_PCI_QSPAN
110    else
111       define_bool CONFIG_PCI y
112    fi
115 bool 'Networking support' CONFIG_NET
116 bool 'Sysctl support' CONFIG_SYSCTL
117 bool 'System V IPC' CONFIG_SYSVIPC
118 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
120 # only elf supported, a.out is not -- Cort
121 if [ "$CONFIG_PROC_FS" = "y" ]; then
122    define_bool CONFIG_KCORE_ELF y
124 define_bool CONFIG_BINFMT_ELF y
125 define_bool CONFIG_KERNEL_ELF y
126 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
128 source drivers/pci/Config.in
130 bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
132 if [ "$CONFIG_HOTPLUG" = "y" ]; then
133    source drivers/pcmcia/Config.in
134 else
135    define_bool CONFIG_PCMCIA n
138 source drivers/parport/Config.in
140 if [ "$CONFIG_4xx" != "y" -a "$CONFIG_8xx" != "y" ]; then
141   bool 'Support for VGA Console' CONFIG_VGA_CONSOLE
142   bool 'Support for frame buffer devices' CONFIG_FB
143   if [ "$CONFIG_FB" = "y" ]; then
144     bool 'Backward compatibility mode for Xpmac' CONFIG_FB_COMPAT_XPMAC
145   fi
147   tristate 'Support for /dev/rtc' CONFIG_PPC_RTC
148   bool 'Support for Open Firmware device tree in /proc' CONFIG_PROC_DEVICETREE
149   bool 'Support for early boot text console (BootX only)' CONFIG_BOOTX_TEXT
150   bool 'Support for Motorola Hot Swap' CONFIG_MOTOROLA_HOTSWAP
153 if [ "$CONFIG_PREP" = "y" -o "$CONFIG_ALL_PPC" = "y" ]; then
154   bool 'PReP bootloader kernel arguments' CONFIG_CMDLINE_BOOL
155   if [ "$CONFIG_CMDLINE_BOOL" = "y" ] ; then
156     string 'Initial kernel command string' CONFIG_CMDLINE "console=ttyS0,9600 console=tty0 root=/dev/sda2"
157   fi
160 if [ "$CONFIG_APUS" = "y" ]; then
161   define_bool CONFIG_FB_CONSOLE y
162   define_bool CONFIG_AMIGA y
163   define_bool CONFIG_ZORRO y
164   define_bool CONFIG_AMIGAMOUSE y
165   define_bool CONFIG_ABSTRACT_CONSOLE y
166   define_bool CONFIG_FB y
167   tristate 'Amiga builtin serial support' CONFIG_AMIGA_BUILTIN_SERIAL
168   tristate 'Parallel printer support' CONFIG_M68K_PRINTER
169   tristate 'GVP IO-Extender support' CONFIG_GVPIOEXT
170   dep_tristate 'GVP IO-Extender parallel printer support' CONFIG_GVPIOEXT_LP $CONFIG_GVPIOEXT
171   dep_tristate 'GVP IO-Extender PLIP support' CONFIG_GVPIOEXT_PLIP $CONFIG_GVPIOEXT
172   tristate 'Multiface Card III serial support' CONFIG_MULTIFACE_III_TTY
173   if [ "$CONFIG_AMIGA_BUILTIN_SERIAL" = "y" -o "$CONFIG_GVPIOEXT" = "y" -o \
174        "$CONFIG_MULTIFACE_III_TTY" = "y" ]; then
175     bool 'Support for serial port console' CONFIG_SERIAL_CONSOLE
176   fi
177   bool 'Use power LED as a heartbeat' CONFIG_HEARTBEAT
178   bool '/proc/hardware support' CONFIG_PROC_HARDWARE
181 endmenu
182 source drivers/mtd/Config.in
183 source drivers/pnp/Config.in
184 source drivers/block/Config.in
185 source drivers/md/Config.in
187 if [ "$CONFIG_NET" = "y" ]; then
188   source net/Config.in
191 mainmenu_option next_comment
192 comment 'ATA/IDE/MFM/RLL support'
194 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
196 if [ "$CONFIG_IDE" != "n" ]; then
197   source drivers/ide/Config.in
198 else
199   define_bool CONFIG_BLK_DEV_IDE_MODES n
200   define_bool CONFIG_BLK_DEV_HD n
202 endmenu
204 mainmenu_option next_comment
205 comment 'SCSI support'
206 tristate 'SCSI support' CONFIG_SCSI
207 if [ "$CONFIG_SCSI" != "n" ]; then
208   source drivers/scsi/Config.in
210 endmenu
212 source drivers/ieee1394/Config.in
214 if [ "$CONFIG_NET" = "y" ]; then
215   mainmenu_option next_comment
216   comment 'Network device support'
218   bool 'Network device support' CONFIG_NETDEVICES
219   if [ "$CONFIG_NETDEVICES" = "y" ]; then
220     source drivers/net/Config.in
221     if [ "$CONFIG_ATM" = "y" ]; then
222       source drivers/atm/Config.in
223     fi
224   fi
225   endmenu
228 source net/ax25/Config.in
230 source net/irda/Config.in
232 mainmenu_option next_comment
233 comment 'ISDN subsystem'
235 tristate 'ISDN support' CONFIG_ISDN
236 if [ "$CONFIG_ISDN" != "n" ]; then
237   source drivers/isdn/Config.in
239 endmenu
241 mainmenu_option next_comment
242 comment 'Old CD-ROM drivers (not SCSI, not IDE)'
244 bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
245 if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
246   source drivers/cdrom/Config.in
248 endmenu
250 mainmenu_option next_comment
251 comment 'Console drivers'
252 source drivers/video/Config.in
253 endmenu
255 source drivers/input/Config.in
257 mainmenu_option next_comment
258 comment 'Macintosh device drivers'
260 if [ "$CONFIG_ALL_PPC" = "y" ]; then
261   # we want to change this to something like CONFIG_SYSCTRL_CUDA/PMU
262   bool 'Support for CUDA based PowerMacs' CONFIG_ADB_CUDA
263   bool 'Support for PMU  based PowerMacs' CONFIG_ADB_PMU
264   if [ "$CONFIG_ADB_PMU" = "y" ]; then
265      bool '   Power management support for PowerBooks' CONFIG_PMAC_PBOOK
266      # made a separate option since backlight may end up beeing used
267      # on non-powerbook machines (but only on PMU based ones AFAIK)
268      bool '   Backlight control for LCD screens' CONFIG_PMAC_BACKLIGHT
269   fi
270   bool 'Support for PowerMac floppy' CONFIG_MAC_FLOPPY
271   tristate 'Support for PowerMac serial ports' CONFIG_MAC_SERIAL
272   if [ "$CONFIG_MAC_SERIAL" = "y" ]; then
273      bool '   Support for console on serial port' CONFIG_SERIAL_CONSOLE
274   fi
275   bool 'Apple Desktop Bus (ADB) support' CONFIG_ADB
276   if [ "$CONFIG_ADB" = "y" ]; then
277      bool '   Include MacIO (CHRP) ADB driver' CONFIG_ADB_MACIO
278   fi
280 if [ "$CONFIG_ADB" = "y" ]; then
281   dep_bool '   Use input layer for ADB devices' CONFIG_INPUT_ADBHID $CONFIG_INPUT
282   if [ "$CONFIG_INPUT_ADBHID" = "y" ]; then
283      define_bool CONFIG_MAC_HID y
284      bool '     Support for ADB raw keycodes' CONFIG_MAC_ADBKEYCODES
285      bool '     Support for mouse button 2+3 emulation' CONFIG_MAC_EMUMOUSEBTN
286   else
287      bool '   Support for ADB keyboard (old driver)' CONFIG_ADB_KEYBOARD
288   fi
290 endmenu
292 source drivers/char/Config.in
294 source drivers/media/Config.in
296 source fs/Config.in
298 mainmenu_option next_comment
299 comment 'Sound'
300 tristate 'Sound card support' CONFIG_SOUND
301 if [ "$CONFIG_SOUND" != "n" ]; then
302   source drivers/sound/dmasound/Config.in
303   source drivers/sound/Config.in
306 endmenu
308 if [ "$CONFIG_8xx" = "y" ]; then
309 source arch/ppc/8xx_io/Config.in
312 if [ "$CONFIG_8260" = "y" ]; then
313 source arch/ppc/8260_io/Config.in
316 source drivers/usb/Config.in
318 mainmenu_option next_comment
319 comment 'Kernel hacking'
321 bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ
322 bool 'Include kgdb kernel debugger' CONFIG_KGDB
323 bool 'Include xmon kernel debugger' CONFIG_XMON
324 endmenu