- pre3:
[davej-history.git] / arch / mips / config.in
blob48828238b0a34d28e17bee6a884a5a27895b4449
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-language.txt.
5 mainmenu_name "Linux Kernel Configuration"
7 mainmenu_option next_comment
8 comment 'Code maturity level options'
9 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
10 endmenu
12 mainmenu_option next_comment
13 comment 'Machine selection'
14 if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
15    bool 'Support for Acer PICA 1 chipset' CONFIG_ACER_PICA_61
16    bool 'Support for Algorithmics P4032 (EXPERIMENTAL)' CONFIG_ALGOR_P4032
17    bool 'Support for BAGET MIPS series (EXPERIMENTAL)' CONFIG_BAGET_MIPS
18    bool 'Support for Cobalt Server' CONFIG_COBALT_MICRO_SERVER
19    if [ "$CONFIG_COBALT_MICRO_SERVER" = "y" ]; then
20       bool '  Support for 2800' CONFIG_COBALT_28
21    fi
22    bool 'Support for DECstations (EXPERIMENTAL)' CONFIG_DECSTATION
23    bool 'Support for NEC DDB Vrc-5074 (EXPERIMENTAL)' CONFIG_DDB5074
24    bool 'Support for Galileo Evaluation board or CoSine Orion' CONFIG_ORION
26 bool 'Support for Mips Magnum 4000' CONFIG_MIPS_MAGNUM_4000
27 bool 'Support for Olivetti M700-10' CONFIG_OLIVETTI_M700
28 bool 'Support for SGI IP22' CONFIG_SGI_IP22
29 bool 'Support for SNI RM200 PCI' CONFIG_SNI_RM200_PCI
32 # Select some configuration options automatically for certain systems.
34 unset CONFIG_ARC32
35 unset CONFIG_ISA
36 unset CONFIG_EISA
37 unset CONFIG_PCI
38 unset CONFIG_MIPS_JAZZ
39 unset CONFIG_VIDEO_G364
40 unset CONFIG_PC_KEYB
42 define_bool CONFIG_SBUS n
44 if [ "$CONFIG_ALGOR_P4032" = "y" ]; then
45    define_bool CONFIG_PCI y
47 if [ "$CONFIG_MIPS_MAGNUM_4000" = "y" -o \
48      "$CONFIG_OLIVETTI_M700" = "y" ]; then
49    define_bool CONFIG_ARC32 y
50    define_bool CONFIG_ISA y
51    define_bool CONFIG_FB y
52    define_bool CONFIG_FB_G364 y 
53    define_bool CONFIG_MIPS_JAZZ y
54    define_bool CONFIG_PC_KEYB y
56 if [ "$CONFIG_ACER_PICA_61" = "y" ]; then
57    define_bool CONFIG_ARC32 y
58    define_bool CONFIG_ISA y
59    define_bool CONFIG_MIPS_JAZZ y
60    define_bool CONFIG_PC_KEYB y
62 if [ "$CONFIG_COBALT_MICRO_SERVER" = "y" ]; then
63    define_bool CONFIG_COBALT_27 y
64    define_bool CONFIG_COBALT_LCD y
65    define_bool CONFIG_COBALT_SERIAL y
66    define_bool CONFIG_PCI y
68 if [ "$CONFIG_SGI_IP22" = "y" ]; then
69    define_bool CONFIG_ARC32 y
70    define_bool CONFIG_PC_KEYB y
71    define_bool CONFIG_SGI y
73 if [ "$CONFIG_SNI_RM200_PCI" = "y" ]; then
74    define_bool CONFIG_ARC32 y
75    define_bool CONFIG_PCI y
76    define_bool CONFIG_ISA y
77    define_bool CONFIG_PC_KEYB y
79 if [ "$CONFIG_DDB5074" = "y" ]; then
80    define_bool CONFIG_ISA y
81    define_bool CONFIG_PCI y
84 if [ "$CONFIG_ISA" != "y" ]; then
85    define_bool CONFIG_ISA n
86    define_bool CONFIG_EISA n
87 else
88    define_bool CONFIG_EISA y
91 if [ "$CONFIG_PCI" != "y" ]; then
92    define_bool CONFIG_PCI n
94 endmenu
96 mainmenu_option next_comment
97 comment 'Loadable module support'
98 bool 'Enable loadable module support' CONFIG_MODULES
99 if [ "$CONFIG_MODULES" = "y" ]; then
100    bool '  Set version information on all module symbols' CONFIG_MODVERSIONS
101    bool '  Kernel module loader' CONFIG_KMOD
103 endmenu
105 mainmenu_option next_comment
106 comment 'CPU selection'
108 choice 'CPU type' \
109         "R3000 CONFIG_CPU_R3000 \
110          R6000 CONFIG_CPU_R6000 \
111          R4300 CONFIG_CPU_R4300 \
112          R4x00 CONFIG_CPU_R4X00 \
113          R5000 CONFIG_CPU_R5000 \
114          R56x0 CONFIG_CPU_NEVADA \
115          R8000 CONFIG_CPU_R8000 \
116          R10000 CONFIG_CPU_R10000" R4x00
118 bool 'Override CPU Options' CONFIG_CPU_ADVANCED
120 if [ "$CONFIG_CPU_ADVANCED" = "y" ]; then
121    bool '  ll/sc Instructions available' CONFIG_CPU_HAS_LLSC
122    bool '  Writeback Buffer available' CONFIG_CPU_HAS_WB
123 else
124    if [ "$CONFIG_CPU_R3000" = "y" ]; then
125       if [ "$CONFIG_DECSTATION" = "y" ]; then
126          define_bool CONFIG_CPU_HAS_LLSC n
127          define_bool CONFIG_CPU_HAS_WB y
128       else
129          define_bool CONFIG_CPU_HAS_LLSC n
130          define_bool CONFIG_CPU_HAS_WB n
131       fi
132    else
133       define_bool CONFIG_CPU_HAS_LLSC y
134       define_bool CONFIG_CPU_HAS_WB n
135    fi
137 endmenu
139 mainmenu_option next_comment
140 comment 'General setup'
141 if [ "$CONFIG_DECSTATION" = "y" -o "$CONFIG_DDB5074" = "y" ]; then
142    define_bool CONFIG_CPU_LITTLE_ENDIAN y
143 else
144    bool 'Generate little endian code' CONFIG_CPU_LITTLE_ENDIAN
147 if [ "$CONFIG_PROC_FS" = "y" ]; then
148    define_bool CONFIG_KCORE_ELF y
150 define_bool CONFIG_ELF_KERNEL y
152 if [ "$CONFIG_CPU_LITTLE_ENDIAN" = "n" ]; then
153    bool 'Include IRIX binary compatibility' CONFIG_BINFMT_IRIX 
154    bool 'Include forward keyboard' CONFIG_FORWARD_KEYBOARD 
157 define_bool CONFIG_BINFMT_AOUT n
158 define_bool CONFIG_BINFMT_ELF y
159 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
161 bool 'Networking support' CONFIG_NET
163 if [ "$CONFIG_PCI" = "y" ]; then
164     source drivers/pci/Config.in
167 bool 'System V IPC' CONFIG_SYSVIPC
168 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
169 bool 'Sysctl support' CONFIG_SYSCTL
171 source drivers/parport/Config.in
173 if [ "$CONFIG_DECSTATION" = "y" ]; then
174     bool 'TURBOchannel support' CONFIG_TC
175 #    if [ "$CONFIG_TC" = "y" ]; then
176 #       bool ' Access.Bus support' CONFIG_ACCESSBUS
177 #    fi
179 endmenu
181 if [ "$CONFIG_ISA" = "y" ]; then
182    source drivers/pnp/Config.in
185 if [ "$CONFIG_HOTPLUG" = "y" ] ; then
186    source drivers/pcmcia/Config.in
187 else
188    define_bool CONFIG_PCMCIA n
191 source drivers/mtd/Config.in
193 source drivers/block/Config.in
195 source drivers/md/Config.in
197 if [ "$CONFIG_NET" = "y" ]; then
198    source net/Config.in
201 if [ "$CONFIG_DECSTATION" != "y" -a \
202      "$CONFIG_SGI_IP22" != "y" ]; then
203    source drivers/telephony/Config.in
206 if [ "$CONFIG_SGI_IP22" != "y" -a \
207      "$CONFIG_DECSTATION" != "y" ]; then
209    mainmenu_option next_comment
210    comment 'ATA/IDE/MFM/RLL support'
211     
212    tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
213     
214    if [ "$CONFIG_IDE" != "n" ]; then
215       source drivers/ide/Config.in
216    else
217       define_bool CONFIG_BLK_DEV_IDE_MODES n
218       define_bool CONFIG_BLK_DEV_HD n
219    fi
220    endmenu
223 mainmenu_option next_comment
224 comment 'SCSI support'
226 tristate 'SCSI support' CONFIG_SCSI
228 if [ "$CONFIG_SCSI" != "n" ]; then
229    source drivers/scsi/Config.in
231 endmenu
233 if [ "$CONFIG_DECSTATION" != "y" -a \
234      "$CONFIG_SGI_IP22" != "y" ]; then
235    source drivers/i2o/Config.in
238 if [ "$CONFIG_NET" = "y" ]; then
239    mainmenu_option next_comment
240    comment 'Network device support'
242    bool 'Network device support' CONFIG_NETDEVICES
243    if [ "$CONFIG_NETDEVICES" = "y" ]; then
245       if [ "$CONFIG_SGI_IP22" != "y" -a \
246            "$CONFIG_DECSTATION" != "y" -a \
247            "$CONFIG_BAGET_MIPS" != "y" ]; then
249          source drivers/net/Config.in
251          if [ "$CONFIG_ATM" = "y" ]; then
252             source drivers/atm/Config.in
253          fi
254       else
255          tristate 'Dummy net driver support' CONFIG_DUMMY
256          tristate 'SLIP (serial line) support' CONFIG_SLIP
257          if [ "$CONFIG_SLIP" != "n" ]; then
258             bool ' CSLIP compressed headers' CONFIG_SLIP_COMPRESSED
259             bool ' Keepalive and linefill' CONFIG_SLIP_SMART
260          fi
261          tristate 'PPP (point-to-point) support' CONFIG_PPP
262          if [ ! "$CONFIG_PPP" = "n" ]; then
263             comment 'CCP compressors for PPP are only built as modules.'
264          fi
265          if [ "$CONFIG_SGI_IP22" = "y" ]; then
266             bool 'SGI Seeq ethernet controller support' CONFIG_SGISEEQ
267          fi
268          if [ "$CONFIG_DECSTATION" = "y" ]; then
269             bool 'DEC LANCE ethernet controller support' CONFIG_DECLANCE
270          fi
271          if [ "$CONFIG_BAGET_MIPS" = "y" ]; then
272             tristate 'Baget AMD LANCE support' CONFIG_BAGETLANCE
273          fi
274       fi
275    fi
276    endmenu
279 if [ "$CONFIG_ISA" = "y" -o "$CONFIG_PCI" = "y" ]; then
280    mainmenu_option next_comment
281    comment 'ISDN subsystem'
283    if [ "$CONFIG_NET" != "n" ]; then
284       tristate 'ISDN support' CONFIG_ISDN
285       if [ "$CONFIG_ISDN" != "n" ]; then
286          source drivers/isdn/Config.in
287       fi
288    fi
289    endmenu
291    mainmenu_option next_comment
292    comment 'Old CD-ROM drivers (not SCSI, not IDE)'
294    bool 'Support non-SCSI/IDE/ATAPI drives' CONFIG_CD_NO_IDESCSI
295    if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
296       source drivers/cdrom/Config.in
297    fi
298    endmenu
301 if [ "$CONFIG_DECSTATION" != "y" -a \
302      "$CONFIG_SGI_IP22" != "y" ]; then
303    source drivers/char/Config.in
305    source drivers/media/Config.in
308 if [ "$CONFIG_DECSTATION" = "y" ]; then
309    mainmenu_option next_comment
310    comment 'DECStation Character devices'
312    bool 'Virtual terminal' CONFIG_VT
313    if [ "$CONFIG_VT" = "y" ]; then
314       bool 'Support for console on virtual terminal' CONFIG_VT_CONSOLE
315    fi
316    tristate 'Standard/generic (dumb) serial support' CONFIG_SERIAL
317    if [ "$CONFIG_SERIAL" = "y" ]; then
318       bool 'DZ11 Serial Support' CONFIG_DZ
319       if [ "$CONFIG_TC" = "y" ]; then
320          bool 'Z85C30 Serial Support' CONFIG_ZS
321       fi
322    bool '   Support for console on serial port' CONFIG_SERIAL_CONSOLE
323    fi
324    bool 'Unix98 PTY support' CONFIG_UNIX98_PTYS
325    if [ "$CONFIG_UNIX98_PTYS" = "y" ]; then
326       int 'Maximum number of Unix98 PTYs in use (0-2048)' CONFIG_UNIX98_PTY_COUNT 256
327    fi
328 #   if [ "$CONFIG_ACCESSBUS" = "y" ]; then
329 #      bool 'MAXINE Access.Bus mouse (VSXXX-BB/GB) support' CONFIG_DTOP_MOUSE
330 #   fi
331    bool 'Enhanced Real Time Clock Support' CONFIG_RTC
332    endmenu
335 if [ "$CONFIG_SGI_IP22" = "y" ]; then
336    mainmenu_option next_comment
337    comment 'SGI Character devices'
338    bool 'Virtual terminal' CONFIG_VT
339    if [ "$CONFIG_VT" = "y" ]; then
340       bool 'Support for console on virtual terminal' CONFIG_VT_CONSOLE
341       tristate 'SGI Newport Console support' CONFIG_SGI_NEWPORT_CONSOLE
342       if [ "$CONFIG_SGI_NEWPORT_CONSOLE" != "y" ]; then
343          define_bool CONFIG_DUMMY_CONSOLE y
344       else
345          define_bool CONFIG_FONT_8x16 y
346       fi
347       bool 'SGI PROM Console Support' CONFIG_SGI_PROM_CONSOLE
348    fi
349    bool 'Unix98 PTY support' CONFIG_UNIX98_PTYS
350    if [ "$CONFIG_UNIX98_PTYS" = "y" ]; then
351       int 'Maximum number of Unix98 PTYs in use (0-2048)' CONFIG_UNIX98_PTY_COUNT 256
352    fi
353    endmenu
356 source fs/Config.in
358 if [ "$CONFIG_VT" = "y" ]; then
359    mainmenu_option next_comment
361    comment 'Console drivers'
362       if [ "$CONFIG_DECSTATION" != "y" ]; then
363          bool 'VGA text console' CONFIG_VGA_CONSOLE
364       fi
365       bool 'Support for frame buffer devices' CONFIG_FB
366       source drivers/video/Config.in
367    endmenu
370 if [ "$CONFIG_DECSTATION" != "y" ]; then
371    mainmenu_option next_comment
372    comment 'Sound'
374    tristate 'Sound card support' CONFIG_SOUND
375    if [ "$CONFIG_SOUND" != "n" ]; then
376       source drivers/sound/Config.in
377    fi
378    endmenu
381 if [ "$CONFIG_SGI_IP22" = "y" ]; then
382    source drivers/sgi/Config.in
385 source drivers/usb/Config.in
386 source drivers/input/Config.in
388 mainmenu_option next_comment
389 comment 'Kernel hacking'
391 bool 'Are you using a crosscompiler' CONFIG_CROSSCOMPILE
392 if [ "$CONFIG_MODULES" = "y" ]; then
393    bool ' Build fp execption handler module' CONFIG_MIPS_FPE_MODULE
395 if [ "$CONFIG_SERIAL" = "y" ]; then
396   bool 'Remote GDB kernel debugging' CONFIG_REMOTE_DEBUG
398 bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ
399 endmenu