#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/config-language.txt.
#
mainmenu_name "Linux Kernel Configuration"

define_bool CONFIG_X86 y
define_bool CONFIG_ISA y
define_bool CONFIG_SBUS n

define_bool O1_SCHEDULER y

define_bool CONFIG_UID16 y

mainmenu_option next_comment
comment 'Code maturity level options'
bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
endmenu

mainmenu_option next_comment
comment 'Loadable module support'
bool 'Enable loadable module support' CONFIG_MODULES
if [ "$CONFIG_MODULES" = "y" ]; then
   bool '  Set version information on all module symbols' CONFIG_MODVERSIONS
   bool '  Kernel module loader' CONFIG_KMOD
fi
endmenu

mainmenu_option next_comment
comment 'Processor type and features'
choice 'Processor vendor' \
	"AMD			CONFIG_VENDOR_AMD \
	 Cyrix			CONFIG_VENDOR_CYRIX \
	 Generic		CONFIG_VENDOR_GENERIC \
	 IDT			CONFIG_VENDOR_IDT \
	 Intel			CONFIG_VENDOR_INTEL \
	 NationalSemiconductor	CONFIG_VENDOR_NATSEMI \
	 RiSE			CONFIG_VENDOR_RISE \
	 Transmeta		CONFIG_VENDOR_TRANSMETA \
	 VIA			CONFIG_VENDOR_VIA"	Intel

if [ "$CONFIG_VENDOR_AMD" = "y" ]; then
	choice 'Processor family' \
	"386				CONFIG_M386 \
	 486				CONFIG_M486 \
	 K5/5x86			CONFIG_M586 \
	 K6/K6-II/K6-III		CONFIG_MK6 \
	 Athlon/Duron/K7		CONFIG_MK7 \
	 Athlon-XP			CONFIG_MATHLONXP \
	 Elan				CONFIG_MELAN" Athlon
fi

if [ "$CONFIG_VENDOR_CYRIX" = "y" ]; then
	choice 'Processor family' \
	"386				CONFIG_M386 \
	 486				CONFIG_M486 \
	 586/5x86/6x86/6x86MX		CONFIG_M586" 586
fi

if [ "$CONFIG_VENDOR_GENERIC" = "y" ]; then
	choice 'Minimum spec CPU to generate code for' \
	"386			CONFIG_M386 \
	 486			CONFIG_M486 \
	 586			CONFIG_M586 \
	 686			CONFIG_M686" 386
fi

if [ "$CONFIG_VENDOR_IDT" = "y" ]; then
	choice 'Processor family' \
	"Winchip-C6			CONFIG_MWINCHIPC6 \
	 Winchip-2			CONFIG_MWINCHIP2 \
	 Winchip-2A/Winchip-3		CONFIG_MWINCHIP3D" Winchip-C6
fi

if [ "$CONFIG_VENDOR_INTEL" = "y" ]; then
	choice 'Processor family' \
	"386					CONFIG_M386 \
	 486					CONFIG_M486 \
	 Pentium-Classic			CONFIG_M586TSC \
	 Pentium-MMX				CONFIG_M586MMX \
	 Pentium-Pro			CONFIG_M686 \
	 Pentium-II/Celeron		CONFIG_MPENTIUMII \
	 Pentium-III/Celeron/Coppermine		CONFIG_MPENTIUMIII \
	 Pentium-4				CONFIG_MPENTIUM4" Pentium-II
fi

if [ "$CONFIG_VENDOR_NATSEMI" = "y" ]; then
	define_bool CONFIG_M586 y
fi

if [ "$CONFIG_VENDOR_RISE" = "y" ]; then
	define_bool CONFIG_M586 y
fi

if [ "$CONFIG_VENDOR_TRANSMETA" = "y" ]; then
	define_bool CONFIG_MCRUSOE y
fi

if [ "$CONFIG_VENDOR_VIA" = "y" ]; then
	define_bool CONFIG_MCYRIXIII y
fi

#
# Define implied options from the CPU selection here
#

if [ "$CONFIG_M386" = "y" ]; then
   define_bool CONFIG_X86_CMPXCHG n
   define_bool CONFIG_X86_XADD n
   define_int  CONFIG_X86_L1_CACHE_SHIFT 4
   define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y
   define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
   define_bool CONFIG_X86_PPRO_FENCE y
   define_bool CONFIG_X86_F00F_BUG y
else
   define_bool CONFIG_X86_WP_WORKS_OK y
   define_bool CONFIG_X86_INVLPG y
   define_bool CONFIG_X86_CMPXCHG y
   define_bool CONFIG_X86_XADD y
   define_bool CONFIG_X86_BSWAP y
   define_bool CONFIG_X86_POPAD_OK y
   define_bool CONFIG_RWSEM_GENERIC_SPINLOCK n
   define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM y
fi
if [ "$CONFIG_M486" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 4
   define_bool CONFIG_X86_USE_STRING_486 y
   define_bool CONFIG_X86_ALIGNMENT_16 y
   define_bool CONFIG_X86_PPRO_FENCE y
   define_bool CONFIG_X86_F00F_BUG y
fi
if [ "$CONFIG_M586" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 5
   define_bool CONFIG_X86_USE_STRING_486 y
   define_bool CONFIG_X86_ALIGNMENT_16 y
   define_bool CONFIG_X86_PPRO_FENCE y
   define_bool CONFIG_X86_F00F_BUG y
fi
if [ "$CONFIG_M586TSC" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 5
   define_bool CONFIG_X86_USE_STRING_486 y
   define_bool CONFIG_X86_ALIGNMENT_16 y
   define_bool CONFIG_X86_TSC_CPU y
   define_bool CONFIG_X86_PPRO_FENCE y
   define_bool CONFIG_X86_F00F_BUG y
fi
if [ "$CONFIG_M586MMX" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 5
   define_bool CONFIG_X86_USE_STRING_486 y
   define_bool CONFIG_X86_ALIGNMENT_16 y
   define_bool CONFIG_X86_TSC_CPU y
   define_bool CONFIG_X86_GOOD_APIC y
   define_bool CONFIG_X86_PPRO_FENCE y
   define_bool CONFIG_X86_F00F_BUG y
fi
if [ "$CONFIG_M686" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 5
   define_bool CONFIG_X86_TSC_CPU y
   define_bool CONFIG_X86_GOOD_APIC y
   bool 'PGE extensions (not for Cyrix/Transmeta)' CONFIG_X86_PGE
   define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
   define_bool CONFIG_X86_PPRO_FENCE y
fi
if [ "$CONFIG_MPENTIUMII" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 7
   define_bool CONFIG_X86_TSC y
   define_bool CONFIG_X86_GOOD_APIC y
   define_bool CONFIG_X86_PGE y
   define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
fi
if [ "$CONFIG_MPENTIUMIII" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 7
   define_bool CONFIG_X86_TSC_CPU y
   define_bool CONFIG_X86_GOOD_APIC y
   define_bool CONFIG_X86_PGE y
   define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
   define_bool CONFIG_X86_SFENCE y
fi
if [ "$CONFIG_MPENTIUM4" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 7
   define_bool CONFIG_X86_TSC_CPU y
   define_bool CONFIG_X86_GOOD_APIC y
   define_bool CONFIG_X86_PGE y
   define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
   define_bool CONFIG_X86_SFENCE y
   define_bool CONFIG_X86_LFENCE y
   define_bool CONFIG_X86_MFENCE y
fi
if [ "$CONFIG_MK6" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 5
   define_bool CONFIG_X86_ALIGNMENT_16 y
   define_bool CONFIG_X86_TSC_CPU y
   define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
fi
if [ "$CONFIG_MK7" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 6
   define_bool CONFIG_X86_TSC_CPU y
   define_bool CONFIG_X86_GOOD_APIC y
   define_bool CONFIG_X86_USE_3DNOW y
   define_bool CONFIG_X86_PGE y
   define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
fi
if [ "$CONFIG_MATHLONXP" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 6
   define_bool CONFIG_X86_TSC y
   define_bool CONFIG_X86_GOOD_APIC y
   define_bool CONFIG_X86_USE_3DNOW y
   define_bool CONFIG_X86_PGE y
   define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
   define_bool CONFIG_X86_SFENCE y
fi
if [ "$CONFIG_MELAN" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 4
   define_bool CONFIG_X86_USE_STRING_486 y
   define_bool CONFIG_X86_ALIGNMENT_16 y
fi
if [ "$CONFIG_MCYRIXIII" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 5
   define_bool CONFIG_X86_TSC_CPU y
   define_bool CONFIG_X86_ALIGNMENT_16 y
   define_bool CONFIG_X86_USE_3DNOW y
   define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
fi
if [ "$CONFIG_MCRUSOE" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 5
   define_bool CONFIG_X86_TSC_CPU y
fi
if [ "$CONFIG_MWINCHIPC6" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 5
   define_bool CONFIG_X86_ALIGNMENT_16 y
   define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
   define_bool CONFIG_X86_OOSTORE y
fi
if [ "$CONFIG_MWINCHIP2" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 5
   define_bool CONFIG_X86_ALIGNMENT_16 y
   define_bool CONFIG_X86_TSC_CPU y
   define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
   define_bool CONFIG_X86_OOSTORE y
fi
if [ "$CONFIG_MWINCHIP3D" = "y" ]; then
   define_int  CONFIG_X86_L1_CACHE_SHIFT 5
   define_bool CONFIG_X86_ALIGNMENT_16 y
   define_bool CONFIG_X86_TSC_CPU y
   define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
   define_bool CONFIG_X86_OOSTORE y
fi

bool 'CPU Frequency scaling' CONFIG_CPU_FREQ
if [ "$CONFIG_CPU_FREQ" = "y" ]; then
   bool ' /proc/sys/cpu/ interface (2.4. / OLD)' CONFIG_CPU_FREQ_24_API
   tristate ' AMD Mobile K6-2/K6-3 PowerNow!' CONFIG_X86_POWERNOW_K6
   if [ "$CONFIG_MELAN" = "y" ]; then
       tristate ' AMD Elan' CONFIG_ELAN_CPUFREQ
   fi
   tristate ' VIA Cyrix III Longhaul' CONFIG_X86_LONGHAUL
   tristate ' Intel Speedstep' CONFIG_X86_SPEEDSTEP
   tristate ' Intel Pentium 4 clock modulation' CONFIG_X86_P4_CLOCKMOD
   if [ "$CONFIG_CPU_FREQ_24_API" = "n" ]; then
       tristate ' Transmeta LongRun' CONFIG_X86_LONGRUN
   fi
fi

tristate 'Toshiba Laptop support' CONFIG_TOSHIBA
tristate 'Dell laptop support' CONFIG_I8K
tristate 'IBM ThinkPad laptop support' CONFIG_THINKPAD

tristate '/dev/cpu/microcode - Intel IA32 CPU microcode support' CONFIG_MICROCODE
tristate '/dev/cpu/*/msr - Model-specific register support' CONFIG_X86_MSR
tristate '/dev/cpu/*/cpuid - CPU information support' CONFIG_X86_CPUID
bool 'E820 proc support' CONFIG_E820_PROC

int 'Kernel Timer Frequency (HZ)' CONFIG_HZ 100

choice 'High Memory Support' \
	"off    CONFIG_NOHIGHMEM \
	 4GB    CONFIG_HIGHMEM4G \
	 64GB   CONFIG_HIGHMEM64G" off
if [ "$CONFIG_HIGHMEM4G" = "y" -o "$CONFIG_HIGHMEM64G" = "y" ]; then
   define_bool CONFIG_HIGHMEM y
else
   define_bool CONFIG_HIGHMEM n
fi
if [ "$CONFIG_HIGHMEM64G" = "y" ]; then
   define_bool CONFIG_X86_PAE y
   choice 'User address space size' \
	"3GB		CONFIG_1GB \
	 2GB		CONFIG_2GB \
	 1GB		CONFIG_3GB" 3GB
else
   choice 'User address space size' \
	"3GB		CONFIG_1GB \
	 2GB		CONFIG_2GB \
	 1GB		CONFIG_3GB \
	 3.5GB		CONFIG_05GB" 3GB
fi

bool 'Enable Memory Pools' CONFIG_MEMORYPOOL
if [ "$CONFIG_MEMORYPOOL" = "n" ]; then
       define_bool CONFIG_EVMS n
       define_bool CONFIG_BLK_DEV_DM n
fi

if [ "$CONFIG_HIGHMEM" = "y" ]; then
   bool 'HIGHMEM I/O support' CONFIG_HIGHIO
fi

bool 'Enable Simple Boot Flag Specification' CONFIG_SBFSPEC

bool 'Math emulation' CONFIG_MATH_EMULATION
bool 'MTRR (Memory Type Range Register) support' CONFIG_MTRR
bool 'Symmetric multi-processing support' CONFIG_SMP
if [ "$CONFIG_SMP" = "y" ]; then
   int  'Maximum number of CPUs (2-32)' CONFIG_NR_CPUS 32
fi

bool 'Low latency scheduling' CONFIG_LOLAT
dep_bool '  Control low latency with sysctl' CONFIG_LOLAT_SYSCTL $CONFIG_LOLAT

bool 'Preemptible Kernel' CONFIG_PREEMPT
dep_bool '  Collect preemption latency times' CONFIG_PREEMPT_TIMES $CONFIG_PREEMPT
if [ "$CONFIG_SMP" != "y" ]; then
   bool 'Local APIC support on uniprocessors' CONFIG_X86_UP_APIC
   dep_bool 'IO-APIC support on uniprocessors' CONFIG_X86_UP_IOAPIC $CONFIG_X86_UP_APIC
   if [ "$CONFIG_X86_UP_APIC" = "y" ]; then
      define_bool CONFIG_X86_LOCAL_APIC y
   fi
   if [ "$CONFIG_X86_UP_IOAPIC" = "y" ]; then
      define_bool CONFIG_X86_IO_APIC y
   fi
else
   bool 'Multiquad NUMA system' CONFIG_MULTIQUAD
fi

if [ "$CONFIG_X86_TSC_CPU" = "y" -a "$CONFIG_MULTIQUAD" != "y" ]; then
   define_bool CONFIG_X86_TSC y
fi

if [ "$CONFIG_SMP" = "y" -o "$CONFIG_PREEMPT" = "y" ]; then
   if [ "$CONFIG_X86_CMPXCHG" = "y" ]; then
      define_bool CONFIG_HAVE_DEC_LOCK y
   fi
fi

endmenu

source arch/i386/VIA-config.in

mainmenu_option next_comment
comment 'General setup'

if [ "$CONFIG_SMP" != "y" ]; then
	dep_bool 'Compressed cache (EXPERIMENTAL)' CONFIG_COMP_CACHE $CONFIG_EXPERIMENTAL
	if [ "$CONFIG_COMP_CACHE" = "y" ]; then
		bool '  Support for Page Cache compression' CONFIG_COMP_PAGE_CACHE
		bool '  Double Page Size' CONFIG_COMP_DOUBLE_PAGE
		bool '  Compressed Swap' CONFIG_COMP_SWAP
	fi
fi

bool 'Networking support' CONFIG_NET

bool 'Enterprise event logging support' CONFIG_EVLOG
if [ "$CONFIG_EVLOG" != "n" ]; then
   int 'Eventlog buffer size (in Kbytes)' CONFIG_EVLOG_BUFSIZE 128
   bool '    Forward printk messages to enterprise event log' CONFIG_EVLOG_FWPRINTK
fi

# Visual Workstation support is utterly broken.
# If you want to see it working mail an VW540 to hch@infradead.org 8)
#bool 'SGI Visual Workstation support' CONFIG_VISWS
if [ "$CONFIG_VISWS" = "y" ]; then
   define_bool CONFIG_X86_VISWS_APIC y
   define_bool CONFIG_X86_LOCAL_APIC y
   define_bool CONFIG_PCI y
else
   if [ "$CONFIG_SMP" = "y" ]; then
      define_bool CONFIG_X86_IO_APIC y
      define_bool CONFIG_X86_LOCAL_APIC y
   fi
   bool 'PCI support' CONFIG_PCI
   if [ "$CONFIG_PCI" = "y" ]; then
      choice '  PCI access mode' \
	"BIOS		CONFIG_PCI_GOBIOS	\
	 Direct		CONFIG_PCI_GODIRECT	\
	 Any		CONFIG_PCI_GOANY"	Any
      if [ "$CONFIG_PCI_GOBIOS" = "y" -o "$CONFIG_PCI_GOANY" = "y" ]; then
         define_bool CONFIG_PCI_BIOS y
      fi
      if [ "$CONFIG_PCI_GODIRECT" = "y" -o "$CONFIG_PCI_GOANY" = "y" ]; then
         define_bool CONFIG_PCI_DIRECT y
      fi
   fi
fi

source drivers/pci/Config.in

bool 'EISA support' CONFIG_EISA

if [ "$CONFIG_VISWS" != "y" ]; then
   bool 'MCA support' CONFIG_MCA
else
   define_bool CONFIG_MCA n
fi

bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG

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

bool 'System V IPC' CONFIG_SYSVIPC
bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
bool 'Sysctl support' CONFIG_SYSCTL
int 'Maximum User Real-Time Priority' CONFIG_MAX_USER_RT_PRIO 100
int 'Maximum Kernel Real-time Priority' CONFIG_MAX_RT_PRIO 0
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
   bool 'Inherit Capabilities Across Exec' CONFIG_INHERIT_CAPS_ACROSS_EXEC
fi
if [ "$CONFIG_PROC_FS" = "y" ]; then
   choice 'Kernel core (/proc/kcore) format' \
	"ELF		CONFIG_KCORE_ELF	\
	 A.OUT		CONFIG_KCORE_AOUT" ELF
fi
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
   bool 'Extended ptrace support (EXPERIMENTAL)' CONFIG_EXPTRACE
fi
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

bool 'Power Management support' CONFIG_PM

dep_tristate '  Advanced Power Management BIOS support' CONFIG_APM $CONFIG_PM
if [ "$CONFIG_APM" != "n" ]; then
   bool '    Ignore USER SUSPEND' CONFIG_APM_IGNORE_USER_SUSPEND
   bool '    Enable PM at boot time' CONFIG_APM_DO_ENABLE
   bool '    Make CPU Idle calls when idle' CONFIG_APM_CPU_IDLE
   bool '    Enable console blanking using APM' CONFIG_APM_DISPLAY_BLANK
   bool '    RTC stores time in GMT' CONFIG_APM_RTC_IS_GMT
   bool '    Allow interrupts during APM BIOS calls' CONFIG_APM_ALLOW_INTS
   bool '    Use real mode APM BIOS call to power off' CONFIG_APM_REAL_MODE_POWER_OFF
   tristate 'Enable SiS APM Workaround' CONFIG_SISBUG
fi

source drivers/acpi/Config.in

endmenu

source abi/Config.in

source drivers/mtd/Config.in

source drivers/parport/Config.in

source drivers/pnp/Config.in

source drivers/block/Config.in

source drivers/evms/Config.in

source drivers/md/Config.in

source drivers/infi/Config.in


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

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 drivers/telephony/Config.in

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_IDE_MODES n
   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


source net/ax25/Config.in

source net/irda/Config.in

mainmenu_option next_comment
comment 'ISDN subsystem'
if [ "$CONFIG_NET" != "n" ]; then
   tristate 'ISDN support' CONFIG_ISDN
   if [ "$CONFIG_ISDN" != "n" ]; then
      source drivers/isdn/Config.in
   fi
fi
endmenu

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

#
# input before char - char/joystick depends on it. As does USB.
#
source drivers/input/Config.in
source drivers/char/Config.in

#source drivers/misc/Config.in

source drivers/media/Config.in

source drivers/crypto/Config.in

source fs/Config.in

if [ "$CONFIG_VT" = "y" ]; then
   mainmenu_option next_comment
   comment 'Console drivers'
   bool 'VGA text console' CONFIG_VGA_CONSOLE
   bool 'Video mode selection support' CONFIG_VIDEO_SELECT
   if [ "$CONFIG_VIDEO_SELECT" = "y" ]; then
      bool '  Ignore bad video mode selections' CONFIG_VIDEO_IGNORE_BAD_MODE
   fi
   if [ "$CONFIG_EXPERIMENTAL" = "n" ]; then
      comment '  Frame-buffer support requires Experimental Options to be set'
      else
      tristate 'MDA text console (dual-headed) (EXPERIMENTAL)' CONFIG_MDA_CONSOLE
      source drivers/video/Config.in
   fi
   endmenu
fi

#if [ "$CONFIG_SOUND" != "y" -a "$CONFIG_SOUND" != "m" ]; then
   mainmenu_option next_comment
   comment 'ALSA Sound'
#   comment 'DEACTIVATE THIS AND YOU WILL SEE KERNEL SOUND CORE IN THE MENU BEFORE'
   tristate 'Sound card support' CONFIG_SOUND_ALSA
   if [ "$CONFIG_SOUND_ALSA" != "n" ]; then
      source sound/Config.in
   fi
   endmenu
#fi

#if [ "$CONFIG_SOUND_ALSA" != "y" -a "$CONFIG_SOUND_ALSA" != "m" ]; then
mainmenu_option next_comment
comment 'Sound'
#comment 'DEACTIVATE THIS AND YOU WILL SEE ALSA IN THE MENU BEFORE'
tristate 'Sound card support' CONFIG_SOUND
if [ "$CONFIG_SOUND" != "n" ]; then
   source drivers/sound/Config.in
fi
endmenu
#fi

source drivers/usb/Config.in

source drivers/addon/Config.in

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

if [ "$CONFIG_MODULES" = "y" ]; then
	mainmenu_option next_comment
	comment 'Win4Lin - Windows Applications support'
	bool 'Include NeTraverse Win4Lin Support' CONFIG_MKI
	if [ "$CONFIG_MKI" = "y" ]; then
	   define_bool CONFIG_1GB y
	fi
	endmenu
fi

mainmenu_option next_comment
comment 'Kernel hacking'

bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
if [ "$CONFIG_DEBUG_KERNEL" != "n" ]; then
   bool '  Debug high memory support' CONFIG_DEBUG_HIGHMEM
   bool '  Debug memory allocations' CONFIG_DEBUG_SLAB
   bool '  Memory mapped I/O debugging' CONFIG_DEBUG_IOVIRT
   bool '  Magic SysRq key' CONFIG_MAGIC_SYSRQ
   bool '  Spinlock debugging' CONFIG_DEBUG_SPINLOCK
   bool '  Emulate HIGHMEM on lowmem machines' CONFIG_HIGHMEM_EMULATION
   if [ "$CONFIG_HIGHMEM_EMULATION" = "y" -a "$CONFIG_NOHIGHMEM" = "y" ]; then
      define_bool CONFIG_NOHIGHMEM n
      define_bool CONFIG_HIGHMEM4G y
   fi
   bool '  Compile the kernel with frame pointers' CONFIG_FRAME_POINTER
   bool '  Built-in Kernel Debugger support' CONFIG_KDB
   dep_tristate '    KDB modules' CONFIG_KDB_MODULES $CONFIG_KDB
   if [ "$CONFIG_KDB" = "y" ]; then
      bool '    KDB off by default' CONFIG_KDB_OFF
      comment '  Load all symbols for debugging is required for KDB'
      define_bool CONFIG_KALLSYMS y
   else
      bool '  Load all symbols for debugging' CONFIG_KALLSYMS
   fi
   bool 'Kernel messages dumper (EXPERIMENTAL)' CONFIG_KMSGDUMP
   if [ "$CONFIG_KMSGDUMP" != "n" ]; then
     bool '  Format floppies as FAT by default' CONFIG_KMSGDUMP_FAT
     bool '  Automatically dump then reboot on kernel panic' CONFIG_KMSGDUMP_AUTO
     bool '  Limit dump to pre-initialized floppies only' CONFIG_KMSGDUMP_SAFE
   fi
   choice 'Kernel debug output' \
	"default		CONFIG_DEBUG_DEFAULT \
   	 verbose		CONFIG_DEBUG_BUGVERBOSE \
	 suppress		CONFIG_DEBUG_SUPPRESS" default
fi
bool 'William Lee Irwin - Early printk()' CONFIG_WLI_EARLY_PRINTK
if [ "$CONFIG_WLI_EARLY_PRINTK" != "n" ]; then
   define_bool CONFIG_EARLY_CONSOLE_VGA y
   bool '  Early printk() on serial I/O port 0x3F8' CONFIG_EARLY_CONSOLE_3F8
   bool '  Early printk() on serial I/O port 0x3E8' CONFIG_EARLY_CONSOLE_3E8
   bool '  Early printk() on VGA text console' CONFIG_EARLY_CONSOLE_VGA
   bool '  Early printk() via the bochs 0xE9 hack' CONFIG_EARLY_CONSOLE_BOCHS_E9_HACK
fi

if [ "$CONFIG_COMP_CACHE" != "y" ]; then
   bool 'Debug __alloc_pages' CONFIG_DEBUG_ALLOCPAGES
fi

bool 'Load-KILL (EXPERIMENTAL)' CONFIG_LOADKILL

endmenu


source security/Config.in

source lib/Config.in
