config.in 16.2 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4 5 6 7 8 9 10 11
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/config-language.txt.
#
mainmenu_name "Linux Kernel Configuration"

define_bool CONFIG_ARM y
define_bool CONFIG_EISA n
define_bool CONFIG_SBUS n
define_bool CONFIG_MCA n
define_bool CONFIG_UID16 y
Linus Torvalds's avatar
Linus Torvalds committed
12 13
define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y
define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
Linus Torvalds's avatar
Linus Torvalds committed
14
define_bool CONFIG_GENERIC_BUST_SPINLOCK n
Linus Torvalds's avatar
Linus Torvalds committed
15
define_bool CONFIG_GENERIC_ISA_DMA n
Linus Torvalds's avatar
Linus Torvalds committed
16

Linus Torvalds's avatar
Linus Torvalds committed
17
source init/Config.in
Linus Torvalds's avatar
Linus Torvalds committed
18 19 20 21

mainmenu_option next_comment
comment 'System Type'

Linus Torvalds's avatar
Linus Torvalds committed
22
choice 'ARM system type' \
Linus Torvalds's avatar
Linus Torvalds committed
23 24
	"ADIFCC-based		CONFIG_ARCH_ADIFCC \
	 Anakin			CONFIG_ARCH_ANAKIN \
Linus Torvalds's avatar
Linus Torvalds committed
25
	 Archimedes/A5000	CONFIG_ARCH_ARCA5K \
Linus Torvalds's avatar
Linus Torvalds committed
26
	 Cirrus-CL-PS7500FE     CONFIG_ARCH_CLPS7500 \
Linus Torvalds's avatar
Linus Torvalds committed
27
 	 CLPS711x/EP721x-based	CONFIG_ARCH_CLPS711X \
Linus Torvalds's avatar
Linus Torvalds committed
28
	 Co-EBSA285		CONFIG_ARCH_CO285 \
29
	 PXA250/210-based	CONFIG_ARCH_PXA \
Linus Torvalds's avatar
Linus Torvalds committed
30
	 EBSA-110		CONFIG_ARCH_EBSA110 \
Linus Torvalds's avatar
Linus Torvalds committed
31
 	 Epxa10db               CONFIG_ARCH_CAMELOT \
Linus Torvalds's avatar
Linus Torvalds committed
32 33
	 FootBridge		CONFIG_ARCH_FOOTBRIDGE \
	 Integrator		CONFIG_ARCH_INTEGRATOR \
Linus Torvalds's avatar
Linus Torvalds committed
34
 	 IOP310-based		CONFIG_ARCH_IOP310 \
Linus Torvalds's avatar
Linus Torvalds committed
35
	 LinkUp-L7200		CONFIG_ARCH_L7200 \
Linus Torvalds's avatar
Linus Torvalds committed
36
	 RiscPC			CONFIG_ARCH_RPC \
Linus Torvalds's avatar
Linus Torvalds committed
37
 	 SA1100-based		CONFIG_ARCH_SA1100 \
Linus Torvalds's avatar
Linus Torvalds committed
38
	 Shark			CONFIG_ARCH_SHARK" RiscPC
Linus Torvalds's avatar
Linus Torvalds committed
39

40 41 42 43 44 45 46
source arch/arm/mach-arc/Config.in
source arch/arm/mach-clps711x/Config.in
source arch/arm/mach-epxa10db/Config.in
source arch/arm/mach-footbridge/Config.in
source arch/arm/mach-iop310/Config.in
source arch/arm/mach-pxa/Config.in
source arch/arm/mach-sa1100/Config.in
Linus Torvalds's avatar
Linus Torvalds committed
47

Linus Torvalds's avatar
Linus Torvalds committed
48 49 50 51 52 53 54 55
# Definitions to make life easier
if [ "$CONFIG_ARCH_ARCA5K" = "y" -o \
     "$CONFIG_ARCH_RPC" = "y" ]; then
   define_bool CONFIG_ARCH_ACORN y
else
   define_bool CONFIG_ARCH_ACORN n
fi

56 57
#####################################################################
# Footbridge support
Linus Torvalds's avatar
Linus Torvalds committed
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
if [ "$CONFIG_ARCH_CO285" = "y" -o \
     "$CONFIG_ARCH_FOOTBRIDGE" = "y" ]; then
   define_bool CONFIG_FOOTBRIDGE y
else
   define_bool CONFIG_FOOTBRIDGE n
fi
if [ "$CONFIG_ARCH_CATS" = "y" -o \
     "$CONFIG_ARCH_EBSA285_HOST" = "y" -o \
     "$CONFIG_ARCH_NETWINDER" = "y" -o \
     "$CONFIG_ARCH_PERSONAL_SERVER" = "y" ]; then
   define_bool CONFIG_FOOTBRIDGE_HOST y
else
   define_bool CONFIG_FOOTBRIDGE_HOST n
fi
if [ "$CONFIG_ARCH_CO285" = "y" -o \
     "$CONFIG_ARCH_EBSA285_ADDIN" = "y" ]; then
   define_bool CONFIG_FOOTBRIDGE_ADDIN y
else
   define_bool CONFIG_FOOTBRIDGE_ADDIN n
fi
if [ "$CONFIG_ARCH_EBSA285_HOST" = "y" -o \
     "$CONFIG_ARCH_EBSA285_ADDIN" = "y" ]; then
   define_bool CONFIG_ARCH_EBSA285 y
fi

83 84 85 86 87 88 89 90 91 92 93 94 95 96
#####################################################################
# SA1111 support
if [ "$CONFIG_ASSABET_NEPONSET" = "y" -o \
     "$CONFIG_SA1100_ADSBITSY" = "y" -o \
     "$CONFIG_SA1100_BADGE4" = "y" -o \
     "$CONFIG_SA1100_CONSUS" = "y" -o \
     "$CONFIG_SA1100_GRAPHICSMASTER" = "y" -o \
     "$CONFIG_SA1100_JORNADA720" = "y" -o \
     "$CONFIG_ARCH_LUBBOCK" = "y" -o \
     "$CONFIG_SA1100_PFS168" = "y" -o \
     "$CONFIG_SA1100_PT_SYSTEM3" = "y" -o \
     "$CONFIG_SA1100_XP860" = "y" ]; then
   define_bool CONFIG_SA1111 y
   define_int CONFIG_FORCE_MAX_ZONEORDER 9
97 98
else
   define_bool CONFIG_SA1111 n
99 100 101 102
fi

comment 'Processor Type'

Linus Torvalds's avatar
Linus Torvalds committed
103 104 105 106 107 108 109 110 111
# Figure out whether this system uses 26-bit or 32-bit CPUs.
if [ "$CONFIG_ARCH_ARCA5K" = "y" ]; then
   define_bool CONFIG_CPU_32 n
   define_bool CONFIG_CPU_26 y
else
   define_bool CONFIG_CPU_32 y
   define_bool CONFIG_CPU_26 n
fi

112 113 114
# Select CPU types depending on the architecture selected.  This selects
# which CPUs we support in the kernel image, and the compiler instruction
# optimiser behaviour.
Linus Torvalds's avatar
Linus Torvalds committed
115 116 117 118 119 120

# ARM610
if [ "$CONFIG_ARCH_RPC" = "y" ]; then
   bool 'Support ARM610 processor' CONFIG_CPU_ARM610
else
   define_bool CONFIG_CPU_ARM610 n
Linus Torvalds's avatar
Linus Torvalds committed
121
fi
Linus Torvalds's avatar
Linus Torvalds committed
122 123

# ARM710
Linus Torvalds's avatar
Linus Torvalds committed
124
if [ "$CONFIG_ARCH_CLPS7500" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
125 126 127 128 129 130 131
   define_bool CONFIG_CPU_ARM710 y
else
   if [ "$CONFIG_ARCH_RPC" = "y" ]; then
      bool 'Support ARM710 processor' CONFIG_CPU_ARM710
   else
      define_bool CONFIG_CPU_ARM710 n
   fi
Linus Torvalds's avatar
Linus Torvalds committed
132
fi
Linus Torvalds's avatar
Linus Torvalds committed
133 134

# ARM720T
Linus Torvalds's avatar
Linus Torvalds committed
135 136 137
if [ "$CONFIG_ARCH_CLPS711X" = "y" -o \
     "$CONFIG_ARCH_L7200"    = "y" -o \
     "$CONFIG_ARCH_CDB89712" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
138 139 140 141 142 143 144
   define_bool CONFIG_CPU_ARM720T y
else
   if [ "$CONFIG_ARCH_INTEGRATOR" = "y" ]; then
      bool 'Support ARM720T processor' CONFIG_CPU_ARM720T
   else
      define_bool CONFIG_CPU_ARM720T n
   fi
Linus Torvalds's avatar
Linus Torvalds committed
145
fi
Linus Torvalds's avatar
Linus Torvalds committed
146 147

# ARM920T
Linus Torvalds's avatar
Linus Torvalds committed
148
if [ "$CONFIG_ARCH_INTEGRATOR" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
149 150 151
   bool 'Support ARM920T processor' CONFIG_CPU_ARM920T
else
   define_bool CONFIG_CPU_ARM920T n
Linus Torvalds's avatar
Linus Torvalds committed
152
fi
Linus Torvalds's avatar
Linus Torvalds committed
153

Linus Torvalds's avatar
Linus Torvalds committed
154 155 156 157 158 159 160
# ARM922T
if [ "$CONFIG_ARCH_CAMELOT" = "y" ]; then
         define_bool CONFIG_CPU_ARM922T y
else
         define_bool CONFIG_CPU_ARM922T n
fi

Linus Torvalds's avatar
Linus Torvalds committed
161 162 163 164 165 166 167
# ARM926T
if [ "$CONFIG_ARCH_INTEGRATOR" = "y" ]; then
   bool 'Support ARM926T processor' CONFIG_CPU_ARM926T
else
   define_bool CONFIG_CPU_ARM926T n
fi

Linus Torvalds's avatar
Linus Torvalds committed
168
# ARM1020
Linus Torvalds's avatar
Linus Torvalds committed
169 170 171
if [ "$CONFIG_ARCH_INTEGRATOR" = "y" ]; then
   bool 'Support ARM1020 processor' CONFIG_CPU_ARM1020
else
Linus Torvalds's avatar
Linus Torvalds committed
172
    define_bool CONFIG_CPU_ARM1020 n
Linus Torvalds's avatar
Linus Torvalds committed
173
fi
Linus Torvalds's avatar
Linus Torvalds committed
174

Linus Torvalds's avatar
Linus Torvalds committed
175 176 177
# SA110
if [ "$CONFIG_ARCH_EBSA110"  = "y" -o "$CONFIG_FOOTBRIDGE" = "y" -o \
     "$CONFIG_ARCH_TBOX"     = "y" -o "$CONFIG_ARCH_SHARK" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
178
     "$CONFIG_ARCH_NEXUSPCI" = "y" -o "$CONFIG_ARCH_ANAKIN" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
   define_bool CONFIG_CPU_SA110 y
else
   if [ "$CONFIG_ARCH_RPC" = "y" ]; then
      bool 'Support StrongARM(R) SA-110 processor' CONFIG_CPU_SA110
   else
      define_bool CONFIG_CPU_SA110 n
   fi
fi

# SA1100
if [ "$CONFIG_ARCH_SA1100" = "y" ]; then
   define_bool CONFIG_CPU_SA1100 y
else
   define_bool CONFIG_CPU_SA1100 n
fi

Linus Torvalds's avatar
Linus Torvalds committed
195
# XScale
196 197 198
if [ "$CONFIG_ARCH_IOP310" = "y" -o \
     "$CONFIG_ARCH_ADIFCC" = "y" -o \
     "$CONFIG_ARCH_PXA" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
199
   define_bool CONFIG_CPU_XSCALE y
200 201
else
   define_bool CONFIG_CPU_XSCALE n
Linus Torvalds's avatar
Linus Torvalds committed
202 203
fi

204 205
# Figure out what processor architecture version we should be using.
# This defines the compiler instruction set which depends on the machine type.
Linus Torvalds's avatar
Linus Torvalds committed
206

207 208
if [ "$CONFIG_ARCH_RPC"        = "y" -o "$CONFIG_ARCH_CLPS7500" = "y" ]; then
   define_bool CONFIG_CPU_32v3 y
Linus Torvalds's avatar
Linus Torvalds committed
209
else
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227
   define_bool CONFIG_CPU_32v3 n
fi
if [ "$CONFIG_ARCH_EBSA110"    = "y" -o "$CONFIG_FOOTBRIDGE"    = "y" -o \
     "$CONFIG_ARCH_TBOX"       = "y" -o "$CONFIG_ARCH_SHARK"    = "y" -o \
     "$CONFIG_ARCH_NEXUSPCI"   = "y" -o "$CONFIG_ARCH_CLPS711X" = "y" -o \
     "$CONFIG_ARCH_INTEGRATOR" = "y" -o "$CONFIG_ARCH_SA1100"   = "y" -o \
     "$CONFIG_ARCH_L7200"      = "y" -o "$CONFIG_ARCH_ANAKIN"	= "y" -o \
     "$CONFIG_ARCH_CAMELOT"    = "y" ]; then
   define_bool CONFIG_CPU_32v4 y
else
   define_bool CONFIG_CPU_32v4 n
fi
if [ "$CONFIG_ARCH_IOP310" = "y" -o \
     "$CONFIG_ARCH_ADIFCC" = "y" -o \
     "$CONFIG_ARCH_PXA" = "y" ]; then
   define_bool CONFIG_CPU_32v5 y
else
   define_bool CONFIG_CPU_32v5 n
Linus Torvalds's avatar
Linus Torvalds committed
228 229
fi

230 231 232 233 234
comment 'Processor Features'

if [ "$CONFIG_CPU_ARM720T" = "y" -o "$CONFIG_CPU_ARM920T" = "y" -o \
     "$CONFIG_CPU_ARM922T" = "y" -o "$CONFIG_CPU_ARM926T" = "y" -o \
     "$CONFIG_CPU_ARM1020" = "y" -o "$CONFIG_CPU_XSCALE" = "y" ]; then
235
   dep_bool 'Support Thumb instructions (EXPERIMENTAL)' CONFIG_ARM_THUMB $CONFIG_EXPERIMENTAL
236 237
else
   define_bool CONFIG_ARM_THUMB n
Linus Torvalds's avatar
Linus Torvalds committed
238
fi
239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
if [ "$CONFIG_CPU_ARM920T" = "y" -o "$CONFIG_CPU_ARM922T" = "y" -o \
     "$CONFIG_CPU_ARM926T" = "y" -o "$CONFIG_CPU_ARM1020" = "y" ]; then
   bool 'Disable I-Cache' CONFIG_CPU_ICACHE_DISABLE
   bool 'Disable D-Cache' CONFIG_CPU_DCACHE_DISABLE
   if [ "$CONFIG_CPU_DISABLE_DCACHE" = "n" ]; then
      bool 'Force write through D-cache' CONFIG_CPU_DCACHE_WRITETHROUGH
   fi
fi
if [ "$CONFIG_CPU_ARM926T" = "y" -o "$CONFIG_CPU_ARM1020" = "y" ]; then
   if [ "$CONFIG_CPU_ICACHE_DISABLE" = "n" -o "$CONFIG_CPU_DCACHE_DISABLE" = "n" ]; then
      bool 'Round robin I and D cache replacement algorithm' CONFIG_CPU_CACHE_ROUND_ROBIN
   fi
fi
if [ "$CONFIG_CPU_ARM1020" = "y" ]; then
   bool 'Disable branch prediction' CONFIG_CPU_BPREDICT_DISABLE
fi

256 257 258 259 260 261 262 263 264
if [ "$CONFIG_CPU_XSCALE" = "y" ]; then
#  bool 'Use XScale PMU as timer source' CONFIG_XSCALE_PMU_TIMER
   if [ "$CONFIG_XSCALE_PMU_TIMER" != "y" ]; then
      define_bool CONFIG_XSCALE_PMU y
   else
      define_bool CONFIG_XSCALE_PMU n
   fi
fi

265 266 267 268
endmenu

mainmenu_option next_comment
comment 'General setup'
Linus Torvalds's avatar
Linus Torvalds committed
269

Linus Torvalds's avatar
Linus Torvalds committed
270
# Select various configuration options depending on the machine type
Linus Torvalds's avatar
Linus Torvalds committed
271 272
if [ "$CONFIG_ARCH_EDB7211" = "y" -o \
     "$CONFIG_ARCH_SA1100" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
273 274 275 276 277 278
   define_bool CONFIG_DISCONTIGMEM y
else
   define_bool CONFIG_DISCONTIGMEM n
fi

# Now handle the bus types
Linus Torvalds's avatar
Linus Torvalds committed
279 280
if [ "$CONFIG_ARCH_FTVPCI" = "y" -o \
     "$CONFIG_ARCH_SHARK" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
281 282
     "$CONFIG_FOOTBRIDGE_HOST" = "y" -o \
     "$CONFIG_ARCH_IOP310" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
283 284 285 286 287 288 289 290 291 292
   define_bool CONFIG_PCI y
else
   if [ "$CONFIG_ARCH_INTEGRATOR" = "y" ]; then
      bool 'PCI support' CONFIG_PCI_INTEGRATOR
      define_bool CONFIG_PCI $CONFIG_PCI_INTEGRATOR
   else
      define_bool CONFIG_PCI n
   fi
fi

Linus Torvalds's avatar
Linus Torvalds committed
293 294 295 296 297 298 299 300 301 302 303 304 305 306
# Select the host bridge type
if [ "$CONFIG_PCI" = "y" ]; then
   if [ "$CONFIG_ARCH_FTVPCI" = "y" ]; then
      define_bool CONFIG_PCI_HOST_PLX90X0 y
   else
      define_bool CONFIG_PCI_HOST_PLX90X0 n
   fi
   if [ "$CONFIG_ARCH_SHARK" = "y" ]; then
      define_bool CONFIG_PCI_HOST_VIA82C505 y
   else
      define_bool CONFIG_PCI_HOST_VIA82C505 n
   fi
fi

Linus Torvalds's avatar
Linus Torvalds committed
307
if [ "$CONFIG_FOOTBRIDGE_HOST" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
308 309
     "$CONFIG_ARCH_SHARK" = "y" -o \
     "$CONFIG_ARCH_CLPS7500" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
310
     "$CONFIG_ARCH_EBSA110" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
311 312
     "$CONFIG_ARCH_CDB89712" = "y" -o \
     "$CONFIG_ARCH_EDB7211" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
313
     "$CONFIG_ARCH_SA1100" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
314 315 316 317 318
   define_bool CONFIG_ISA y
else
   define_bool CONFIG_ISA n
fi

Linus Torvalds's avatar
Linus Torvalds committed
319 320 321 322 323
if [ "$CONFIG_FOOTBRIDGE_HOST" = "y" -o \
     "$CONFIG_ARCH_SHARK" = "y" ]; then
   define_bool CONFIG_ISA_DMA y
else
   define_bool CONFIG_ISA_DMA n
Linus Torvalds's avatar
Linus Torvalds committed
324 325
fi

Linus Torvalds's avatar
Linus Torvalds committed
326 327 328 329 330 331 332
if [ "$CONFIG_ARCH_ACORN" = "y" -o \
     "$CONFIG_ARCH_L7200" = "y" ]; then
   define_bool CONFIG_FIQ y
else
   define_bool CONFIG_FIQ n
fi

333 334 335 336 337 338
# Compressed boot loader in ROM.  Yes, we really want to ask about
# TEXT and BSS so we preserve their values in the config files.
bool 'Compressed boot loader in ROM/flash' CONFIG_ZBOOT_ROM
hex 'Compressed ROM boot loader base address' CONFIG_ZBOOT_ROM_TEXT 0
hex 'Compressed ROM boot loader BSS address' CONFIG_ZBOOT_ROM_BSS 0

Linus Torvalds's avatar
Linus Torvalds committed
339 340 341
if [ "$CONFIG_ARCH_SA1100" = "y" -o \
     "$CONFIG_ARCH_INTEGRATOR" = "y" ]; then
   dep_bool 'Support CPU clock change (EXPERIMENTAL)' CONFIG_CPU_FREQ $CONFIG_EXPERIMENTAL
342 343 344 345 346 347 348 349 350 351
else
   define_bool CONFIG_CPU_FREQ n
fi

if [ "$CONFIG_CPU_FREQ" = "y" ]; then
   define_bool CONFIG_CPU_FREQ_24_API y
   define_bool CONFIG_CPU_FREQ_26_API y
else
   define_bool CONFIG_CPU_FREQ_24_API n
   define_bool CONFIG_CPU_FREQ_26_API n
Linus Torvalds's avatar
Linus Torvalds committed
352 353
fi

Linus Torvalds's avatar
Linus Torvalds committed
354
source drivers/pci/Config.in
355
bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
Linus Torvalds's avatar
Linus Torvalds committed
356 357 358 359 360
if [ "$CONFIG_HOTPLUG" = "y" ]; then
   source drivers/pcmcia/Config.in
else
   define_bool CONFIG_PCMCIA n
fi
Linus Torvalds's avatar
Linus Torvalds committed
361
comment 'At least one math emulation must be selected'
Linus Torvalds's avatar
Linus Torvalds committed
362
tristate 'NWFPE math emulation' CONFIG_FPE_NWFPE
363
if [ "$CONFIG_CPU_26" = "n" -a "$CONFIG_CPU_32v3" = "n" ]; then
364
   dep_tristate 'FastFPE math emulation (EXPERIMENTAL)' CONFIG_FPE_FASTFPE $CONFIG_EXPERIMENTAL
365
fi
Linus Torvalds's avatar
Linus Torvalds committed
366 367 368 369 370 371
choice 'Kernel core (/proc/kcore) format' \
	"ELF		CONFIG_KCORE_ELF	\
	 A.OUT		CONFIG_KCORE_AOUT" ELF
tristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUT
tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
Linus Torvalds's avatar
Linus Torvalds committed
372
bool 'Power Management support' CONFIG_PM
373
dep_bool 'Preemptible Kernel (EXPERIMENTAL)' CONFIG_PREEMPT $CONFIG_CPU_32 $CONFIG_EXPERIMENTAL
Linus Torvalds's avatar
Linus Torvalds committed
374
dep_tristate 'Advanced Power Management Emulation' CONFIG_APM $CONFIG_PM
Linus Torvalds's avatar
Linus Torvalds committed
375
dep_tristate 'RISC OS personality' CONFIG_ARTHUR $CONFIG_CPU_32
376
string 'Default kernel command string' CONFIG_CMDLINE ""
Linus Torvalds's avatar
Linus Torvalds committed
377

Linus Torvalds's avatar
Linus Torvalds committed
378 379 380 381 382 383 384
if [ "$CONFIG_ARCH_NETWINDER" = "y" -o  \
     "$CONFIG_ARCH_EBSA110" = "y" -o    \
     "$CONFIG_ARCH_EBSA285" = "y" -o    \
     "$CONFIG_ARCH_FTVPCI" = "y" -o     \
     "$CONFIG_ARCH_SHARK" = "y" -o      \
     "$CONFIG_ARCH_CO285" = "y" -o      \
     "$CONFIG_ARCH_SA1100" = "y" -o     \
385 386
     "$CONFIG_ARCH_LUBBOCK" = "y" -o    \
     "$CONFIG_ARCH_PXA_IDP" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
387
     "$CONFIG_ARCH_INTEGRATOR" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
388
     "$CONFIG_ARCH_CDB89712" = "y" -o   \
Linus Torvalds's avatar
Linus Torvalds committed
389
     "$CONFIG_ARCH_P720T" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
390 391
   bool 'Timer and CPU usage LEDs' CONFIG_LEDS
   if [ "$CONFIG_LEDS" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
392 393 394 395 396
      if [ "$CONFIG_ARCH_NETWINDER" = "y" -o  \
	   "$CONFIG_ARCH_EBSA285" = "y" -o    \
	   "$CONFIG_ARCH_SHARK" = "y" -o      \
	   "$CONFIG_ARCH_CO285" = "y" -o      \
	   "$CONFIG_ARCH_SA1100" = "y" -o     \
397
	   "$CONFIG_ARCH_LUBBOCK" = "y" -o    \
398
	   "$CONFIG_ARCH_PXA_IDP" = "y" -o    \
399
	   "$CONFIG_ARCH_INTEGRATOR" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
400
	   "$CONFIG_ARCH_P720T" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
401 402 403 404 405 406 407 408
         bool '  Timer LED' CONFIG_LEDS_TIMER
         bool '  CPU usage LED' CONFIG_LEDS_CPU
      fi
   fi
   if [ "$CONFIG_ARCH_EBSA110" = "y" ]; then
      define_bool CONFIG_LEDS_TIMER y
   fi
fi
Linus Torvalds's avatar
Linus Torvalds committed
409

410
if [ "$CONFIG_CPU_32" = "y" ]; then
Linus Torvalds's avatar
Linus Torvalds committed
411 412
   define_bool CONFIG_ALIGNMENT_TRAP y
else
413
   define_bool CONFIG_ALIGNMENT_TRAP n
Linus Torvalds's avatar
Linus Torvalds committed
414 415 416 417
fi
endmenu

source drivers/parport/Config.in
Linus Torvalds's avatar
Linus Torvalds committed
418 419 420

if [ "$CONFIG_ALIGNMENT_TRAP" = "y" ]; then
  source drivers/mtd/Config.in
421 422
else
  define_bool CONFIG_MTD n
Linus Torvalds's avatar
Linus Torvalds committed
423 424
fi

Linus Torvalds's avatar
Linus Torvalds committed
425 426 427 428 429 430 431 432 433 434 435 436 437 438
source drivers/pnp/Config.in
source drivers/block/Config.in
source drivers/md/Config.in

if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
   source drivers/acorn/block/Config.in
fi

if [ "$CONFIG_NET" = "y" ]; then
   source net/Config.in

   mainmenu_option next_comment
   comment 'Network device support'

439
   bool 'Network device support' CONFIG_NETDEVICES
Linus Torvalds's avatar
Linus Torvalds committed
440 441 442 443 444 445 446 447 448 449 450
   if [ "$CONFIG_NETDEVICES" = "y" ]; then
      source drivers/net/Config.in
   fi
   endmenu

   source net/ax25/Config.in

   source net/irda/Config.in
fi

mainmenu_option next_comment
Martin Dalecki's avatar
Martin Dalecki committed
451
comment 'ATA/ATAPI/MFM/RLL support'
Linus Torvalds's avatar
Linus Torvalds committed
452

Martin Dalecki's avatar
Martin Dalecki committed
453
tristate 'ATA/ATAPI/MFM/RLL support' CONFIG_IDE
Linus Torvalds's avatar
Linus Torvalds committed
454 455 456 457 458 459 460 461 462 463 464

if [ "$CONFIG_IDE" != "n" ]; then
  source drivers/ide/Config.in
else
  define_bool CONFIG_BLK_DEV_HD n
fi
endmenu

mainmenu_option next_comment
comment 'SCSI support'

465
tristate 'SCSI support' CONFIG_SCSI
Linus Torvalds's avatar
Linus Torvalds committed
466 467 468 469 470 471

if [ "$CONFIG_SCSI" != "n" ]; then
   source drivers/scsi/Config.in
fi
endmenu

Linus Torvalds's avatar
Linus Torvalds committed
472 473 474 475
if [ "$CONFIG_ARCH_CLPS711X" = "y" ]; then
   source drivers/ssi/Config.in
fi

Linus Torvalds's avatar
Linus Torvalds committed
476 477
source drivers/ieee1394/Config.in

Linus Torvalds's avatar
Linus Torvalds committed
478
source drivers/message/i2o/Config.in
Linus Torvalds's avatar
Linus Torvalds committed
479

480
source drivers/isdn/Config.in
Linus Torvalds's avatar
Linus Torvalds committed
481

Linus Torvalds's avatar
Linus Torvalds committed
482 483 484 485 486
#
# input before char - char/joystick depends on it. As does USB.
#
source drivers/input/Config.in

Linus Torvalds's avatar
Linus Torvalds committed
487 488 489 490 491 492 493 494 495 496
source drivers/char/Config.in
if [ "$CONFIG_ARCH_ACORN" = "y" -a \
     "$CONFIG_BUSMOUSE" = "y" ]; then
   if [ "$CONFIG_ARCH_RPC" != "y" ]; then
      define_bool CONFIG_KBDMOUSE y
   else
      define_bool CONFIG_RPCMOUSE y
   fi
fi

Linus Torvalds's avatar
Linus Torvalds committed
497 498
source drivers/media/Config.in

Linus Torvalds's avatar
Linus Torvalds committed
499 500 501 502 503 504 505 506 507 508 509 510 511 512
source fs/Config.in

if [ "$CONFIG_VT" = "y" ]; then
   mainmenu_option next_comment
   comment 'Console drivers'
   if [ "$CONFIG_ARCH_ACORN" != "y" -a "$CONFIG_ARCH_EBSA110" != "y" ]; then
      bool 'VGA text console' CONFIG_VGA_CONSOLE
   fi
   source drivers/video/Config.in
   endmenu
fi

if [ "$CONFIG_ARCH_ACORN" = "y" -o \
     "$CONFIG_ARCH_CLPS7500" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
513
     "$CONFIG_ARCH_TBOX" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
514
     "$CONFIG_ARCH_SHARK" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
515
     "$CONFIG_ARCH_SA1100" = "y" -o \
Linus Torvalds's avatar
Linus Torvalds committed
516 517 518 519
     "$CONFIG_PCI" = "y" ]; then
   mainmenu_option next_comment
   comment 'Sound'

520
   tristate 'Sound card support' CONFIG_SOUND
Linus Torvalds's avatar
Linus Torvalds committed
521
   if [ "$CONFIG_SOUND" != "n" ]; then
522
      source sound/Config.in
Linus Torvalds's avatar
Linus Torvalds committed
523 524 525 526
   fi
   endmenu
fi

Linus Torvalds's avatar
Linus Torvalds committed
527 528
source drivers/misc/Config.in

Linus Torvalds's avatar
Linus Torvalds committed
529 530
source drivers/usb/Config.in

531
source net/bluetooth/Config.in
Linus Torvalds's avatar
Linus Torvalds committed
532 533 534 535 536 537

mainmenu_option next_comment
comment 'Kernel hacking'

# Always compile kernel with framepointer (until 2.4 real comes out)
# Bug reports aren't much use without this.
Linus Torvalds's avatar
Linus Torvalds committed
538
bool 'Compile kernel without frame pointer' CONFIG_NO_FRAME_POINTER
Linus Torvalds's avatar
Linus Torvalds committed
539 540
bool 'Verbose user fault messages' CONFIG_DEBUG_USER
bool 'Include debugging information in kernel binary' CONFIG_DEBUG_INFO
Linus Torvalds's avatar
Linus Torvalds committed
541 542 543 544 545 546 547 548

bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
dep_bool '  Debug memory allocations' CONFIG_DEBUG_SLAB $CONFIG_DEBUG_KERNEL
dep_bool '  Magic SysRq key' CONFIG_MAGIC_SYSRQ $CONFIG_DEBUG_KERNEL
dep_bool '  Spinlock debugging' CONFIG_DEBUG_SPINLOCK $CONFIG_DEBUG_KERNEL
dep_bool '  Wait queue debugging' CONFIG_DEBUG_WAITQ $CONFIG_DEBUG_KERNEL
dep_bool '  Verbose BUG() reporting (adds 70K)' CONFIG_DEBUG_BUGVERBOSE $CONFIG_DEBUG_KERNEL
dep_bool '  Verbose kernel error messages' CONFIG_DEBUG_ERRORS $CONFIG_DEBUG_KERNEL
Linus Torvalds's avatar
Linus Torvalds committed
549
# These options are only for real kernel hackers who want to get their hands dirty. 
Linus Torvalds's avatar
Linus Torvalds committed
550 551 552
dep_bool '  Kernel low-level debugging functions' CONFIG_DEBUG_LL $CONFIG_DEBUG_KERNEL
dep_bool '    Kernel low-level debugging messages via footbridge serial port' CONFIG_DEBUG_DC21285_PORT $CONFIG_DEBUG_LL $CONFIG_FOOTBRIDGE
dep_bool '    Kernel low-level debugging messages via UART2' CONFIG_DEBUG_CLPS711X_UART2 $CONFIG_DEBUG_LL $CONFIG_ARCH_CLPS711X
Linus Torvalds's avatar
Linus Torvalds committed
553
endmenu
Linus Torvalds's avatar
Linus Torvalds committed
554

555
source security/Config.in
556
source crypto/Config.in
Linus Torvalds's avatar
Linus Torvalds committed
557
source lib/Config.in