1mainmenu_name "Linux/MIPS Kernel Configuration"
2
3mainmenu_option next_comment
4comment 'Code maturity level options'
5bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
6endmenu
7
8mainmenu_option next_comment
9comment 'Loadable module support'
10bool 'Enable loadable module support' CONFIG_MODULES
11if [ "$CONFIG_MODULES" = "y" ]; then
12   bool '  Set version information on all module symbols' CONFIG_MODVERSIONS
13   bool '  Kernel module loader' CONFIG_KMOD
14fi
15endmenu
16
17#
18# Keep these alphabetically sorted
19#
20mainmenu_option next_comment
21comment 'Machine selection'
22dep_bool 'Support for Acer PICA 1 chipset (EXPERIMENTAL)' CONFIG_ACER_PICA_61 $CONFIG_EXPERIMENTAL
23dep_bool 'Support for Alchemy Bosporus board' CONFIG_MIPS_BOSPORUS $CONFIG_MIPS32
24dep_bool 'Support for Alchemy Mirage board' CONFIG_MIPS_MIRAGE $CONFIG_MIPS32
25dep_bool 'Support for Alchemy Db1000 board' CONFIG_MIPS_DB1000 $CONFIG_MIPS32
26dep_bool 'Support for Alchemy Db1100 board' CONFIG_MIPS_DB1100 $CONFIG_MIPS32
27dep_bool 'Support for Alchemy Db1500 board' CONFIG_MIPS_DB1500 $CONFIG_MIPS32
28dep_bool 'Support for Alchemy Db1550 board' CONFIG_MIPS_DB1550 $CONFIG_MIPS32
29dep_bool 'Support for Alchemy PB1000 board' CONFIG_MIPS_PB1000 $CONFIG_MIPS32
30dep_bool 'Support for Alchemy PB1100 board' CONFIG_MIPS_PB1100 $CONFIG_MIPS32
31dep_bool 'Support for Alchemy PB1500 board' CONFIG_MIPS_PB1500 $CONFIG_MIPS32
32dep_bool 'Support for Alchemy Hydrogen3 board' CONFIG_MIPS_HYDROGEN3 $CONFIG_MIPS32
33dep_bool 'Support for Alchemy PB1550 board' CONFIG_MIPS_PB1550 $CONFIG_MIPS32
34dep_bool 'Support for MyCable XXS1500 board' CONFIG_MIPS_XXS1500 $CONFIG_MIPS32
35dep_bool 'Support for 4G Systems MTX-1 board' CONFIG_MIPS_MTX1 $CONFIG_MIPS32
36dep_bool 'Support for Cogent CSB250 board' CONFIG_COGENT_CSB250 $CONFIG_MIPS32
37dep_bool 'Support for BAGET MIPS series (EXPERIMENTAL)' CONFIG_BAGET_MIPS $CONFIG_MIPS32 $CONFIG_EXPERIMENTAL
38bool 'Support for CASIO CASSIOPEIA E-10/15/55/65' CONFIG_CASIO_E55
39dep_bool 'Support for Cobalt Server (EXPERIMENTAL)' CONFIG_MIPS_COBALT $CONFIG_EXPERIMENTAL
40if [ "$CONFIG_MIPS32" = "y" -o "$CONFIG_EXPERIMENTAL" = "y" ]; then
41   bool 'Support for DECstations' CONFIG_DECSTATION
42fi
43dep_bool 'Support for Galileo EV64120 Evaluation board (EXPERIMENTAL)' CONFIG_MIPS_EV64120 $CONFIG_EXPERIMENTAL
44if [ "$CONFIG_MIPS_EV64120" = "y" ]; then
45   bool '  Enable Second PCI (PCI1)' CONFIG_EVB_PCI1
46   choice '  Galileo Chip Clock' \
47	"75	CONFIG_SYSCLK_75 \
48	 83.3	CONFIG_SYSCLK_83 \
49	 100	CONFIG_SYSCLK_100" 83.3
50fi
51dep_bool 'Support for Galileo EV96100 Evaluation board (EXPERIMENTAL)' CONFIG_MIPS_EV96100 $CONFIG_EXPERIMENTAL
52bool 'Support for Globespan IVR board' CONFIG_MIPS_IVR
53bool 'Support for Hewlett Packard LaserJet board' CONFIG_HP_LASERJET
54bool 'Support for IBM WorkPad z50' CONFIG_IBM_WORKPAD
55if [ "$CONFIG_IBM_WORKPAD" = "y" ]; then
56   tristate '  NEC VRC4171 support' CONFIG_VRC4171
57fi
58bool 'Support for LASAT Networks platforms' CONFIG_LASAT
59if [ "$CONFIG_LASAT" = "y" ]; then
60   tristate '  PICVUE LCD display driver' CONFIG_PICVUE
61   dep_tristate '   PICVUE LCD display driver /proc interface' CONFIG_PICVUE_PROC $CONFIG_PICVUE
62   bool '  DS1603 RTC driver' CONFIG_DS1603
63   if [ "$CONFIG_DS1603" = "y" ]; then
64      define_bool CONFIG_MIPS_RTC y
65   fi
66   bool '  LASAT sysctl interface' CONFIG_LASAT_SYSCTL
67fi
68bool 'Support for ITE 8172G board' CONFIG_MIPS_ITE8172
69if [ "$CONFIG_MIPS_ITE8172" = "y" ]; then
70   bool '  Support for older IT8172 (Rev C)' CONFIG_IT8172_REVC
71fi
72bool 'Support for MIPS Atlas board' CONFIG_MIPS_ATLAS
73bool 'Support for MIPS Magnum 4000' CONFIG_MIPS_MAGNUM_4000
74bool 'Support for MIPS Malta board' CONFIG_MIPS_MALTA
75dep_bool 'Support for MIPS SEAD board (EXPERIMENTAL)' CONFIG_MIPS_SEAD $CONFIG_EXPERIMENTAL
76bool 'Support for Momentum Ocelot board' CONFIG_MOMENCO_OCELOT
77bool 'Support for Momentum Ocelot-G board' CONFIG_MOMENCO_OCELOT_G
78bool 'Support for Momentum Ocelot-C and -CS boards' CONFIG_MOMENCO_OCELOT_C
79bool 'Support for Momentum Jaguar-ATX boards' CONFIG_MOMENCO_JAGUAR_ATX
80bool 'Support for PMC-Sierra Big Sur board' CONFIG_PMC_BIG_SUR
81bool 'Support for PMC-Sierra Stretch board' CONFIG_PMC_STRETCH
82bool 'Support for PMC-Sierra Yosemite board' CONFIG_PMC_YOSEMITE
83if [ "$CONFIG_PMC_YOSEMITE" = "y" ]; then
84   bool '  Hypertransport Support for PMC-Sierra Yosemite'  CONFIG_HYPERTRANSPORT
85fi
86dep_bool 'Support for NEC DDB Vrc-5074 (EXPERIMENTAL)' CONFIG_DDB5074 $CONFIG_EXPERIMENTAL
87bool 'Support for NEC DDB Vrc-5476' CONFIG_DDB5476
88bool 'Support for NEC DDB Vrc-5477' CONFIG_DDB5477
89if [ "$CONFIG_DDB5477" = "y" ]; then
90   int '   bus frequency (in kHZ, 0 for auto-detect)' CONFIG_DDB5477_BUS_FREQUENCY 0
91fi
92bool 'Support for NEC Osprey board' CONFIG_NEC_OSPREY
93bool 'Support for NEC Eagle/Hawk board' CONFIG_NEC_EAGLE
94if [ "$CONFIG_NEC_EAGLE" = "y" ]; then
95   tristate '  NEC VRC4173 support' CONFIG_VRC4173
96fi
97bool 'Support for Olivetti M700-10' CONFIG_OLIVETTI_M700
98dep_bool 'Support for Philips Nino (EXPERIMENTAL)' CONFIG_NINO $CONFIG_MIPS32 $CONFIG_EXPERIMENTAL
99if [ "$CONFIG_NINO" = "y" ]; then
100   choice 'Nino Model Number' \
101	"Model-300/301/302/319			CONFIG_NINO_4MB \
102	 Model-200/210/312/320/325/350/390	CONFIG_NINO_8MB \
103	 Model-500/510				CONFIG_NINO_16MB" Model-200
104fi
105bool 'Support for SGI IP22 (Indy/Indigo2)' CONFIG_SGI_IP22
106dep_bool 'Support for SGI IP27 (Origin200/2000)' CONFIG_SGI_IP27 $CONFIG_MIPS64
107if [ "$CONFIG_SGI_IP27" = "y" ]; then
108   bool '  IP27 N-Mode' CONFIG_SGI_SN0_N_MODE
109   bool '  Discontiguous Memory Support' CONFIG_DISCONTIGMEM
110   bool '  NUMA Support' CONFIG_NUMA
111   bool '  Mapped kernel support' CONFIG_MAPPED_KERNEL
112   bool '  Kernel text replication support' CONFIG_REPLICATE_KTEXT
113   bool '  Exception handler replication support' CONFIG_REPLICATE_EXHANDLERS
114   define_bool CONFIG_SMP_CAPABLE y
115   #bool '  IP27 XXL' CONFIG_SGI_SN0_XXL
116fi
117dep_bool 'Support for Broadcom BCM1xxx SOCs (EXPERIMENTAL)' CONFIG_SIBYTE_SB1xxx_SOC $CONFIG_EXPERIMENTAL
118if [ "$CONFIG_SIBYTE_SB1xxx_SOC" = "y" ]; then
119   choice '   BCM1xxx SOC-based board' \
120          "BCM91250A-SWARM      CONFIG_SIBYTE_SWARM \
121           BCM91250E-Sentosa    CONFIG_SIBYTE_SENTOSA \
122           BCM91125E-Rhone      CONFIG_SIBYTE_RHONE \
123           BCM91120x-Carmel     CONFIG_SIBYTE_CARMEL \
124           BCM91250PT-PTSwarm   CONFIG_SIBYTE_PTSWARM \
125           BCM91250C2-LittleSur CONFIG_SIBYTE_LITTLESUR \
126           BCM91120C-CRhine     CONFIG_SIBYTE_CRHINE \
127           BCM91125C-CRhone     CONFIG_SIBYTE_CRHONE \
128           Other                CONFIG_SIBYTE_UNKNOWN" BCM91250A-SWARM
129
130   if [ "$CONFIG_SIBYTE_UNKNOWN" = "y" ]; then
131      choice '   BCM1xxx SOC Type' \
132          "BCM1250     CONFIG_SIBYTE_SB1250 \
133           BCM1120     CONFIG_SIBYTE_BCM1120 \
134           BCM1125     CONFIG_SIBYTE_BCM1125 \
135           BCM1125H    CONFIG_SIBYTE_BCM1125H" BCM1250
136      unset CONFIG_SIBYTE_BOARD
137   else
138      define_bool CONFIG_SIBYTE_BOARD y
139      if [ "$CONFIG_SIBYTE_SWARM" = "y" -o \
140           "$CONFIG_SIBYTE_LITTLESUR" = "y" -o \
141           "$CONFIG_SIBYTE_PTSWARM" = "y" -o \
142           "$CONFIG_SIBYTE_SENTOSA" = "y" ]; then
143         define_bool CONFIG_SIBYTE_SB1250 y
144         unset CONFIG_SIBYTE_BCM1120
145         unset CONFIG_SIBYTE_BCM1125
146         unset CONFIG_SIBYTE_BCM1125H
147      fi
148      if [ "$CONFIG_SIBYTE_CRHINE" = "y" -o \
149           "$CONFIG_SIBYTE_CARMEL" = "y" ]; then
150         define_bool CONFIG_SIBYTE_BCM1120 y
151         unset CONFIG_SIBYTE_SB1250
152         unset CONFIG_SIBYTE_BCM1125
153         unset CONFIG_SIBYTE_BCM1125H
154      fi
155      if [ "$CONFIG_SIBYTE_CRHONE" = "y" -o \
156           "$CONFIG_SIBYTE_RHONE" = "y" ]; then
157         define_bool CONFIG_SIBYTE_BCM1125H y
158         unset CONFIG_SIBYTE_SB1250
159         unset CONFIG_SIBYTE_BCM1120
160         unset CONFIG_SIBYTE_BCM1125
161      fi
162   fi
163
164   if [ "$CONFIG_SIBYTE_BCM1120" = "y" -o \
165        "$CONFIG_SIBYTE_BCM1125" = "y" -o \
166        "$CONFIG_SIBYTE_BCM1125H" = "y" ]; then
167      define_bool CONFIG_SIBYTE_BCM112X y
168      choice 'BCM112x Stepping' \
169         "Hybrid CONFIG_CPU_SB1_PASS_2 \
170          An     CONFIG_CPU_SB1_PASS_3" An
171   else
172      unset CONFIG_SIBYTE_BCM112X
173      choice 'BCM1250 Stepping' \
174         "Pass1   CONFIG_CPU_SB1_PASS_1 \
175          An      CONFIG_CPU_SB1_PASS_2 \
176          Bn      CONFIG_CPU_SB1_PASS_2_2 \
177          Cn      CONFIG_CPU_SB1_PASS_4" An
178   fi
179
180   bool '   Booting from CFE' CONFIG_SIBYTE_CFE
181   dep_bool '     Use firmware console' CONFIG_SIBYTE_CFE_CONSOLE $CONFIG_SIBYTE_CFE
182   if [ "$CONFIG_SIBYTE_CFE" = "n" ]; then
183      define_bool CONFIG_SIBYTE_STANDALONE y
184      int  '   Memory size (in megabytes)' CONFIG_SIBYTE_STANDALONE_RAM_SIZE 32
185   fi
186
187   bool '   Support for Bus Watcher statistics' CONFIG_SIBYTE_BUS_WATCHER
188   if [ "$CONFIG_SIBYTE_TBPROF" = "n" ]; then
189      dep_bool '     Capture bus trace before bus error' CONFIG_SIBYTE_BW_TRACE $CONFIG_SIBYTE_BUS_WATCHER
190   fi
191
192   bool '   Support for SB1/SOC profiling - SB1/SCD perf counters' CONFIG_SIBYTE_SB1250_PROF
193   bool '   Support for ZBbus profiling' CONFIG_SIBYTE_TBPROF
194
195   if [ "$CONFIG_SIBYTE_SWARM" = "y" -o \
196        "$CONFIG_SIBYTE_LITTLESUR" = "y" -o \
197        "$CONFIG_SIBYTE_PTSWARM" = "y" -o \
198        "$CONFIG_SIBYTE_CARMEL" = "y" ]; then
199      define_bool CONFIG_SIBYTE_GENBUS_IDE y
200   fi
201
202   if [ "$CONFIG_SIBYTE_SB1250" = "y" -a \
203        "$CONFIG_SIBYTE_STANDALONE" != "y" ]; then
204      define_bool CONFIG_SMP_CAPABLE y
205   fi
206   define_bool CONFIG_MIPS_RTC y
207fi
208bool 'Support for SNI RM200 PCI' CONFIG_SNI_RM200_PCI
209bool 'Support for TANBAC TB0226 (Mbase)' CONFIG_TANBAC_TB0226
210bool 'Support for TANBAC TB0229 (VR4131DIMM)' CONFIG_TANBAC_TB0229
211if [ "$CONFIG_TANBAC_TB0229" = "y" ]; then
212   bool '  Add TANBAC TB0219 Base board support' CONFIG_TANBAC_TB0219
213fi
214
215dep_bool 'Support for Toshiba JMR-TX3927 board' CONFIG_TOSHIBA_JMR3927 $CONFIG_MIPS32
216bool 'Support for Toshiba RBTX49[23]7 Reference Board' CONFIG_TOSHIBA_RBTX4927
217bool 'Support for Victor MP-C303/304' CONFIG_VICTOR_MPC30X
218if [ "$CONFIG_VICTOR_MPC30X" = "y" ]; then
219   tristate '  NEC VRC4173 support' CONFIG_VRC4173
220fi
221bool 'Support for ZAO Networks Capcella' CONFIG_ZAO_CAPCELLA
222
223dep_bool 'High Memory Support' CONFIG_HIGHMEM $CONFIG_MIPS32
224
225define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y
226define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
227
228#
229# Select some configuration options automatically based on user selections.
230#
231if [ "$CONFIG_ACER_PICA_61" = "y" ]; then
232   define_bool CONFIG_ARC32 y
233   define_bool CONFIG_I8259 y
234   define_bool CONFIG_ISA y
235   define_bool CONFIG_MIPS_JAZZ y
236   define_bool CONFIG_NONCOHERENT_IO y
237   define_bool CONFIG_PC_KEYB y
238fi
239if [ "$CONFIG_CASIO_E55" = "y" ]; then
240   define_bool CONFIG_IRQ_CPU y
241   define_bool CONFIG_NONCOHERENT_IO y
242   define_bool CONFIG_ISA y
243   define_bool CONFIG_DUMMY_KEYB y
244   define_bool CONFIG_SCSI n
245fi
246if [ "$CONFIG_MIPS_MIRAGE" = "y" ]; then
247   define_bool CONFIG_SOC_AU1X00 y
248   define_bool CONFIG_SOC_AU1500 y
249   define_bool CONFIG_PC_KEYB y
250   define_bool CONFIG_NONCOHERENT_IO y
251fi
252if [ "$CONFIG_MIPS_BOSPORUS" = "y" ]; then
253   define_bool CONFIG_SOC_AU1X00 y
254   define_bool CONFIG_SOC_AU1500 y
255   define_bool CONFIG_PC_KEYB y
256   define_bool CONFIG_NONCOHERENT_IO y
257fi
258if [ "$CONFIG_MIPS_PB1000" = "y" ]; then
259   define_bool CONFIG_SOC_AU1X00 y
260   define_bool CONFIG_SOC_AU1000 y
261   define_bool CONFIG_NONCOHERENT_IO y
262   define_bool CONFIG_PC_KEYB y
263   define_bool CONFIG_SWAP_IO_SPACE_W y
264   define_bool CONFIG_SWAP_IO_SPACE_L y
265fi
266if [ "$CONFIG_MIPS_PB1100" = "y" ]; then
267   define_bool CONFIG_SOC_AU1X00 y
268   define_bool CONFIG_SOC_AU1100 y
269   define_bool CONFIG_NONCOHERENT_IO y
270   define_bool CONFIG_PC_KEYB y
271   define_bool CONFIG_SWAP_IO_SPACE_W y
272   define_bool CONFIG_SWAP_IO_SPACE_L y
273fi
274if [ "$CONFIG_MIPS_PB1500" = "y" ]; then
275   define_bool CONFIG_SOC_AU1X00 y
276   define_bool CONFIG_SOC_AU1500 y
277   define_bool CONFIG_NONCOHERENT_IO y
278   define_bool CONFIG_PC_KEYB y
279fi
280if [ "$CONFIG_MIPS_DB1000" = "y" ]; then
281   define_bool CONFIG_SOC_AU1X00 y
282   define_bool CONFIG_SOC_AU1000 y
283   define_bool CONFIG_NONCOHERENT_IO y
284   define_bool CONFIG_PC_KEYB y
285   define_bool CONFIG_SWAP_IO_SPACE y
286fi
287if [ "$CONFIG_MIPS_DB1500" = "y" ]; then
288   define_bool CONFIG_SOC_AU1X00 y
289   define_bool CONFIG_SOC_AU1500 y
290   define_bool CONFIG_NONCOHERENT_IO y
291   define_bool CONFIG_PC_KEYB y
292fi
293if [ "$CONFIG_MIPS_DB1550" = "y" ]; then
294   define_bool CONFIG_SOC_AU1X00 y
295   define_bool CONFIG_SOC_AU1550 y
296   define_bool CONFIG_NONCOHERENT_IO y
297   define_bool CONFIG_PC_KEYB y
298fi
299if [ "$CONFIG_MIPS_DB1100" = "y" ]; then
300   define_bool CONFIG_SOC_AU1X00 y
301   define_bool CONFIG_SOC_AU1100 y
302   define_bool CONFIG_NONCOHERENT_IO y
303   define_bool CONFIG_PC_KEYB y
304   define_bool CONFIG_SWAP_IO_SPACE y
305fi
306if [ "$CONFIG_MIPS_HYDROGEN3" = "y" ]; then
307   define_bool CONFIG_SOC_AU1X00 y
308   define_bool CONFIG_SOC_AU1100 y
309   define_bool CONFIG_NONCOHERENT_IO y
310   define_bool CONFIG_PC_KEYB y
311   define_bool CONFIG_SWAP_IO_SPACE y
312fi
313if [ "$CONFIG_MIPS_XXS1500" = "y" ]; then
314   define_bool CONFIG_SOC_AU1X00 y
315   define_bool CONFIG_SOC_AU1500 y
316   define_bool CONFIG_NONCOHERENT_IO y
317   define_bool CONFIG_PC_KEYB y
318fi
319if [ "$CONFIG_MIPS_MTX1" = "y" ]; then
320   define_bool CONFIG_SOC_AU1X00 y
321   define_bool CONFIG_SOC_AU1500 y
322   define_bool CONFIG_NONCOHERENT_IO y
323fi
324if [ "$CONFIG_COGENT_CSB250" = "y" ]; then
325   define_bool CONFIG_SOC_AU1X00 y
326   define_bool CONFIG_SOC_AU1500 y
327   define_bool CONFIG_NONCOHERENT_IO y
328   define_bool CONFIG_PC_KEYB y
329fi
330if [ "$CONFIG_MIPS_PB1550" = "y" ]; then
331   define_bool CONFIG_SOC_AU1X00 y
332   define_bool CONFIG_SOC_AU1550 y
333   define_bool CONFIG_NONCOHERENT_IO n
334   define_bool CONFIG_PC_KEYB y
335fi
336if [ "$CONFIG_MIPS_COBALT" = "y" ]; then
337   define_bool CONFIG_BOOT_ELF32 y
338   define_bool CONFIG_COBALT_LCD y
339   define_bool CONFIG_I8259 y
340   define_bool CONFIG_NONCOHERENT_IO y
341fi
342if [ "$CONFIG_DECSTATION" = "y" ]; then
343   define_bool CONFIG_EARLY_PRINTK y
344   define_bool CONFIG_BOOT_ELF32 y
345   define_bool CONFIG_IRQ_CPU y
346   define_int CONFIG_L1_CACHE_SHIFT 4
347   define_bool CONFIG_NONCOHERENT_IO y
348fi
349if [ "$CONFIG_MIPS_EV64120" = "y" ]; then
350   define_bool CONFIG_MIPS_GT64120 y
351   define_bool CONFIG_NONCOHERENT_IO y
352fi
353if [ "$CONFIG_MIPS_EV96100" = "y" ]; then
354   define_bool CONFIG_MIPS_GT64120 y
355   define_bool CONFIG_MIPS_GT96100 y
356   define_bool CONFIG_NONCOHERENT_IO y
357   define_bool CONFIG_SWAP_IO_SPACE_W y
358   define_bool CONFIG_SWAP_IO_SPACE_L y
359fi
360if [ "$CONFIG_MIPS_IVR" = "y" ]; then
361   define_bool CONFIG_PC_KEYB y
362   define_bool CONFIG_NONCOHERENT_IO y
363   define_bool CONFIG_IT8172_CIR y
364fi
365if [ "$CONFIG_HP_LASERJET" = "y" ]; then
366   define_bool CONFIG_IRQ_CPU y
367   define_bool CONFIG_NONCOHERENT_IO y
368fi
369if [ "$CONFIG_IBM_WORKPAD" = "y" ]; then
370   define_bool CONFIG_IRQ_CPU y
371   define_bool CONFIG_NONCOHERENT_IO y
372   define_bool CONFIG_ISA y
373   define_bool CONFIG_SCSI n
374fi
375if [ "$CONFIG_LASAT" = "y" ]; then
376   define_bool CONFIG_BOARD_SCACHE y
377   define_bool CONFIG_R5000_CPU_SCACHE y
378   define_bool CONFIG_MIPS_GT64120 y
379   define_bool CONFIG_MIPS_NILE4 y
380   define_bool CONFIG_NONCOHERENT_IO y
381fi
382if [ "$CONFIG_MIPS_ITE8172" = "y" ]; then
383   define_bool CONFIG_IT8712 y
384   define_bool CONFIG_PC_KEYB y
385   define_bool CONFIG_NONCOHERENT_IO y
386   define_bool CONFIG_IT8172_CIR y
387fi
388if [ "$CONFIG_MIPS_ATLAS" = "y" ]; then
389   define_bool CONFIG_BOOT_ELF32 y
390   define_int CONFIG_L1_CACHE_SHIFT 5
391   define_bool CONFIG_MIPS_BONITO64 y
392   define_bool CONFIG_MIPS_GT64120 y
393   define_bool CONFIG_MIPS_MSC y
394   define_bool CONFIG_NONCOHERENT_IO y
395   define_bool CONFIG_SWAP_IO_SPACE_W y
396   define_bool CONFIG_SWAP_IO_SPACE_L y
397fi
398if [ "$CONFIG_MIPS_MAGNUM_4000" = "y" -o \
399     "$CONFIG_OLIVETTI_M700"    = "y" ]; then
400   define_bool CONFIG_ARC32 y
401   define_bool CONFIG_I8259 y
402   define_bool CONFIG_ISA y
403   define_bool CONFIG_FB y
404   define_bool CONFIG_FB_G364 y
405   define_bool CONFIG_MIPS_JAZZ y
406   define_bool CONFIG_NONCOHERENT_IO y
407   define_bool CONFIG_PC_KEYB y
408fi
409if [ "$CONFIG_MIPS_MALTA" = "y" ]; then
410   define_bool CONFIG_BOOT_ELF32 y
411   define_bool CONFIG_HAVE_STD_PC_SERIAL_PORT y
412   define_bool CONFIG_I8259 y
413   define_bool CONFIG_MIPS_BONITO64 y
414   define_bool CONFIG_MIPS_GT64120 y
415   define_bool CONFIG_MIPS_MSC y
416   define_int CONFIG_L1_CACHE_SHIFT 5
417   define_bool CONFIG_NONCOHERENT_IO y
418   define_bool CONFIG_SWAP_IO_SPACE_W y
419   define_bool CONFIG_SWAP_IO_SPACE_L y
420   define_bool CONFIG_PC_KEYB y
421fi
422if [ "$CONFIG_MIPS_SEAD" = "y" ]; then
423   define_bool CONFIG_BOOT_ELF32 y
424   define_int CONFIG_L1_CACHE_SHIFT 5
425   define_bool CONFIG_NONCOHERENT_IO y
426fi
427if [ "$CONFIG_MOMENCO_OCELOT" = "y" ]; then
428   define_bool CONFIG_SYSCLK_100 y
429   define_bool CONFIG_SWAP_IO_SPACE_W y
430   define_bool CONFIG_SWAP_IO_SPACE_L y
431   define_bool CONFIG_NONCOHERENT_IO y
432fi
433if [ "$CONFIG_MOMENCO_OCELOT_G" = "y" ]; then
434   define_bool CONFIG_IRQ_CPU y
435   define_bool CONFIG_IRQ_CPU_RM7K y
436   define_bool CONFIG_NONCOHERENT_IO y
437   define_bool CONFIG_SYSCLK_100 y
438   define_bool CONFIG_SWAP_IO_SPACE_W y
439   define_bool CONFIG_SWAP_IO_SPACE_L y
440fi
441if [ "$CONFIG_MOMENCO_OCELOT_C" = "y" ]; then
442   define_bool CONFIG_SWAP_IO_SPACE y
443   define_bool CONFIG_NONCOHERENT_IO y
444   define_bool CONFIG_BOOT_ELF32 y
445fi
446if [ "$CONFIG_PMC_BIG_SUR" = "y" ]; then
447   define_bool CONFIG_BOOT_ELF32 y
448fi
449if [ "$CONFIG_MOMENCO_JAGUAR_ATX" = "y" ]; then
450   define_bool CONFIG_SWAP_IO_SPACE y
451   define_bool CONFIG_NONCOHERENT_IO y
452   define_bool CONFIG_BOOT_ELF32 y
453fi
454
455if [ "$CONFIG_PMC_STRETCH" = "y" ]; then
456   define_bool CONFIG_SWAP_IO_SPACE_W y
457   define_bool CONFIG_SWAP_IO_SPACE_L y
458   define_bool CONFIG_PCI y
459   define_bool CONFIG_BOOT_ELF32 y
460   define_bool CONFIG_NONCOHERENT_IO y
461fi
462
463if [ "$CONFIG_PMC_YOSEMITE" = "y" ]; then
464   define_bool CONFIG_SWAP_IO_SPACE y
465   define_bool CONFIG_SWAP_IO_SPACE_W y
466   define_bool CONFIG_SWAP_IO_SPACE_L y
467   define_bool CONFIG_BOOT_ELF32 y
468   define_bool CONFIG_HIGHMEM y
469   define_bool CONFIG_NONCOHERENT_IO y
470fi
471
472if [ "$CONFIG_DDB5074" = "y" ]; then
473   define_bool CONFIG_HAVE_STD_PC_SERIAL_PORT y
474   define_bool CONFIG_I8259 y
475   define_bool CONFIG_ISA y
476   define_bool CONFIG_NONCOHERENT_IO y
477   define_bool CONFIG_PC_KEYB y
478   define_bool CONFIG_IRQ_CPU y
479fi
480if [ "$CONFIG_DDB5476"  = "y" ]; then
481   define_bool CONFIG_ISA y
482   define_bool CONFIG_PC_KEYB y
483   define_bool CONFIG_IRQ_CPU y
484   define_bool CONFIG_I8259 y
485   define_bool CONFIG_HAVE_STD_PC_SERIAL_PORT y
486   define_bool CONFIG_NONCOHERENT_IO y
487fi
488if [ "$CONFIG_DDB5477" = "y" ]; then
489   define_bool CONFIG_IRQ_CPU y
490   define_bool CONFIG_NONCOHERENT_IO y
491   define_bool CONFIG_PC_KEYB y
492   define_bool CONFIG_I8259 y
493fi
494if [ "$CONFIG_NEC_OSPREY" = "y" ]; then
495   define_bool CONFIG_VR4181 y
496   define_bool CONFIG_IRQ_CPU y
497   define_bool CONFIG_NONCOHERENT_IO y
498   define_bool CONFIG_DUMMY_KEYB y
499   define_bool CONFIG_SCSI n
500fi
501if [ "$CONFIG_NEC_EAGLE" = "y" ]; then
502   define_bool CONFIG_IRQ_CPU y
503   define_bool CONFIG_NONCOHERENT_IO y
504   define_bool CONFIG_DUMMY_KEYB y
505   define_bool CONFIG_SCSI n
506fi
507if [ "$CONFIG_NINO" = "y" ]; then
508   define_bool CONFIG_NONCOHERENT_IO y
509   define_bool CONFIG_PC_KEYB y
510fi
511if [ "$CONFIG_SGI_IP22" = "y" ]; then
512   define_bool CONFIG_ARC32 y
513   define_bool CONFIG_ARC_PROMLIB y
514   define_bool CONFIG_BOARD_SCACHE y
515   define_bool CONFIG_BOOT_ELF32 y
516   define_bool CONFIG_SWAP_IO_SPACE_W n
517   define_bool CONFIG_SWAP_IO_SPACE_L y
518   define_bool CONFIG_IRQ_CPU y
519   define_int CONFIG_L1_CACHE_SHIFT 5
520   define_bool CONFIG_NONCOHERENT_IO y
521   define_bool CONFIG_PC_KEYB y
522fi
523if [ "$CONFIG_SGI_IP27" = "y" ]; then
524   define_bool CONFIG_BOOT_ELF64 y
525   define_bool CONFIG_ARC64 y
526   define_int CONFIG_L1_CACHE_SHIFT 7
527   #define_bool CONFIG_MAPPED_PCI_IO y
528   define_bool CONFIG_QL_ISP_A64 y
529fi
530if [ "$CONFIG_SIBYTE_SB1xxx_SOC" = "y" ]; then
531   define_bool CONFIG_DUMMY_KEYB y
532   define_bool CONFIG_SWAP_IO_SPACE_W y
533   define_bool CONFIG_SWAP_IO_SPACE_L y
534   define_bool CONFIG_BOOT_ELF32 y
535fi
536if [ "$CONFIG_SNI_RM200_PCI" = "y" ]; then
537   define_bool CONFIG_ARC32 y
538   define_bool CONFIG_ARC_MEMORY y
539   define_bool CONFIG_ARC_PROMLIB y
540   define_bool CONFIG_I8259 y
541   define_bool CONFIG_ISA y
542   define_bool CONFIG_NONCOHERENT_IO y
543   define_bool CONFIG_PC_KEYB y
544fi
545if [ "$CONFIG_TANBAC_TB0226" = "y" ]; then
546   define_bool CONFIG_IRQ_CPU y
547   define_bool CONFIG_NONCOHERENT_IO y
548   define_bool CONFIG_DUMMY_KEYB y
549   define_bool CONFIG_SERIAL_MANY_PORTS y
550fi
551if [ "$CONFIG_TANBAC_TB0229" = "y" ]; then
552   define_bool CONFIG_IRQ_CPU y
553   define_bool CONFIG_NONCOHERENT_IO y
554   define_bool CONFIG_DUMMY_KEYB y
555   define_bool CONFIG_SERIAL_MANY_PORTS y
556fi
557if [ "$CONFIG_TOSHIBA_JMR3927" = "y" ]; then
558   define_bool CONFIG_TOSHIBA_BOARDS y
559   define_bool CONFIG_NONCOHERENT_IO y
560   define_bool CONFIG_SWAP_IO_SPACE_W y
561   define_bool CONFIG_SWAP_IO_SPACE_L y
562   define_bool CONFIG_PC_KEYB y
563fi
564if [ "$CONFIG_TOSHIBA_RBTX4927" = "y" ]; then
565   define_bool CONFIG_SWAP_IO_SPACE_W y
566   define_bool CONFIG_SWAP_IO_SPACE_L y
567   define_bool CONFIG_ISA y
568   define_bool CONFIG_NONCOHERENT_IO y
569fi
570if [ "$CONFIG_VICTOR_MPC30X" = "y" ]; then
571   define_bool CONFIG_IRQ_CPU y
572   define_bool CONFIG_NONCOHERENT_IO y
573   define_bool CONFIG_SCSI n
574fi
575if [ "$CONFIG_ZAO_CAPCELLA" = "y" ]; then
576   define_bool CONFIG_IRQ_CPU y
577   define_bool CONFIG_NONCOHERENT_IO y
578   define_bool CONFIG_DUMMY_KEYB y
579   define_bool CONFIG_SCSI n
580fi
581
582if [ "$CONFIG_MIPS_AU1000" != "y" ]; then
583   define_bool CONFIG_MIPS_AU1000 n
584fi
585endmenu
586
587mainmenu_option next_comment
588comment 'CPU selection'
589
590choice 'CPU type' \
591	"MIPS32	CONFIG_CPU_MIPS32 \
592	 MIPS64	CONFIG_CPU_MIPS64 \
593	 R3000	CONFIG_CPU_R3000 \
594	 R39XX	CONFIG_CPU_TX39XX \
595	 R41xx	CONFIG_CPU_VR41XX \
596	 R4300	CONFIG_CPU_R4300 \
597	 R4x00	CONFIG_CPU_R4X00 \
598	 R49XX	CONFIG_CPU_TX49XX \
599	 R5000	CONFIG_CPU_R5000 \
600	 R5432	CONFIG_CPU_R5432 \
601	 R6000	CONFIG_CPU_R6000 \
602	 R52xx	CONFIG_CPU_NEVADA \
603	 R8000	CONFIG_CPU_R8000 \
604	 R10000	CONFIG_CPU_R10000 \
605	 RM7000	CONFIG_CPU_RM7000 \
606	 RM9000	CONFIG_CPU_RM9000 \
607	 SB1	CONFIG_CPU_SB1" R4x00
608
609if [ "$CONFIG_CPU_R3000" = "n" -a "$CONFIG_CPU_TX39XX" = "n" -a \
610     "$CONFIG_EXPERIMENTAL" = "y" ]; then
611   choice 'Kernel page size'					\
612	"4KB                    CONFIG_PAGE_SIZE_4KB		\
613	 16KB                   CONFIG_PAGE_SIZE_16KB		\
614	 64KB                   CONFIG_PAGE_SIZE_64KB" 4KB
615else
616   define_bool CONFIG_PAGE_SIZE_4KB y
617fi
618
619if [ "$CONFIG_SMP_CAPABLE" = "y" ]; then
620   bool '  Multi-Processing support' CONFIG_SMP
621fi
622
623if [ "$CONFIG_CPU_MIPS32" = "y" -o "$CONFIG_CPU_MIPS64" = "y" ]; then
624   define_bool CONFIG_CPU_HAS_PREFETCH y
625   bool '  Support for Virtual Tagged I-cache' CONFIG_VTAG_ICACHE
626fi
627
628if [ "$CONFIG_CPU_RM7000" = "y" ]; then
629   define_bool CONFIG_BOARD_SCACHE y
630   define_bool CONFIG_CPU_HAS_PREFETCH y
631   define_bool CONFIG_RM7000_CPU_SCACHE y
632fi
633if [ "$CONFIG_CPU_RM9000" = "y" ]; then
634   define_bool CONFIG_BOARD_SCACHE y
635   define_bool CONFIG_CPU_HAS_PREFETCH y
636   define_bool CONFIG_RM7000_CPU_SCACHE y
637fi
638
639if [ "$CONFIG_CPU_SB1" = "y" ]; then
640   bool '  Use DMA to clear/copy pages' CONFIG_SIBYTE_DMA_PAGEOPS
641   # SB1 Pass-specific options
642   if [ "$CONFIG_CPU_SB1_PASS_1" = "y" ]; then
643      define_bool CONFIG_SB1_PASS_1_WORKAROUNDS y
644   fi
645   if [ "$CONFIG_CPU_SB1_PASS_2" = "y" ]; then
646      define_bool CONFIG_SB1_PASS_2_WORKAROUNDS y
647      define_bool CONFIG_SB1_PASS_2_1_WORKAROUNDS y
648   else
649      # Avoid prefetches on Pass 2 (before 2.2)
650      bool '  Enable prefetches' CONFIG_CPU_HAS_PREFETCH
651   fi
652   if [ "$CONFIG_CPU_SB1_PASS_2_2" = "y" ]; then
653      # XXXKW for now, let 2.2 use same WORKAROUNDS flag as pre-2.2
654      define_bool CONFIG_SB1_PASS_2_WORKAROUNDS y
655   fi
656
657   define_bool CONFIG_VTAG_ICACHE y
658fi
659
660if [ "$CONFIG_CPU_R4X00"  = "y" -o \
661     "$CONFIG_CPU_R5000"  = "y" -o \
662     "$CONFIG_CPU_RM7000" = "y" -o \
663     "$CONFIG_CPU_RM9000" = "y" -o \
664     "$CONFIG_CPU_R10000" = "y" -o \
665     "$CONFIG_CPU_SB1"    = "y" -o \
666     "$CONFIG_CPU_MIPS32" = "y" -o \
667     "$CONFIG_CPU_MIPS64" = "y" ]; then
668   dep_bool '  Support for 64-bit physical address space' CONFIG_64BIT_PHYS_ADDR $CONFIG_MIPS32
669fi
670
671dep_bool 'Override CPU Options' CONFIG_CPU_ADVANCED $CONFIG_MIPS32
672if [ "$CONFIG_CPU_ADVANCED" = "y" ]; then
673   bool '  ll/sc Instructions available' CONFIG_CPU_HAS_LLSC
674   bool '  lld/scd Instructions available' CONFIG_CPU_HAS_LLDSCD
675   bool '  Writeback Buffer available' CONFIG_CPU_HAS_WB
676else
677   if [ "$CONFIG_CPU_R3000"  = "y" -o \
678        "$CONFIG_CPU_VR41XX" = "y" -o \
679        "$CONFIG_CPU_TX39XX" = "y" ]; then
680      if [ "$CONFIG_DECSTATION" = "y" ]; then
681	 define_bool CONFIG_CPU_HAS_LLSC n
682	 define_bool CONFIG_CPU_HAS_LLDSCD n
683	 define_bool CONFIG_CPU_HAS_WB y
684      else
685	 define_bool CONFIG_CPU_HAS_LLSC n
686	 define_bool CONFIG_CPU_HAS_LLDSCD n
687	 define_bool CONFIG_CPU_HAS_WB n
688      fi
689   else
690      if [ "$CONFIG_CPU_MIPS32" = "y" ]; then
691	 define_bool CONFIG_CPU_HAS_LLSC y
692	 define_bool CONFIG_CPU_HAS_LLDSCD n
693	 define_bool CONFIG_CPU_HAS_WB n
694      else
695	 define_bool CONFIG_CPU_HAS_LLSC y
696	 define_bool CONFIG_CPU_HAS_LLDSCD y
697	 define_bool CONFIG_CPU_HAS_WB n
698      fi
699   fi
700fi
701if [ "$CONFIG_CPU_R3000" = "y" ]; then
702   define_bool CONFIG_CPU_HAS_SYNC n
703else
704   define_bool CONFIG_CPU_HAS_SYNC y
705fi
706endmenu
707
708#
709# Choose endianess of code to generate.  It's a frequent trap for users so the
710# config file tries it's best to choose the right endianess for those systems
711# where we know about their endianess.  We only ask the user for systems
712# known to be bi-endian; for those systems the defconfig file should defaults
713# to the common endianess used for that system.
714#
715mainmenu_option next_comment
716comment 'General setup'
717if [ "$CONFIG_ACER_PICA_61" = "y" -o \
718     "$CONFIG_CASIO_E55" = "y" -o \
719     "$CONFIG_DDB5074" = "y" -o \
720     "$CONFIG_DDB5476" = "y" -o \
721     "$CONFIG_DDB5477" = "y" -o \
722     "$CONFIG_DECSTATION" = "y" -o \
723     "$CONFIG_HP_LASERJET" = "y" -o \
724     "$CONFIG_IBM_WORKPAD" = "y" -o \
725     "$CONFIG_LASAT" = "y" -o \
726     "$CONFIG_MIPS_COBALT" = "y" -o \
727     "$CONFIG_MIPS_ITE8172" = "y" -o \
728     "$CONFIG_MIPS_IVR" = "y" -o \
729     "$CONFIG_MIPS_PB1000" = "y" -o \
730     "$CONFIG_MIPS_PB1100" = "y" -o \
731     "$CONFIG_MIPS_PB1500" = "y" -o \
732     "$CONFIG_NEC_OSPREY" = "y" -o \
733     "$CONFIG_NEC_EAGLE" = "y" -o \
734     "$CONFIG_NINO" = "y" -o \
735     "$CONFIG_OLIVETTI_M700" = "y" -o \
736     "$CONFIG_SNI_RM200_PCI" = "y" -o \
737     "$CONFIG_VICTOR_MPC30X" = "y" -o \
738     "$CONFIG_ZAO_CAPCELLA" = "y" ]; then
739   define_bool CONFIG_CPU_LITTLE_ENDIAN y
740else
741   if [ "$CONFIG_BAGET_MIPS" = "y" -o \
742	"$CONFIG_MIPS_EV64120" = "y" -o \
743	"$CONFIG_MIPS_EV96100" = "y" -o \
744	"$CONFIG_MOMENCO_OCELOT" = "y" -o \
745	"$CONFIG_MOMENCO_OCELOT_G" = "y" -o \
746	"$CONFIG_SGI_IP22" = "y" -o \
747	"$CONFIG_SGI_IP27" = "y" -o \
748	"$CONFIG_TOSHIBA_JMR3927" = "y" ]; then
749      define_bool CONFIG_CPU_LITTLE_ENDIAN n
750   else
751      bool 'Generate little endian code' CONFIG_CPU_LITTLE_ENDIAN
752   fi
753fi
754
755dep_bool 'Use 64-bit ELF format for building' CONFIG_BUILD_ELF64 $CONFIG_MIPS64
756
757if [ "$CONFIG_CPU_LITTLE_ENDIAN" = "n" ]; then
758   bool 'Include IRIX binary compatibility' CONFIG_BINFMT_IRIX
759fi
760
761if [ "$CONFIG_CPU_R10000" = "y" ]; then
762   dep_bool 'Support for large 64-bit configurations' CONFIG_MIPS_INSANE_LARGE $CONFIG_MIPS64
763fi
764
765if [ "$CONFIG_ARC32" = "y" ]; then
766   bool 'ARC console support' CONFIG_ARC_CONSOLE
767fi
768
769bool 'Networking support' CONFIG_NET
770
771if [ "$CONFIG_ACER_PICA_61" = "y" -o \
772     "$CONFIG_CASIO_E55" = "y" -o \
773     "$CONFIG_DECSTATION" = "y" -o \
774     "$CONFIG_IBM_WORKPAD" = "y" -o \
775     "$CONFIG_MIPS_MAGNUM_4000" = "y" -o \
776     "$CONFIG_MIPS_SEAD" = "y" -o \
777     "$CONFIG_NINO" = "y" -o \
778     "$CONFIG_OLIVETTI_M700" = "y" -o \
779     "$CONFIG_SGI_IP22" = "y" ]; then
780   define_bool CONFIG_PCI n
781else
782   bool 'PCI bus support' CONFIG_PCI
783   dep_bool '    New PCI bus code' CONFIG_PCI_NEW $CONFIG_PCI
784   if [ "$CONFIG_HP_LASERJET" = "y" -o \
785        "$CONFIG_LASAT" = "y" -o \
786        "$CONFIG_MIPS_ATLAS" = "y" -o \
787        "$CONFIG_MIPS_COBALT" = "y" -o \
788        "$CONFIG_MIPS_DB1000" = "y" -o \
789        "$CONFIG_MIPS_DB1100" = "y" -o \
790        "$CONFIG_MIPS_EV64120" = "y" -o \
791        "$CONFIG_MIPS_HYDROGEN3" = "y" -o \
792        "$CONFIG_MIPS_MALTA" = "y" -o \
793        "$CONFIG_MIPS_PB1100" = "y" -o \
794        "$CONFIG_MOMENCO_OCELOT" = "y" -o \
795        "$CONFIG_NEC_OSPREY" = "y" -o \
796        "$CONFIG_PMC_YOSEMITE" = "y" -o \
797        "$CONFIG_SIBYTE_SWARM" = "y" -o \
798	"$CONFIG_SNI_RM200_PCI" = "y" ]; then
799      define_bool CONFIG_PCI_AUTO n
800   else
801      define_bool CONFIG_PCI_AUTO y
802   fi
803fi
804if [ "$CONFIG_SIBYTE_SB1250" = "y" -o \
805     "$CONFIG_SIBYTE_BCM1125H" = "y" ]; then
806   if [ "$CONFIG_PCI" = "y" ]; then
807      define_bool CONFIG_SIBYTE_HAS_LDT y
808   fi
809fi
810
811if [ "$CONFIG_SGI_IP22" = "y" -o "$CONFIG_MIPS_MAGNUM_4000" = "y" -o \
812     "$CONFIG_OLIVETTI_M700" = "y" -o "$CONFIG_SNI_RM200_PCI" = "y" ]; then
813   bool 'EISA bus support' CONFIG_EISA
814fi
815
816source drivers/pci/Config.in
817
818if [ "$CONFIG_EISA" = "y" -a "$CONFIG_ISA" != "y" ]; then
819   define_bool CONFIG_ISA y
820fi
821if [ "$CONFIG_ISA" != "y" ]; then
822   define_bool CONFIG_ISA n
823fi
824
825dep_bool 'TURBOchannel support' CONFIG_TC $CONFIG_DECSTATION
826#dep_bool 'Access.Bus support' CONFIG_ACCESSBUS $CONFIG_TC
827
828define_bool CONFIG_MCA n
829define_bool CONFIG_SBUS n
830
831bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
832
833if [ "$CONFIG_HOTPLUG" = "y" ] ; then
834   source drivers/pcmcia/Config.in
835   source drivers/hotplug/Config.in
836else
837   define_bool CONFIG_PCMCIA n
838   define_bool CONFIG_HOTPLUG_PCI n
839fi
840
841bool 'System V IPC' CONFIG_SYSVIPC
842bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
843bool 'Sysctl support' CONFIG_SYSCTL
844define_bool CONFIG_KCORE_ELF y
845define_bool CONFIG_KCORE_AOUT n
846define_bool CONFIG_BINFMT_AOUT n
847bool 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
848dep_bool 'Kernel support for Linux/MIPS 32-bit binary compatibility' CONFIG_MIPS32_COMPAT $CONFIG_MIPS64
849dep_bool 'Kernel support for o32 binaries' CONFIG_MIPS32_O32 $CONFIG_MIPS32_COMPAT
850dep_bool 'Kernel support for n32 binaries' CONFIG_MIPS32_N32 $CONFIG_MIPS32_COMPAT
851if [ "$CONFIG_MIPS32_O32" = "y" -o \
852     "$CONFIG_MIPS32_N32" = "y" ]; then
853   define_bool CONFIG_BINFMT_ELF32 y
854else
855   define_bool CONFIG_BINFMT_ELF32 n
856fi
857
858tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
859bool 'Select task to kill on out of memory condition' CONFIG_OOM_KILLER
860
861bool 'Default bootloader kernel arguments' CONFIG_CMDLINE_BOOL
862if [ "$CONFIG_CMDLINE_BOOL" = "y" ] ; then
863  string 'Initial kernel command string' CONFIG_CMDLINE ""
864fi
865
866if [ "$CONFIG_SOC_AU1X00" = "y" ]; then
867   bool 'Power Management support' CONFIG_PM
868fi
869endmenu
870
871source drivers/mtd/Config.in
872
873source drivers/parport/Config.in
874
875source drivers/pnp/Config.in
876
877source drivers/block/Config.in
878if [ "$CONFIG_BLK_DEV_INITRD" = "y" ]; then
879   mainmenu_option next_comment
880   comment 'MIPS initrd options'
881   bool '  Embed root filesystem ramdisk into the kernel' CONFIG_EMBEDDED_RAMDISK
882   if [ "$CONFIG_EMBEDDED_RAMDISK" = "y" ]; then
883      string '    Filename of gziped ramdisk image' CONFIG_EMBEDDED_RAMDISK_IMAGE ramdisk.gz
884   fi
885   endmenu
886fi
887
888source drivers/md/Config.in
889
890if [ "$CONFIG_NET" = "y" ]; then
891   source net/Config.in
892fi
893
894source drivers/telephony/Config.in
895
896mainmenu_option next_comment
897comment 'ATA/IDE/MFM/RLL support'
898
899tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
900
901if [ "$CONFIG_IDE" != "n" ]; then
902   source drivers/ide/Config.in
903else
904   define_bool CONFIG_BLK_DEV_HD n
905fi
906endmenu
907
908mainmenu_option next_comment
909comment 'SCSI support'
910
911tristate 'SCSI support' CONFIG_SCSI
912
913if [ "$CONFIG_SCSI" != "n" ]; then
914   source drivers/scsi/Config.in
915fi
916endmenu
917
918source drivers/message/fusion/Config.in
919
920source drivers/ieee1394/Config.in
921
922if [ "$CONFIG_PCI" = "y" -a "$CONFIG_MIPS32" = "y" ]; then
923   source drivers/message/i2o/Config.in
924fi
925
926if [ "$CONFIG_NET" = "y" ]; then
927   mainmenu_option next_comment
928   comment 'Network device support'
929
930   bool 'Network device support' CONFIG_NETDEVICES
931   if [ "$CONFIG_NETDEVICES" = "y" ]; then
932      source drivers/net/Config.in
933      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
934	 source drivers/atm/Config.in
935      fi
936   fi
937   endmenu
938fi
939
940source net/ax25/Config.in
941
942source net/irda/Config.in
943
944if [ "$CONFIG_NET" != "n" ]; then
945   mainmenu_option next_comment
946   comment 'ISDN subsystem'
947
948   tristate 'ISDN support' CONFIG_ISDN
949   if [ "$CONFIG_ISDN" != "n" ]; then
950      source drivers/isdn/Config.in
951   fi
952   endmenu
953fi
954
955if [ "$CONFIG_ISA" = "y" ]; then
956   mainmenu_option next_comment
957   comment 'Old CD-ROM drivers (not SCSI, not IDE)'
958
959   bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
960   if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
961      source drivers/cdrom/Config.in
962   fi
963   endmenu
964fi
965
966#
967# input before char - char/joystick depends on it. As does USB.
968#
969source drivers/input/Config.in
970source drivers/char/Config.in
971
972#source drivers/misc/Config.in
973
974source fs/Config.in
975
976source drivers/media/Config.in
977
978if [ "$CONFIG_VT" = "y" ]; then
979   mainmenu_option next_comment
980   comment 'Console drivers'
981   bool 'VGA text console' CONFIG_VGA_CONSOLE
982   if [ "$CONFIG_SGI_IP22" = "y" ]; then
983      tristate 'SGI Newport Console support' CONFIG_SGI_NEWPORT_CONSOLE
984      if [ "$CONFIG_SGI_NEWPORT_CONSOLE" = "y" ]; then
985         define_bool CONFIG_FONT_8x16 y
986      fi
987      define_bool CONFIG_DUMMY_CONSOLE y
988   fi
989   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
990      tristate 'MDA text console (dual-headed) (EXPERIMENTAL)' CONFIG_MDA_CONSOLE
991      source drivers/video/Config.in
992   fi
993   endmenu
994fi
995
996mainmenu_option next_comment
997comment 'Sound'
998
999tristate 'Sound card support' CONFIG_SOUND
1000if [ "$CONFIG_SOUND" != "n" ]; then
1001   source drivers/sound/Config.in
1002fi
1003endmenu
1004
1005source drivers/usb/Config.in
1006
1007source net/bluetooth/Config.in
1008
1009mainmenu_option next_comment
1010comment 'Kernel hacking'
1011
1012bool 'Are you using a crosscompiler' CONFIG_CROSSCOMPILE
1013bool 'Enable run-time debugging' CONFIG_RUNTIME_DEBUG
1014bool 'Remote GDB kernel debugging' CONFIG_KGDB
1015dep_bool '  Console output to GDB' CONFIG_GDB_CONSOLE $CONFIG_KGDB
1016if [ "$CONFIG_KGDB" = "y" ]; then
1017   define_bool CONFIG_DEBUG_INFO y
1018else
1019   bool 'Debugging symbols' CONFIG_DEBUG_INFO
1020fi
1021if [ "$CONFIG_SIBYTE_SB1xxx_SOC" = "y" ]; then
1022   dep_bool 'Compile for Corelis Debugger' CONFIG_SB1XXX_CORELIS $CONFIG_DEBUG_INFO
1023fi
1024bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ
1025if [ "$CONFIG_SMP" != "y" ]; then
1026   bool 'Run uncached' CONFIG_MIPS_UNCACHED
1027else
1028   if [ "$CONFIG_MIPS32" = "y" ]; then
1029      int  'Maximum number of CPUs (2-32)' CONFIG_NR_CPUS 32
1030   else
1031      if [ "$CONFIG_MIPS64" = "y" ]; then
1032	 int  'Maximum number of CPUs (2-64)' CONFIG_NR_CPUS 64
1033      fi
1034   fi
1035fi
1036
1037int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0
1038
1039endmenu
1040
1041source crypto/Config.in
1042source lib/Config.in
1043