config.in 18.8 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628
# BK Id: %F% %I% %G% %U% %#%
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/config-language.txt.
#
define_bool CONFIG_UID16 n
define_bool CONFIG_RWSEM_GENERIC_SPINLOCK n
define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM y
define_bool CONFIG_HAVE_DEC_LOCK y

mainmenu_name "Linux/PowerPC Kernel Configuration"

source init/Config.in

mainmenu_option next_comment
comment 'Platform support'
define_bool CONFIG_PPC y
define_bool CONFIG_PPC32 y
choice 'Processor Type'	\
	"6xx/7xx/74xx/8260	CONFIG_6xx	\
	 4xx			CONFIG_4xx	\
	 POWER3               	CONFIG_POWER3	\
	 8xx			CONFIG_8xx	\
	 iSeries		CONFIG_PPC_ISERIES"	6xx

if [ "$CONFIG_6xx" = "y" ]; then
   bool 'MPC8260 CPM Support' CONFIG_8260
fi

if [ "$CONFIG_POWER3" = "y" ]; then
   define_bool CONFIG_PPC64BRIDGE y
   define_bool CONFIG_ALL_PPC y
fi

if [ "$CONFIG_PPC_ISERIES" = "y" ]; then
   define_bool CONFIG_PPC64BRIDGE y
fi

if [ "$CONFIG_6xx" = "y" -o "$CONFIG_POWER3" = "y" ]; then
   define_bool CONFIG_PPC_STD_MMU y
else
   define_bool CONFIG_PPC_STD_MMU n
fi

if [ "$CONFIG_8260" = "y" ]; then
   define_bool CONFIG_SERIAL_CONSOLE y
   choice 'Machine Type'	\
	"EST8260	CONFIG_EST8260	\
	 SBS8260	CONFIG_SBS8260	\
	 RPXSUPER	CONFIG_RPX6	\
 	 TQM8260	CONFIG_TQM8260	\
	 Willow		CONFIG_WILLOW"	Willow
fi

if [ "$CONFIG_4xx" = "y" ]; then
    choice 'Machine Type'			\
	"Ash		CONFIG_ASH		\
	 Ceder		CONFIG_CEDER		\
	 CPCI405	CONFIG_CPCI405 		\
	 EP405		CONFIG_EP405 		\
	 Oak		CONFIG_OAK 		\
	 Redwood-4	CONFIG_REDWOOD_4 	\
	 Redwood-5	CONFIG_REDWOOD_5 	\
	 Tivo		CONFIG_TIVO 		\
	 Walnut		CONFIG_WALNUT"	Walnut
fi

if [ "$CONFIG_8xx" = "y" ]; then
   define_bool CONFIG_SERIAL_CONSOLE y
   define_bool CONFIG_NOT_COHERENT_CACHE y

   choice 'Machine Type'		\
	"RPX-Lite	CONFIG_RPXLITE		\
	 RPX-Classic	CONFIG_RPXCLASSIC	\
	 BSE-IP		CONFIG_BSEIP		\
	 FADS		CONFIG_FADS		\
 	 TQM823L	CONFIG_TQM823L		\
 	 TQM850L	CONFIG_TQM850L		\
 	 TQM855L	CONFIG_TQM855L		\
  	 TQM860L	CONFIG_TQM860L		\
 	 FPS850L	CONFIG_FPS850L		\
 	 SPD823TS	CONFIG_SPD823TS		\
 	 IVMS8		CONFIG_IVMS8		\
	 IVML24		CONFIG_IVML24		\
 	 SM850		CONFIG_SM850		\
	 HERMES		CONFIG_HERMES_PRO	\
	 IP860		CONFIG_IP860		\
	 LWMON		CONFIG_LWMON		\
	 PCU_E		CONFIG_PCU_E		\
	 CCM		CONFIG_CCM		\
	 LANTEC		CONFIG_LANTEC		\
	 MBX		CONFIG_MBX		\
	 WinCept	CONFIG_WINCEPT"		RPX-Lite

   if [ "$CONFIG_TQM823L" = "y" -o \
       "$CONFIG_TQM850L" = "y" -o \
       "$CONFIG_FPS850L" = "y" -o \
       "$CONFIG_TQM855L" = "y" -o \
       "$CONFIG_TQM860L" = "y" -o \
       "$CONFIG_SM850"   = "y" ]; then
      define_bool CONFIG_TQM8xxL y
   fi
fi

if [ "$CONFIG_6xx" = "y" -a "$CONFIG_8260" = "n" ]; then
   choice 'Machine Type'		\
	"CHRP/PowerMac/PReP	CONFIG_ALL_PPC		\
	 Amiga-APUS		CONFIG_APUS		\
	 Cogent-Willow		CONFIG_WILLOW		\
	 Force-PowerCore	CONFIG_PCORE		\
	 Force-PowerPMC250	CONFIG_POWERPMC250	\
	 Galileo-EV-64260-BP	CONFIG_EV64260		\
	 IBM-Spruce		CONFIG_SPRUCE		\
	 MEN-F1			CONFIG_MENF1		\
	 Motorola-LoPEC		CONFIG_LOPEC		\
	 Motorola-MCPN765	CONFIG_MCPN765		\
	 Motorola-MVME5100	CONFIG_MVME5100		\
         Motorola-PowerPlus     CONFIG_PPLUS            \
	 Motorola-PrPMC750	CONFIG_PRPMC750		\
	 Motorola-PrPMC800	CONFIG_PRPMC800		\
	 Motorola-Sandpoint	CONFIG_SANDPOINT	\
	 SBS-Adirondack		CONFIG_ADIR		\
	 SBS-K2			CONFIG_K2		\
	 Synergy-Gemini		CONFIG_GEMINI		\
	 Zynx-ZX4500		CONFIG_ZX4500"		CHRP/PowerMac/PReP
fi

if [ "$CONFIG_PCORE" = "y" -o "$CONFIG_POWERPMC250" = "y" ]; then
   define_bool CONFIG_FORCE y
fi

if [ "$CONFIG_FORCE" = "y" -o "$CONFIG_MENF1" = "y" \
     -o "$CONFIG_SANDPOINT" = "y" -o "$CONFIG_ZX4500" = "y" ]; then
   bool 'Enable MPC10x store gathering' CONFIG_MPC10X_STORE_GATHERING
fi

if [ "$CONFIG_EV64260" = "y" ]; then
   define_bool CONFIG_GT64260 y
   define_int CONFIG_SERIAL_CONSOLE_BAUD 115200
fi

if [ "$CONFIG_K2" = "y" ]; then
   bool 'Enable CPC710 data gathering' CONFIG_CPC710_DATA_GATHERING
fi

if [ "$CONFIG_MVME5100" = "y" ]; then
   bool 'MVME5100 configured with an IPMC761' CONFIG_MVME5100_IPMC761_PRESENT
fi

if [ "$CONFIG_SANDPOINT" = "y" ]; then
   bool 'Sandpoint X3' CONFIG_SANDPOINT_X3
   if [ "$CONFIG_SANDPOINT_X3" = "y" ]; then
      define_bool CONFIG_EPIC_SERIAL_MODE y
   fi
fi

if [ "$CONFIG_SPRUCE" = "y" ]; then
   bool 'Spruce baud clock support' CONFIG_SPRUCE_BAUD_33M
fi

if [ "$CONFIG_PPC_STD_MMU" != "y" ]; then
   define_bool CONFIG_ALL_PPC n
fi

bool 'Symmetric multi-processing support' CONFIG_SMP
if [ "$CONFIG_SMP" = "y" ]; then
   bool '  Distribute interrupts on all CPUs by default' CONFIG_IRQ_ALL_CPUS
fi
define_bool CONFIG_PREEMPT n

if [ "$CONFIG_6xx" = "y" -a "$CONFIG_8260" = "n" ];then
   bool 'AltiVec Support' CONFIG_ALTIVEC
   bool 'Thermal Management Support' CONFIG_TAU
   if [ "$CONFIG_TAU" = "y" ]; then
      bool '    Interrupt driven TAU driver (DANGEROUS)' CONFIG_TAU_INT
      bool '    Average high and low temp' CONFIG_TAU_AVERAGE
   fi
fi

if [ "$CONFIG_4xx" = "y" -o "$CONFIG_8xx" = "y" ]; then
   bool 'Math emulation' CONFIG_MATH_EMULATION
fi

if [ "$CONFIG_4xx" = "y" ]; then
# It's often necessary to know the specific 4xx processor type.
# Fortunately, it is impled (so far) from the board type, so we
# don't need to ask more redundant questions.
   if [ "$CONFIG_ASH" = "y" ]; then
      define_bool CONFIG_NP405H y
      define_bool CONFIG_TREEBOOT y
      define_bool CONFIG_IBM405_ERR77 y
      define_bool CONFIG_IBM_OCP y
   fi
   if [ "$CONFIG_CEDER" = "y" ]; then
      define_bool CONFIG_NP405L y
      define_bool CONFIG_BIOS_FIXUP y
      define_bool CONFIG_TREEBOOT y
      define_bool CONFIG_IBM405_ERR77 y
      define_bool CONFIG_IBM_OCP y
   fi
   if [ "$CONFIG_CPCI405" = "y" ]; then
      define_bool CONFIG_405GP y
      define_bool CONFIG_IBM405_ERR77 y
      define_bool CONFIG_IBM_OCP y
   fi
   if [ "$CONFIG_EP405" = "y" ]; then
      define_bool CONFIG_405GP y
      define_bool CONFIG_BIOS_FIXUP y
      define_bool CONFIG_EMBEDDEDBOOT y
      define_bool CONFIG_IBM405_ERR77 y
      define_bool CONFIG_IBM_OCP y
   fi
   if [ "$CONFIG_OAK" = "y" -o "$CONFIG_TIVO" = "y" ]; then
      define_bool CONFIG_403GCX y
      define_bool CONFIG_TREEBOOT y
   fi
   if [ "$CONFIG_REDWOOD_4" = "y" ]; then
      define_bool CONFIG_STB03xxx y
      define_bool CONFIG_TREEBOOT y
      define_bool CONFIG_IBM405_ERR77 y
      define_bool CONFIG_IBM_OCP y
   fi
   if [ "$CONFIG_REDWOOD_5" = "y" ]; then
      define_bool CONFIG_STB03xxx y
      define_bool CONFIG_TREEBOOT y
      define_bool CONFIG_IBM405_ERR77 y
      define_bool CONFIG_IBM_OCP y
   fi
   if [ "$CONFIG_WALNUT" = "y" ]; then
      define_bool CONFIG_405GP y
      define_bool CONFIG_BIOS_FIXUP y
      define_bool CONFIG_TREEBOOT y
      define_bool CONFIG_IBM405_ERR77 y
      define_bool CONFIG_IBM_OCP y
   fi

   bool 'Blue Logic DMA' CONFIG_405_DMA
   dep_bool 'Power Management support (experimental)' CONFIG_PM $CONFIG_EXPERIMENTAL

   if [ "$CONFIG_4xx" = "y" ]; then
      choice 'TTYS0 device and default console'	\
	"UART0  CONFIG_UART0_TTYS0		\
	 UART1	CONFIG_UART0_TTYS1"		UART0
   fi

   define_bool CONFIG_IBM405_ERR51 y
   define_bool CONFIG_NOT_COHERENT_CACHE y
fi

if [ "$CONFIG_8xx" = "y" -o "$CONFIG_8260" = "y" ]; then
      define_bool CONFIG_EMBEDDEDBOOT y
fi
endmenu

mainmenu_option next_comment
comment 'General setup'

bool 'High memory support' CONFIG_HIGHMEM
dep_bool '  Support for PTEs in high memory' CONFIG_HIGHPTE $CONFIG_HIGHMEM
bool 'Prompt for advanced kernel configuration options' CONFIG_ADVANCED_OPTIONS
if [ "$CONFIG_ADVANCED_OPTIONS" = "y" ]; then
   if [ "$CONFIG_HIGHMEM" = "y" ]; then
      bool "  Set high memory pool address" CONFIG_HIGHMEM_START_BOOL
      if [ "$CONFIG_HIGHMEM_START_BOOL" = "y" ]; then
         hex "    Virtual start address of high memory pool" CONFIG_HIGHMEM_START 0xfe000000
      fi
      bool "  Set maximum low memory" CONFIG_LOWMEM_SIZE_BOOL
      if [ "$CONFIG_LOWMEM_SIZE_BOOL" = "y" ]; then
         hex "    Maximum low memory size (in bytes)" CONFIG_LOWMEM_SIZE 0x20000000
      fi
   fi

   bool "Set custom kernel base address" CONFIG_KERNEL_START_BOOL
   if [ "$CONFIG_KERNEL_START_BOOL" = "y" ]; then
      hex "  Virtual address of kernel base" CONFIG_KERNEL_START 0xc0000000
   fi
   bool "Set custom user task size" CONFIG_TASK_SIZE_BOOL
   if [ "$CONFIG_TASK_SIZE_BOOL" = "y" ]; then
      hex "  Size of user task space" CONFIG_TASK_SIZE 0x80000000
   fi
   if [ "$CONFIG_8xx" = "y" ]; then
      bool "Pinned Kernel TLBs (860 ONLY)" CONFIG_PIN_TLB
   fi
   if [ "$CONFIG_4xx" = "y" ]; then
      bool "Pinned Kernel TLBs" CONFIG_PIN_TLB
   fi
   if [ "$CONFIG_ALL_PPC" != "y" ]; then
      bool "Set the boot link/load address" CONFIG_BOOT_LOAD_BOOL
      if [ "$CONFIG_BOOT_LOAD_BOOL" = "y" ]; then
         hex "  Link/load address for booting" CONFIG_BOOT_LOAD 0x00400000
      fi
   fi
fi

if [ "$CONFIG_ALL_PPC" = "y" ]; then
   bool 'Support for ISA-bus hardware' CONFIG_ISA
else
   define_bool CONFIG_ISA n
fi
define_bool CONFIG_EISA n
define_bool CONFIG_SBUS n

# Yes MCA RS/6000s exist but Linux-PPC does not currently support any
define_bool CONFIG_MCA n

if [ "$CONFIG_4xx" = "y" -o "$CONFIG_8260" = "y" ]; then
   bool "Enable PCI" CONFIG_PCI
   bool 'PC PS/2 style Keyboard' CONFIG_PC_KEYBOARD
else
   if [ "$CONFIG_8xx" = "y" ]; then
      bool 'QSpan PCI' CONFIG_PCI_QSPAN
      define_bool CONFIG_PCI $CONFIG_PCI_QSPAN
   else
      if [ "$CONFIG_APUS" = "y" ]; then
        bool 'PCI for Permedia2' CONFIG_PCI_PERMEDIA
        define_bool CONFIG_PCI $CONFIG_PCI_PERMEDIA
      else
         if [ "$CONFIG_PPC_ISERIES" = "y" ]; then
	    bool "IBM iSeries Native I/O Support" CONFIG_PCI_ISERIES
	    define_bool CONFIG_PCI $CONFIG_PCI_ISERIES
	 else
	    define_bool CONFIG_PCI y
	 fi
      fi
   fi
fi

# only elf supported, a.out is not -- Cort
if [ "$CONFIG_PROC_FS" = "y" ]; then
   define_bool CONFIG_KCORE_ELF y
fi
define_bool CONFIG_BINFMT_ELF y
define_bool CONFIG_KERNEL_ELF y
tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC

source drivers/pci/Config.in

bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG

if [ "$CONFIG_HOTPLUG" = "y" ]; then
   source drivers/pcmcia/Config.in
else
   define_bool CONFIG_PCMCIA n
fi

source drivers/parport/Config.in

if [ "$CONFIG_PPC_ISERIES" != "y" ]; then
   if [ "$CONFIG_APUS" != "y" ]; then
      tristate 'Support for /dev/rtc' CONFIG_PPC_RTC
   else
      bool 'Generic /dev/rtc emulation' CONFIG_GEN_RTC
   fi
fi

if [ "$CONFIG_ALL_PPC" = "y" -a "$CONFIG_POWER3" = "n" ] ; then
   bool 'Workarounds for PPC601 bugs' CONFIG_PPC601_SYNC_FIX
fi

if [ "$CONFIG_ALL_PPC" = "y" ]; then
   bool 'Support for Open Firmware device tree in /proc' CONFIG_PROC_DEVICETREE
   bool 'Support for RTAS (RunTime Abstraction Services) in /proc' CONFIG_PPC_RTAS
   bool 'Support for PReP Residual Data' CONFIG_PREP_RESIDUAL
fi

bool 'Default bootloader kernel arguments' CONFIG_CMDLINE_BOOL
if [ "$CONFIG_CMDLINE_BOOL" = "y" ] ; then
   string 'Initial kernel command string' CONFIG_CMDLINE "console=ttyS0,9600 console=tty0 root=/dev/sda2"
fi

if [ "$CONFIG_APUS" = "y" ]; then
   define_bool CONFIG_FB_CONSOLE y
   define_bool CONFIG_AMIGA y
   define_bool CONFIG_ZORRO y
   define_bool CONFIG_AMIGAMOUSE y
   define_bool CONFIG_ABSTRACT_CONSOLE y
   define_bool CONFIG_FB y
   define_bool CONFIG_MOUSE y
   define_bool CONFIG_BUSMOUSE y
   define_bool CONFIG_APUS_FAST_EXCEPT y

   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
      bool 'Amiga 1200/600 PCMCIA support' CONFIG_AMIGA_PCMCIA
   fi

   tristate 'Amiga builtin serial support' CONFIG_AMIGA_BUILTIN_SERIAL
   tristate 'GVP IO-Extender support' CONFIG_GVPIOEXT
   dep_tristate 'GVP IO-Extender parallel printer support' CONFIG_GVPIOEXT_LP $CONFIG_GVPIOEXT
   dep_tristate 'GVP IO-Extender PLIP support' CONFIG_GVPIOEXT_PLIP $CONFIG_GVPIOEXT
   tristate 'Multiface Card III serial support' CONFIG_MULTIFACE_III_TTY
   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
      tristate 'Commodore A2232 serial support (EXPERIMENTAL)' CONFIG_A2232
   fi
   if [ "$CONFIG_AMIGA_PCMCIA" = "y" ]; then
      tristate 'Hisoft Whippet PCMCIA serial support' CONFIG_WHIPPET_SERIAL
      tristate 'PCMCIA NE2000 support' CONFIG_APNE
   fi
   if [ "$CONFIG_AMIGA_BUILTIN_SERIAL" = "y" -o "$CONFIG_GVPIOEXT" = "y" -o \
        "$CONFIG_MULTIFACE_III_TTY" = "y" ]; then
      bool 'Support for serial port console' CONFIG_SERIAL_CONSOLE
   fi
   bool 'Use power LED as a heartbeat' CONFIG_HEARTBEAT
   bool '/proc/hardware support' CONFIG_PROC_HARDWARE
   source drivers/zorro/Config.in
fi

endmenu
source drivers/mtd/Config.in
source drivers/pnp/Config.in
source drivers/block/Config.in
source drivers/md/Config.in

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

mainmenu_option next_comment
comment 'ATA/IDE/MFM/RLL support'

tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
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'
tristate 'SCSI support' CONFIG_SCSI
if [ "$CONFIG_SCSI" != "n" ]; then
   source drivers/scsi/Config.in
fi
endmenu

source drivers/message/fusion/Config.in

source drivers/ieee1394/Config.in

source drivers/message/i2o/Config.in

if [ "$CONFIG_NET" = "y" ]; then
   mainmenu_option next_comment
   comment 'Network device support'

   bool 'Network device support' CONFIG_NETDEVICES
   if [ "$CONFIG_NETDEVICES" = "y" ]; then
      source drivers/net/Config.in
      if [ "$CONFIG_ATM" = "y" ]; then
         source drivers/atm/Config.in
      fi
   fi
   endmenu
fi

source net/ax25/Config.in

source net/irda/Config.in

source drivers/isdn/Config.in

mainmenu_option next_comment
comment 'Old CD-ROM drivers (not SCSI, not IDE)'
bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
   source drivers/cdrom/Config.in
fi
endmenu

mainmenu_option next_comment
comment 'Console drivers'
if [ "$CONFIG_4xx" != "y" -a "$CONFIG_8xx" != "y" ]; then
   bool 'Support for VGA Console' CONFIG_VGA_CONSOLE
fi
source drivers/video/Config.in
if [ "$CONFIG_FB" = "y" -a "$CONFIG_ALL_PPC" = "y" ]; then
   bool 'Backward compatibility mode for Xpmac' CONFIG_FB_COMPAT_XPMAC
fi
endmenu


if [ "$CONFIG_PPC_ISERIES" = "y" ]; then
   mainmenu_option next_comment
   comment 'iSeries device drivers'
   tristate 'iSeries Virtual Console Support' CONFIG_VIOCONS
   tristate 'iSeries Virtual I/O disk support' CONFIG_VIODASD
   if [ "$CONFIG_VIODASD" = "y" -o "$CONFIG_VIODASD" = "m" ]; then
      bool 'iSeries Virtual disk IDE emulation' CONFIG_VIODASD_IDE
   fi
   tristate 'iSeries Virtual I/O CD support' CONFIG_VIOCD
   if [ "$CONFIG_VIOCD" = "y" -o "$CONFIG_VIOCD" = "m" ]; then
      bool 'iSeries Virtual CD Aztech emulation' CONFIG_VIOCD_AZTECH
   fi
   tristate 'iSeries Virtual Tape Support' CONFIG_VIOTAPE
   tristate 'iSeries Virtual Ethernet driver support' CONFIG_VETH
   if [ "$CONFIG_VIOCONS" != "n" -o "$CONFIG_VIODASD" != "n" \
	-o "$CONFIG_VIOTAPE" != "n" -o "$CONFIG_VIOCD" != "n" ]; then
      define_bool CONFIG_VIOPATH y
   fi
   if [ "$CONFIG_VIOCD" = "y" ]; then
      define_bool CONFIG_CD_NO_IDESCSI y
      define_bool CONFIG_BLK_DEV_IDECD y
   fi
   endmenu
fi

source drivers/input/Config.in

mainmenu_option next_comment
comment 'Macintosh device drivers'

if [ "$CONFIG_ALL_PPC" = "y" ]; then
   # we want to change this to something like CONFIG_SYSCTRL_CUDA/PMU
   bool 'Support for CUDA based PowerMacs' CONFIG_ADB_CUDA
   bool 'Support for PMU  based PowerMacs' CONFIG_ADB_PMU
   if [ "$CONFIG_ADB_PMU" = "y" ]; then
      bool '   Power management support for PowerBooks' CONFIG_PMAC_PBOOK
      if [ "$CONFIG_PMAC_PBOOK" = "y" ]; then
         define_bool CONFIG_PM y
         tristate '     APM emulation' CONFIG_PMAC_APM_EMU
      fi
      # made a separate option since backlight may end up beeing used
      # on non-powerbook machines (but only on PMU based ones AFAIK)
      bool '   Backlight control for LCD screens' CONFIG_PMAC_BACKLIGHT
   fi
   bool 'Support for PowerMac floppy' CONFIG_MAC_FLOPPY
   tristate 'Support for PowerMac serial ports' CONFIG_MAC_SERIAL
   if [ "$CONFIG_MAC_SERIAL" = "y" ]; then
      bool '   Support for console on serial port' CONFIG_SERIAL_CONSOLE
   fi
   bool 'Apple Desktop Bus (ADB) support' CONFIG_ADB
   if [ "$CONFIG_ADB" = "y" ]; then
      bool '   Include MacIO (CHRP) ADB driver' CONFIG_ADB_MACIO
      dep_bool '   Use input layer for ADB devices' CONFIG_INPUT_ADBHID $CONFIG_INPUT
      if [ "$CONFIG_INPUT_ADBHID" = "y" ]; then
         bool '     Support for ADB raw keycodes' CONFIG_MAC_ADBKEYCODES
         bool '     Support for mouse button 2+3 emulation' CONFIG_MAC_EMUMOUSEBTN
      else
         bool '   Support for ADB keyboard (old driver)' CONFIG_ADB_KEYBOARD
      fi
   fi
   # This is for drivers/macintosh/mac_hid.o, which is needed if the input
   # layer is used.
   if [ "$CONFIG_INPUT" != "n" ]; then
      define_bool CONFIG_MAC_HID y
   fi
   if [ "$CONFIG_ADB_CUDA" != "n" ]; then
      bool 'Support for ANS LCD display' CONFIG_ANSLCD
   fi
fi
endmenu

source drivers/char/Config.in

source drivers/media/Config.in

source fs/Config.in

mainmenu_option next_comment
comment 'Sound'
tristate 'Sound card support' CONFIG_SOUND
if [ "$CONFIG_SOUND" != "n" ]; then
   source sound/oss/dmasound/Config.in
   source sound/Config.in
fi
endmenu

if [ "$CONFIG_8xx" = "y" ]; then
   source arch/ppc/8xx_io/Config.in
fi

if [ "$CONFIG_8260" = "y" ]; then
   source arch/ppc/8260_io/Config.in
fi

if [ "$CONFIG_4xx" = "y"]; then
   mainmenu_option next_comment
   comment 'IBM 4xx options'
   if [ "$CONFIG_STB03xxx" = "y" ]; then
      bool 'STB IR Keyboard' CONFIG_STB_KB
      bool 'SICC Serial port' CONFIG_SERIAL_SICC
      if [ "$CONFIG_SERIAL_SICC" = "y" -a "$CONFIG_UART0_TTYS1" = "y" ]; then
         define_bool CONFIG_UART1_DFLT_CONSOLE y	
         define_bool CONFIG_SERIAL_SICC_CONSOLE y
      fi
   fi
   endmenu
fi

source drivers/usb/Config.in

if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
   source net/bluetooth/Config.in
fi

source lib/Config.in

mainmenu_option next_comment
comment 'Kernel hacking'

bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ
bool 'Include kgdb kernel debugger' CONFIG_KGDB
if [ "$CONFIG_KGDB" = "y" ]; then
   choice 'Serial Port'			\
	"ttyS0	CONFIG_KGDB_TTYS0	\
	 ttyS1	CONFIG_KGDB_TTYS1	\
	 ttyS2	CONFIG_KGDB_TTYS2	\
	 ttyS3	CONFIG_KGDB_TTYS3"	ttyS1
fi
bool 'Include xmon kernel debugger' CONFIG_XMON
bool 'Include BDI-2000 user context switcher' CONFIG_BDI_SWITCH
if [ "$CONFIG_KGDB" = "y" -o "$CONFIG_XMON" = "y" \
     -o "$CONFIG_BDI_SWITCH" = "y" ]; then
   bool 'Add any additional compile options' CONFIG_MORE_COMPILE_OPTIONS
   if [ "$CONFIG_MORE_COMPILE_OPTIONS" = "y" ]; then
      string 'Additional compile arguments' CONFIG_COMPILE_OPTIONS "-g -ggdb"
   fi
fi

if [ "$CONFIG_ALL_PPC" = "y" ]; then
   bool 'Support for early boot text console (BootX or OpenFirmware only)' CONFIG_BOOTX_TEXT
fi
if [ "$CONFIG_MCPN765" = "y" -o "$CONFIG_SANDPOINT" = "y" \
     -o "$CONFIG_ZX4500" = "y" -o "$CONFIG_PRPMC800" = "y" \
     -o "$CONFIG_4xx" = "y" -o "$CONFIG_GT64260" = "y" ]; then
   bool 'Support for early boot texts over serial port' CONFIG_SERIAL_TEXT_DEBUG
fi
endmenu