Commit d375cab0 authored by Sam Ravnborg's avatar Sam Ravnborg

Merge bk://linux-sam.bkbits.net/kconfig

into mars.ravnborg.org:/home/sam/bk/kconfig
parents 2bd1c1e2 c9050ef9
...@@ -1199,18 +1199,14 @@ config EISA ...@@ -1199,18 +1199,14 @@ config EISA
source "drivers/eisa/Kconfig" source "drivers/eisa/Kconfig"
config MCA config MCA
bool "MCA support" bool "MCA support" if !(X86_VISWS || X86_VOYAGER)
depends on !(X86_VISWS || X86_VOYAGER) default y if X86_VOYAGER
help help
MicroChannel Architecture is found in some IBM PS/2 machines and MicroChannel Architecture is found in some IBM PS/2 machines and
laptops. It is a bus system similar to PCI or ISA. See laptops. It is a bus system similar to PCI or ISA. See
<file:Documentation/mca.txt> (and especially the web page given <file:Documentation/mca.txt> (and especially the web page given
there) before attempting to build an MCA bus kernel. there) before attempting to build an MCA bus kernel.
config MCA
depends on X86_VOYAGER
default y if X86_VOYAGER
source "drivers/mca/Kconfig" source "drivers/mca/Kconfig"
config SCx200 config SCx200
......
...@@ -3,7 +3,7 @@ menu "Kernel hacking" ...@@ -3,7 +3,7 @@ menu "Kernel hacking"
source "lib/Kconfig.debug" source "lib/Kconfig.debug"
config EARLY_PRINTK config EARLY_PRINTK
bool "Early printk" if EMBEDDED bool "Early printk" if EMBEDDED && DEBUG_KERNEL
default y default y
help help
Write kernel log output directly into the VGA buffer or to a serial Write kernel log output directly into the VGA buffer or to a serial
...@@ -51,6 +51,7 @@ config DEBUG_PAGEALLOC ...@@ -51,6 +51,7 @@ config DEBUG_PAGEALLOC
config 4KSTACKS config 4KSTACKS
bool "Use 4Kb for kernel stacks instead of 8Kb" bool "Use 4Kb for kernel stacks instead of 8Kb"
depends on DEBUG_KERNEL
help help
If you say Y here the kernel will use a 4Kb stacksize for the If you say Y here the kernel will use a 4Kb stacksize for the
kernel stack attached to each process/thread. This facilitates kernel stack attached to each process/thread. This facilitates
......
...@@ -6,22 +6,14 @@ menu "CPU Frequency scaling" ...@@ -6,22 +6,14 @@ menu "CPU Frequency scaling"
source "drivers/cpufreq/Kconfig" source "drivers/cpufreq/Kconfig"
config CPU_FREQ_TABLE if CPU_FREQ
tristate "CPU frequency table helpers"
depends on CPU_FREQ
default y
help
Many CPUFreq drivers use these helpers, so only say N here if
the CPUFreq driver of your choice doesn't need these helpers.
If in doubt, say Y.
comment "CPUFreq processor drivers" comment "CPUFreq processor drivers"
depends on CPU_FREQ
config X86_ACPI_CPUFREQ config X86_ACPI_CPUFREQ
tristate "ACPI Processor P-States driver" tristate "ACPI Processor P-States driver"
depends on CPU_FREQ_TABLE && ACPI_PROCESSOR select CPU_FREQ_TABLE
depends on ACPI_PROCESSOR
help help
This driver adds a CPUFreq driver which utilizes the ACPI This driver adds a CPUFreq driver which utilizes the ACPI
Processor Performance States. Processor Performance States.
...@@ -32,7 +24,8 @@ config X86_ACPI_CPUFREQ ...@@ -32,7 +24,8 @@ config X86_ACPI_CPUFREQ
config ELAN_CPUFREQ config ELAN_CPUFREQ
tristate "AMD Elan" tristate "AMD Elan"
depends on CPU_FREQ_TABLE && X86_ELAN select CPU_FREQ_TABLE
depends on X86_ELAN
---help--- ---help---
This adds the CPUFreq driver for AMD Elan SC400 and SC410 This adds the CPUFreq driver for AMD Elan SC400 and SC410
processors. processors.
...@@ -47,7 +40,7 @@ config ELAN_CPUFREQ ...@@ -47,7 +40,7 @@ config ELAN_CPUFREQ
config X86_POWERNOW_K6 config X86_POWERNOW_K6
tristate "AMD Mobile K6-2/K6-3 PowerNow!" tristate "AMD Mobile K6-2/K6-3 PowerNow!"
depends on CPU_FREQ_TABLE select CPU_FREQ_TABLE
help help
This adds the CPUFreq driver for mobile AMD K6-2+ and mobile This adds the CPUFreq driver for mobile AMD K6-2+ and mobile
AMD K6-3+ processors. AMD K6-3+ processors.
...@@ -58,7 +51,7 @@ config X86_POWERNOW_K6 ...@@ -58,7 +51,7 @@ config X86_POWERNOW_K6
config X86_POWERNOW_K7 config X86_POWERNOW_K7
tristate "AMD Mobile Athlon/Duron PowerNow!" tristate "AMD Mobile Athlon/Duron PowerNow!"
depends on CPU_FREQ_TABLE select CPU_FREQ_TABLE
help help
This adds the CPUFreq driver for mobile AMD K7 mobile processors. This adds the CPUFreq driver for mobile AMD K7 mobile processors.
...@@ -68,12 +61,14 @@ config X86_POWERNOW_K7 ...@@ -68,12 +61,14 @@ config X86_POWERNOW_K7
config X86_POWERNOW_K7_ACPI config X86_POWERNOW_K7_ACPI
bool bool
depends on ((X86_POWERNOW_K7 = "m" && ACPI_PROCESSOR) || (X86_POWERNOW_K7 = "y" && ACPI_PROCESSOR = "y")) depends on X86_POWERNOW_K7 && ACPI_PROCESSOR
depends on !(X86_POWERNOW_K7 = y && ACPI_PROCESSOR = m)
default y default y
config X86_POWERNOW_K8 config X86_POWERNOW_K8
tristate "AMD Opteron/Athlon64 PowerNow!" tristate "AMD Opteron/Athlon64 PowerNow!"
depends on CPU_FREQ_TABLE && EXPERIMENTAL select CPU_FREQ_TABLE
depends on EXPERIMENTAL
help help
This adds the CPUFreq driver for mobile AMD Opteron/Athlon64 processors. This adds the CPUFreq driver for mobile AMD Opteron/Athlon64 processors.
...@@ -83,12 +78,12 @@ config X86_POWERNOW_K8 ...@@ -83,12 +78,12 @@ config X86_POWERNOW_K8
config X86_POWERNOW_K8_ACPI config X86_POWERNOW_K8_ACPI
bool bool
depends on ((X86_POWERNOW_K8 = "m" && ACPI_PROCESSOR) || (X86_POWERNOW_K8 = "y" && ACPI_PROCESSOR = "y")) depends on X86_POWERNOW_K8 && ACPI_PROCESSOR
depends on !(X86_POWERNOW_K8 = y && ACPI_PROCESSOR = m)
default y default y
config X86_GX_SUSPMOD config X86_GX_SUSPMOD
tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation" tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation"
depends on CPU_FREQ
help help
This add the CPUFreq driver for NatSemi Geode processors which This add the CPUFreq driver for NatSemi Geode processors which
support suspend modulation. support suspend modulation.
...@@ -99,7 +94,7 @@ config X86_GX_SUSPMOD ...@@ -99,7 +94,7 @@ config X86_GX_SUSPMOD
config X86_SPEEDSTEP_CENTRINO config X86_SPEEDSTEP_CENTRINO
tristate "Intel Enhanced SpeedStep" tristate "Intel Enhanced SpeedStep"
depends on CPU_FREQ_TABLE select CPU_FREQ_TABLE
select X86_SPEEDSTEP_CENTRINO_TABLE if (!X86_SPEEDSTEP_CENTRINO_ACPI) select X86_SPEEDSTEP_CENTRINO_TABLE if (!X86_SPEEDSTEP_CENTRINO_ACPI)
help help
This adds the CPUFreq driver for Enhanced SpeedStep enabled This adds the CPUFreq driver for Enhanced SpeedStep enabled
...@@ -114,8 +109,8 @@ config X86_SPEEDSTEP_CENTRINO ...@@ -114,8 +109,8 @@ config X86_SPEEDSTEP_CENTRINO
config X86_SPEEDSTEP_CENTRINO_ACPI config X86_SPEEDSTEP_CENTRINO_ACPI
bool "Use ACPI tables to decode valid frequency/voltage pairs" bool "Use ACPI tables to decode valid frequency/voltage pairs"
depends on X86_SPEEDSTEP_CENTRINO depends on X86_SPEEDSTEP_CENTRINO && ACPI_PROCESSOR
depends on ((X86_SPEEDSTEP_CENTRINO = "m" && ACPI_PROCESSOR) || (X86_SPEEDSTEP_CENTRINO = "y" && ACPI_PROCESSOR = "y")) depends on !(X86_SPEEDSTEP_CENTRINO = y && ACPI_PROCESSOR = m)
default y default y
help help
Use primarily the information provided in the BIOS ACPI tables Use primarily the information provided in the BIOS ACPI tables
...@@ -136,7 +131,7 @@ config X86_SPEEDSTEP_CENTRINO_TABLE ...@@ -136,7 +131,7 @@ config X86_SPEEDSTEP_CENTRINO_TABLE
config X86_SPEEDSTEP_ICH config X86_SPEEDSTEP_ICH
tristate "Intel Speedstep on ICH-M chipsets (ioport interface)" tristate "Intel Speedstep on ICH-M chipsets (ioport interface)"
depends on CPU_FREQ_TABLE select CPU_FREQ_TABLE
help help
This adds the CPUFreq driver for certain mobile Intel Pentium III This adds the CPUFreq driver for certain mobile Intel Pentium III
(Coppermine), all mobile Intel Pentium III-M (Tualatin) and all (Coppermine), all mobile Intel Pentium III-M (Tualatin) and all
...@@ -149,7 +144,8 @@ config X86_SPEEDSTEP_ICH ...@@ -149,7 +144,8 @@ config X86_SPEEDSTEP_ICH
config X86_SPEEDSTEP_SMI config X86_SPEEDSTEP_SMI
tristate "Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)" tristate "Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)"
depends on CPU_FREQ_TABLE && EXPERIMENTAL select CPU_FREQ_TABLE
depends on EXPERIMENTAL
help help
This adds the CPUFreq driver for certain mobile Intel Pentium III This adds the CPUFreq driver for certain mobile Intel Pentium III
(Coppermine), all mobile Intel Pentium III-M (Tualatin) (Coppermine), all mobile Intel Pentium III-M (Tualatin)
...@@ -161,7 +157,7 @@ config X86_SPEEDSTEP_SMI ...@@ -161,7 +157,7 @@ config X86_SPEEDSTEP_SMI
config X86_P4_CLOCKMOD config X86_P4_CLOCKMOD
tristate "Intel Pentium 4 clock modulation" tristate "Intel Pentium 4 clock modulation"
depends on CPU_FREQ_TABLE select CPU_FREQ_TABLE
help help
This adds the CPUFreq driver for Intel Pentium 4 / XEON This adds the CPUFreq driver for Intel Pentium 4 / XEON
processors. processors.
...@@ -172,7 +168,7 @@ config X86_P4_CLOCKMOD ...@@ -172,7 +168,7 @@ config X86_P4_CLOCKMOD
config X86_CPUFREQ_NFORCE2 config X86_CPUFREQ_NFORCE2
tristate "nVidia nForce2 FSB changing" tristate "nVidia nForce2 FSB changing"
depends on CPU_FREQ && EXPERIMENTAL depends on EXPERIMENTAL
help help
This adds the CPUFreq driver for FSB changing on nVidia nForce2 This adds the CPUFreq driver for FSB changing on nVidia nForce2
platforms. platforms.
...@@ -183,7 +179,6 @@ config X86_CPUFREQ_NFORCE2 ...@@ -183,7 +179,6 @@ config X86_CPUFREQ_NFORCE2
config X86_LONGRUN config X86_LONGRUN
tristate "Transmeta LongRun" tristate "Transmeta LongRun"
depends on CPU_FREQ
help help
This adds the CPUFreq driver for Transmeta Crusoe and Efficeon processors This adds the CPUFreq driver for Transmeta Crusoe and Efficeon processors
which support LongRun. which support LongRun.
...@@ -194,7 +189,7 @@ config X86_LONGRUN ...@@ -194,7 +189,7 @@ config X86_LONGRUN
config X86_LONGHAUL config X86_LONGHAUL
tristate "VIA Cyrix III Longhaul" tristate "VIA Cyrix III Longhaul"
depends on CPU_FREQ_TABLE select CPU_FREQ_TABLE
help help
This adds the CPUFreq driver for VIA Samuel/CyrixIII, This adds the CPUFreq driver for VIA Samuel/CyrixIII,
VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T
...@@ -205,7 +200,6 @@ config X86_LONGHAUL ...@@ -205,7 +200,6 @@ config X86_LONGHAUL
If in doubt, say N. If in doubt, say N.
comment "shared options" comment "shared options"
depends on CPU_FREQ
config X86_ACPI_CPUFREQ_PROC_INTF config X86_ACPI_CPUFREQ_PROC_INTF
bool "/proc/acpi/processor/../performance interface (deprecated)" bool "/proc/acpi/processor/../performance interface (deprecated)"
...@@ -220,8 +214,7 @@ config X86_ACPI_CPUFREQ_PROC_INTF ...@@ -220,8 +214,7 @@ config X86_ACPI_CPUFREQ_PROC_INTF
config X86_SPEEDSTEP_LIB config X86_SPEEDSTEP_LIB
tristate tristate
depends on (X86_SPEEDSTEP_ICH || X86_SPEEDSTEP_SMI || X86_P4_CLOCKMOD) default X86_SPEEDSTEP_ICH || X86_SPEEDSTEP_SMI || X86_P4_CLOCKMOD
default (X86_SPEEDSTEP_ICH || X86_SPEEDSTEP_SMI || X86_P4_CLOCKMOD)
config X86_SPEEDSTEP_RELAXED_CAP_CHECK config X86_SPEEDSTEP_RELAXED_CAP_CHECK
bool "Relaxed speedstep capability checks" bool "Relaxed speedstep capability checks"
...@@ -233,5 +226,6 @@ config X86_SPEEDSTEP_RELAXED_CAP_CHECK ...@@ -233,5 +226,6 @@ config X86_SPEEDSTEP_RELAXED_CAP_CHECK
option lets the probing code bypass some of those checks if the option lets the probing code bypass some of those checks if the
parameter "relaxed_check=1" is passed to the module. parameter "relaxed_check=1" is passed to the module.
endif # CPU_FREQ
endmenu endmenu
...@@ -209,7 +209,7 @@ config CPU_FREQ_PMAC ...@@ -209,7 +209,7 @@ config CPU_FREQ_PMAC
PowerBook. PowerBook.
config CPU_FREQ_TABLE config CPU_FREQ_TABLE
bool tristate
depends on CPU_FREQ_PMAC depends on CPU_FREQ_PMAC
default y default y
......
...@@ -45,16 +45,18 @@ config ACPI_BOOT ...@@ -45,16 +45,18 @@ config ACPI_BOOT
depends on ACPI || X86_HT depends on ACPI || X86_HT
default y default y
if ACPI
config ACPI_INTERPRETER config ACPI_INTERPRETER
bool bool
depends on ACPI
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default y default y
if ACPI_INTERPRETER
config ACPI_SLEEP config ACPI_SLEEP
bool "Sleep States (EXPERIMENTAL)" bool "Sleep States (EXPERIMENTAL)"
depends on X86 && ACPI depends on X86
depends on ACPI_INTERPRETER
depends on EXPERIMENTAL && PM depends on EXPERIMENTAL && PM
default y default y
---help--- ---help---
...@@ -81,7 +83,6 @@ config ACPI_SLEEP_PROC_FS ...@@ -81,7 +83,6 @@ config ACPI_SLEEP_PROC_FS
config ACPI_AC config ACPI_AC
tristate "AC Adapter" tristate "AC Adapter"
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default m default m
help help
This driver adds support for the AC Adapter object, which indicates This driver adds support for the AC Adapter object, which indicates
...@@ -91,7 +92,6 @@ config ACPI_AC ...@@ -91,7 +92,6 @@ config ACPI_AC
config ACPI_BATTERY config ACPI_BATTERY
tristate "Battery" tristate "Battery"
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default m default m
help help
This driver adds support for battery information through This driver adds support for battery information through
...@@ -100,7 +100,6 @@ config ACPI_BATTERY ...@@ -100,7 +100,6 @@ config ACPI_BATTERY
config ACPI_BUTTON config ACPI_BUTTON
tristate "Button" tristate "Button"
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default m default m
help help
...@@ -112,7 +111,6 @@ config ACPI_BUTTON ...@@ -112,7 +111,6 @@ config ACPI_BUTTON
config ACPI_VIDEO config ACPI_VIDEO
tristate "Video" tristate "Video"
depends on ACPI_INTERPRETER
depends on EXPERIMENTAL depends on EXPERIMENTAL
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default m default m
...@@ -127,7 +125,6 @@ config ACPI_VIDEO ...@@ -127,7 +125,6 @@ config ACPI_VIDEO
config ACPI_FAN config ACPI_FAN
tristate "Fan" tristate "Fan"
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default m default m
help help
...@@ -136,7 +133,6 @@ config ACPI_FAN ...@@ -136,7 +133,6 @@ config ACPI_FAN
config ACPI_PROCESSOR config ACPI_PROCESSOR
tristate "Processor" tristate "Processor"
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default m default m
help help
...@@ -165,7 +161,6 @@ config ACPI_THERMAL ...@@ -165,7 +161,6 @@ config ACPI_THERMAL
config ACPI_NUMA config ACPI_NUMA
bool "NUMA support" bool "NUMA support"
depends on ACPI_INTERPRETER
depends on NUMA depends on NUMA
depends on (IA64 || X86_64) depends on (IA64 || X86_64)
default y if IA64_GENERIC || IA64_SGI_SN2 default y if IA64_GENERIC || IA64_SGI_SN2
...@@ -173,7 +168,6 @@ config ACPI_NUMA ...@@ -173,7 +168,6 @@ config ACPI_NUMA
config ACPI_ASUS config ACPI_ASUS
tristate "ASUS/Medion Laptop Extras" tristate "ASUS/Medion Laptop Extras"
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default m default m
---help--- ---help---
This driver provides support for extra features of ACPI-compatible This driver provides support for extra features of ACPI-compatible
...@@ -203,7 +197,6 @@ config ACPI_ASUS ...@@ -203,7 +197,6 @@ config ACPI_ASUS
config ACPI_IBM config ACPI_IBM
tristate "IBM ThinkPad Laptop Extras" tristate "IBM ThinkPad Laptop Extras"
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default m default m
---help--- ---help---
This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds
...@@ -217,7 +210,6 @@ config ACPI_IBM ...@@ -217,7 +210,6 @@ config ACPI_IBM
config ACPI_TOSHIBA config ACPI_TOSHIBA
tristate "Toshiba Laptop Extras" tristate "Toshiba Laptop Extras"
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default m default m
---help--- ---help---
This driver adds support for access to certain system settings This driver adds support for access to certain system settings
...@@ -244,7 +236,7 @@ config ACPI_TOSHIBA ...@@ -244,7 +236,7 @@ config ACPI_TOSHIBA
config ACPI_CUSTOM_DSDT config ACPI_CUSTOM_DSDT
bool "Include Custom DSDT" bool "Include Custom DSDT"
depends on ACPI_INTERPRETER && !STANDALONE depends on !STANDALONE
default n default n
help help
Thist option is to load a custom ACPI DSDT Thist option is to load a custom ACPI DSDT
...@@ -271,7 +263,6 @@ config ACPI_BLACKLIST_YEAR ...@@ -271,7 +263,6 @@ config ACPI_BLACKLIST_YEAR
config ACPI_DEBUG config ACPI_DEBUG
bool "Debug Statements" bool "Debug Statements"
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default n default n
help help
...@@ -281,14 +272,12 @@ config ACPI_DEBUG ...@@ -281,14 +272,12 @@ config ACPI_DEBUG
config ACPI_BUS config ACPI_BUS
bool bool
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default y default y
config ACPI_EC config ACPI_EC
bool bool
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default y default y
help help
This driver is required on some systems for the proper operation of This driver is required on some systems for the proper operation of
...@@ -297,28 +286,27 @@ config ACPI_EC ...@@ -297,28 +286,27 @@ config ACPI_EC
config ACPI_POWER config ACPI_POWER
bool bool
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default y default y
config ACPI_PCI config ACPI_PCI
bool bool
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default PCI default PCI
config ACPI_SYSTEM config ACPI_SYSTEM
bool bool
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default y default y
help help
This driver will enable your system to shut down using ACPI, and This driver will enable your system to shut down using ACPI, and
dump your ACPI DSDT table using /proc/acpi/dsdt. dump your ACPI DSDT table using /proc/acpi/dsdt.
endif # ACPI_INTERPRETER
config X86_PM_TIMER config X86_PM_TIMER
bool "Power Management Timer Support" bool "Power Management Timer Support"
depends on X86 && ACPI depends on X86
depends on ACPI_BOOT && EXPERIMENTAL depends on ACPI_BOOT && EXPERIMENTAL
depends on !X86_64 depends on !X86_64
default n default n
...@@ -337,10 +325,12 @@ config X86_PM_TIMER ...@@ -337,10 +325,12 @@ config X86_PM_TIMER
config ACPI_CONTAINER config ACPI_CONTAINER
tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)" tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
depends on ACPI && EXPERIMENTAL depends on EXPERIMENTAL
default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO) default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
---help--- ---help---
This is the ACPI generic container driver which supports This is the ACPI generic container driver which supports
ACPI0004, PNP0A05 and PNP0A06 devices ACPI0004, PNP0A05 and PNP0A06 devices
endif # ACPI
endmenu endmenu
...@@ -13,9 +13,13 @@ config CPU_FREQ ...@@ -13,9 +13,13 @@ config CPU_FREQ
If in doubt, say N. If in doubt, say N.
if CPU_FREQ
config CPU_FREQ_TABLE
def_tristate m
config CPU_FREQ_DEBUG config CPU_FREQ_DEBUG
bool "Enable CPUfreq debugging" bool "Enable CPUfreq debugging"
depends on CPU_FREQ
help help
Say Y here to enable CPUfreq subsystem (including drivers) Say Y here to enable CPUfreq subsystem (including drivers)
debugging. You will need to activate it via the kernel debugging. You will need to activate it via the kernel
...@@ -29,7 +33,7 @@ config CPU_FREQ_DEBUG ...@@ -29,7 +33,7 @@ config CPU_FREQ_DEBUG
config CPU_FREQ_STAT config CPU_FREQ_STAT
tristate "CPU frequency translation statistics" tristate "CPU frequency translation statistics"
depends on CPU_FREQ && CPU_FREQ_TABLE select CPU_FREQ_TABLE
default y default y
help help
This driver exports CPU frequency statistics information through sysfs This driver exports CPU frequency statistics information through sysfs
...@@ -37,17 +41,15 @@ config CPU_FREQ_STAT ...@@ -37,17 +41,15 @@ config CPU_FREQ_STAT
config CPU_FREQ_STAT_DETAILS config CPU_FREQ_STAT_DETAILS
bool "CPU frequency translation statistics details" bool "CPU frequency translation statistics details"
depends on CPU_FREQ && CPU_FREQ_STAT depends on CPU_FREQ_STAT
default n
help help
This will show detail CPU frequency translation table in sysfs file This will show detail CPU frequency translation table in sysfs file
system system
choice choice
prompt "Default CPUFreq governor" prompt "Default CPUFreq governor"
depends on CPU_FREQ
default CPU_FREQ_DEFAULT_GOV_PERFORMANCE if !CPU_FREQ_SA1100 && !CPU_FREQ_SA1110
default CPU_FREQ_DEFAULT_GOV_USERSPACE if CPU_FREQ_SA1100 || CPU_FREQ_SA1110 default CPU_FREQ_DEFAULT_GOV_USERSPACE if CPU_FREQ_SA1100 || CPU_FREQ_SA1110
default CPU_FREQ_DEFAULT_GOV_PERFORMANCE
help help
This option sets which CPUFreq governor shall be loaded at This option sets which CPUFreq governor shall be loaded at
startup. If in doubt, select 'performance'. startup. If in doubt, select 'performance'.
...@@ -73,7 +75,6 @@ endchoice ...@@ -73,7 +75,6 @@ endchoice
config CPU_FREQ_GOV_PERFORMANCE config CPU_FREQ_GOV_PERFORMANCE
tristate "'performance' governor" tristate "'performance' governor"
depends on CPU_FREQ
help help
This cpufreq governor sets the frequency statically to the This cpufreq governor sets the frequency statically to the
highest available CPU frequency. highest available CPU frequency.
...@@ -82,7 +83,6 @@ config CPU_FREQ_GOV_PERFORMANCE ...@@ -82,7 +83,6 @@ config CPU_FREQ_GOV_PERFORMANCE
config CPU_FREQ_GOV_POWERSAVE config CPU_FREQ_GOV_POWERSAVE
tristate "'powersave' governor" tristate "'powersave' governor"
depends on CPU_FREQ
help help
This cpufreq governor sets the frequency statically to the This cpufreq governor sets the frequency statically to the
lowest available CPU frequency. lowest available CPU frequency.
...@@ -91,7 +91,6 @@ config CPU_FREQ_GOV_POWERSAVE ...@@ -91,7 +91,6 @@ config CPU_FREQ_GOV_POWERSAVE
config CPU_FREQ_GOV_USERSPACE config CPU_FREQ_GOV_USERSPACE
tristate "'userspace' governor for userspace frequency scaling" tristate "'userspace' governor for userspace frequency scaling"
depends on CPU_FREQ
help help
Enable this cpufreq governor when you either want to set the Enable this cpufreq governor when you either want to set the
CPU frequency manually or when an userspace program shall CPU frequency manually or when an userspace program shall
...@@ -104,7 +103,6 @@ config CPU_FREQ_GOV_USERSPACE ...@@ -104,7 +103,6 @@ config CPU_FREQ_GOV_USERSPACE
config CPU_FREQ_GOV_ONDEMAND config CPU_FREQ_GOV_ONDEMAND
tristate "'ondemand' cpufreq policy governor" tristate "'ondemand' cpufreq policy governor"
depends on CPU_FREQ
help help
'ondemand' - This driver adds a dynamic cpufreq policy governor. 'ondemand' - This driver adds a dynamic cpufreq policy governor.
The governor does a periodic polling and The governor does a periodic polling and
...@@ -116,3 +114,5 @@ config CPU_FREQ_GOV_ONDEMAND ...@@ -116,3 +114,5 @@ config CPU_FREQ_GOV_ONDEMAND
For details, take a look at linux/Documentation/cpu-freq. For details, take a look at linux/Documentation/cpu-freq.
If in doubt, say N. If in doubt, say N.
endif # CPU_FREQ
...@@ -27,6 +27,15 @@ config MTD_DEBUG_VERBOSE ...@@ -27,6 +27,15 @@ config MTD_DEBUG_VERBOSE
help help
Determines the verbosity level of the MTD debugging messages. Determines the verbosity level of the MTD debugging messages.
config MTD_CONCAT
tristate "MTD concatenating support"
depends on MTD
help
Support for concatenating several MTD devices into a single
(virtual) one. This allows you to have -for example- a JFFS(2)
file system spanning multiple physical flash chips. If unsure,
say 'Y'.
config MTD_PARTITIONS config MTD_PARTITIONS
bool "MTD partitioning support" bool "MTD partitioning support"
depends on MTD depends on MTD
...@@ -40,15 +49,6 @@ config MTD_PARTITIONS ...@@ -40,15 +49,6 @@ config MTD_PARTITIONS
devices. Partitioning on NFTL 'devices' is a different - that's the devices. Partitioning on NFTL 'devices' is a different - that's the
'normal' form of partitioning used on a block device. 'normal' form of partitioning used on a block device.
config MTD_CONCAT
tristate "MTD concatenating support"
depends on MTD
help
Support for concatenating several MTD devices into a single
(virtual) one. This allows you to have -for example- a JFFS(2)
file system spanning multiple physical flash chips. If unsure,
say 'Y'.
config MTD_REDBOOT_PARTS config MTD_REDBOOT_PARTS
tristate "RedBoot partition table parsing" tristate "RedBoot partition table parsing"
depends on MTD_PARTITIONS depends on MTD_PARTITIONS
......
...@@ -46,15 +46,9 @@ config PARPORT_PC ...@@ -46,15 +46,9 @@ config PARPORT_PC
If unsure, say Y. If unsure, say Y.
config PARPORT_PC_CML1
tristate
depends on PARPORT!=n && PARPORT_PC!=n
default PARPORT_PC if SERIAL_8250=y
default m if SERIAL_8250=m
config PARPORT_SERIAL config PARPORT_SERIAL
tristate "Multi-IO cards (parallel and serial)" tristate "Multi-IO cards (parallel and serial)"
depends on SERIAL_8250!=n && PARPORT_PC_CML1 && PCI depends on SERIAL_8250 && PARPORT_PC && PCI
help help
This adds support for multi-IO PCI cards that have parallel and This adds support for multi-IO PCI cards that have parallel and
serial ports. You should say Y or M here. If you say M, the module serial ports. You should say Y or M here. If you say M, the module
...@@ -118,8 +112,8 @@ config PARPORT_ATARI ...@@ -118,8 +112,8 @@ config PARPORT_ATARI
config PARPORT_GSC config PARPORT_GSC
tristate tristate
depends on GSC default GSC
default PARPORT depends on PARPORT
config PARPORT_SUNBPP config PARPORT_SUNBPP
tristate "Sparc hardware (EXPERIMENTAL)" tristate "Sparc hardware (EXPERIMENTAL)"
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
# #
config PCI_MSI config PCI_MSI
bool "Message Signaled Interrupts (MSI and MSI-X)" bool "Message Signaled Interrupts (MSI and MSI-X)"
depends on PCI
depends on (X86_LOCAL_APIC && X86_IO_APIC) || IA64 depends on (X86_LOCAL_APIC && X86_IO_APIC) || IA64
default n
help help
This allows device drivers to enable MSI (Message Signaled This allows device drivers to enable MSI (Message Signaled
Interrupts). Message Signaled Interrupts enable a device to Interrupts). Message Signaled Interrupts enable a device to
......
...@@ -3,13 +3,12 @@ ...@@ -3,13 +3,12 @@
# #
config PCIEPORTBUS config PCIEPORTBUS
bool "PCI Express support" bool "PCI Express support"
default n depends on PCI
help
---help--- This automatically enables PCI Express Port Bus support. Users can
This automatically enables PCI Express Port Bus support. Users can choose Native Hot-Plug support, Advanced Error Reporting support,
choose Native Hot-Plug support, Advanced Error Reporting support, Power Management Event support and Virtual Channel support to run
Power Management Event support and Virtual Channel support to run on PCI Express Ports (Root or Switch).
on PCI Express Ports (Root or Switch).
# #
# Include service Kconfig here # Include service Kconfig here
......
...@@ -20,9 +20,10 @@ config PCCARD ...@@ -20,9 +20,10 @@ config PCCARD
To compile this driver as modules, choose M here: the To compile this driver as modules, choose M here: the
module will be called pcmcia_core. module will be called pcmcia_core.
if PCCARD
config PCMCIA_DEBUG config PCMCIA_DEBUG
bool "Enable PCCARD debugging" bool "Enable PCCARD debugging"
depends on PCCARD != n
help help
Say Y here to enable PCMCIA subsystem debugging. You Say Y here to enable PCMCIA subsystem debugging. You
will need to choose the debugging level either via the will need to choose the debugging level either via the
...@@ -41,7 +42,6 @@ config PCMCIA_DEBUG ...@@ -41,7 +42,6 @@ config PCMCIA_DEBUG
config PCMCIA config PCMCIA
tristate "16-bit PCMCIA support" tristate "16-bit PCMCIA support"
depends on PCCARD
default y default y
---help--- ---help---
This option enables support for 16-bit PCMCIA cards. Most older This option enables support for 16-bit PCMCIA cards. Most older
...@@ -60,7 +60,7 @@ config PCMCIA ...@@ -60,7 +60,7 @@ config PCMCIA
config CARDBUS config CARDBUS
bool "32-bit CardBus support" bool "32-bit CardBus support"
depends on PCCARD && PCI depends on PCI
default y default y
---help--- ---help---
CardBus is a bus mastering architecture for PC-cards, which allows CardBus is a bus mastering architecture for PC-cards, which allows
...@@ -77,7 +77,7 @@ comment "PC-card bridges" ...@@ -77,7 +77,7 @@ comment "PC-card bridges"
config YENTA config YENTA
tristate "CardBus yenta-compatible bridge support" tristate "CardBus yenta-compatible bridge support"
depends on PCCARD && PCI depends on PCI
#fixme: remove dependendcy on CARDBUS #fixme: remove dependendcy on CARDBUS
depends on CARDBUS depends on CARDBUS
select PCCARD_NONSTATIC select PCCARD_NONSTATIC
...@@ -197,6 +197,7 @@ config PCMCIA_VRC4173 ...@@ -197,6 +197,7 @@ config PCMCIA_VRC4173
config PCCARD_NONSTATIC config PCCARD_NONSTATIC
tristate tristate
depends on PCCARD
endif # PCCARD
endmenu endmenu
...@@ -4,6 +4,31 @@ ...@@ -4,6 +4,31 @@
menu "USB support" menu "USB support"
# Host-side USB depends on having a host controller
# NOTE: dummy_hcd is always an option, but it's ignored here ...
# NOTE: SL-811 option should be board-specific ...
config USB_ARCH_HAS_HCD
boolean
default y if USB_ARCH_HAS_OHCI
default y if ARM # SL-811
default PCI
# many non-PCI SOC chips embed OHCI
config USB_ARCH_HAS_OHCI
boolean
# ARM:
default y if SA1111
default y if ARCH_OMAP
default y if ARCH_LH7A404
default y if PXA27x
# PPC:
default y if STB03xxx
default y if PPC_MPC52xx
# MIPS:
default y if SOC_AU1X00
# more:
default PCI
# ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface. # ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
config USB config USB
tristate "Support for Host-side USB" tristate "Support for Host-side USB"
......
# Host-side USB depends on having a host controller
# NOTE: dummy_hcd is always an option, but it's ignored here ...
# NOTE: SL-811 option should be board-specific ...
config USB_ARCH_HAS_HCD
boolean
default y if USB_ARCH_HAS_OHCI
default y if ARM # SL-811
default PCI
# many non-PCI SOC chips embed OHCI
config USB_ARCH_HAS_OHCI
boolean
# ARM:
default y if SA1111
default y if ARCH_OMAP
default y if ARCH_LH7A404
default y if PXA27x
# PPC:
default y if STB03xxx
default y if PPC_MPC52xx
# MIPS:
default y if SOC_AU1X00
# more:
default PCI
# #
# USB Host Controller Drivers # USB Host Controller Drivers
# #
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
comment "NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information" comment "NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information"
depends on USB
config USB_STORAGE config USB_STORAGE
tristate "USB Mass Storage support" tristate "USB Mass Storage support"
......
...@@ -1372,7 +1372,7 @@ config FB_G364 ...@@ -1372,7 +1372,7 @@ config FB_G364
config FB_68328 config FB_68328
bool "Motorola 68328 native frame buffer support" bool "Motorola 68328 native frame buffer support"
depends on (M68328 || M68EZ328 || M68VZ328) depends on FB && (M68328 || M68EZ328 || M68VZ328)
select FB_CFB_FILLRECT select FB_CFB_FILLRECT
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
......
...@@ -157,7 +157,6 @@ config SYSCTL ...@@ -157,7 +157,6 @@ config SYSCTL
config AUDIT config AUDIT
bool "Auditing support" bool "Auditing support"
default y if SECURITY_SELINUX default y if SECURITY_SELINUX
default n
help help
Enable auditing infrastructure that can be used with another Enable auditing infrastructure that can be used with another
kernel subsystem, such as SELinux (which requires this for kernel subsystem, such as SELinux (which requires this for
...@@ -168,29 +167,11 @@ config AUDITSYSCALL ...@@ -168,29 +167,11 @@ config AUDITSYSCALL
bool "Enable system-call auditing support" bool "Enable system-call auditing support"
depends on AUDIT && (X86 || PPC64 || ARCH_S390 || IA64) depends on AUDIT && (X86 || PPC64 || ARCH_S390 || IA64)
default y if SECURITY_SELINUX default y if SECURITY_SELINUX
default n
help help
Enable low-overhead system-call auditing infrastructure that Enable low-overhead system-call auditing infrastructure that
can be used independently or with another kernel subsystem, can be used independently or with another kernel subsystem,
such as SELinux. such as SELinux.
config LOG_BUF_SHIFT
int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
range 12 21
default 17 if ARCH_S390
default 16 if X86_NUMAQ || IA64
default 15 if SMP
default 14
help
Select kernel log buffer size as a power of 2.
Defaults and Examples:
17 => 128 KB for S/390
16 => 64 KB for x86 NUMAQ or IA-64
15 => 32 KB for SMP
14 => 16 KB for uniprocessor
13 => 8 KB
12 => 4 KB
config HOTPLUG config HOTPLUG
bool "Support for hot-pluggable devices" if !ARCH_S390 bool "Support for hot-pluggable devices" if !ARCH_S390
default ARCH_S390 default ARCH_S390
...@@ -311,7 +292,6 @@ config EPOLL ...@@ -311,7 +292,6 @@ config EPOLL
config CC_OPTIMIZE_FOR_SIZE config CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size" if EMBEDDED bool "Optimize for size" if EMBEDDED
default y if ARM || H8300 default y if ARM || H8300
default n
help help
Enabling this option will pass "-Os" instead of "-O2" to gcc Enabling this option will pass "-Os" instead of "-O2" to gcc
resulting in a smaller kernel. resulting in a smaller kernel.
......
config PRINTK_TIME
bool "Show timing information on printks"
help
Selecting this option causes timing information to be
included in printk output. This allows you to measure
the interval between kernel operations, including bootup
operations. This is useful for identifying long delays
in kernel startup.
config DEBUG_KERNEL config DEBUG_KERNEL
bool "Kernel debugging" bool "Kernel debugging"
depends on (ALPHA || ARM || CRIS || H8300 || X86 || IA64 || M32R || M68K || M68KNOMMU || MIPS || PARISC || PPC32 || PPC64 || ARCH_S390 || SUPERH || SUPERH64 || SPARC32 || SPARC64 || USERMODE || V850 || X86_64)
help help
Say Y here if you are developing drivers or trying to debug and Say Y here if you are developing drivers or trying to debug and
identify kernel problems. identify kernel problems.
config MAGIC_SYSRQ config MAGIC_SYSRQ
bool "Magic SysRq key" bool "Magic SysRq key"
depends on DEBUG_KERNEL && (ALPHA || ARM || X86 || IA64 || M32R || M68K || MIPS || PARISC || PPC32 || PPC64 || ARCH_S390 || SUPERH || SUPERH64 || SPARC32 || SPARC64 || X86_64 || USERMODE) depends on DEBUG_KERNEL
help help
If you say Y here, you will have some control over the system even If you say Y here, you will have some control over the system even
if the system crashes for example during kernel debugging (e.g., you if the system crashes for example during kernel debugging (e.g., you
...@@ -20,21 +29,22 @@ config MAGIC_SYSRQ ...@@ -20,21 +29,22 @@ config MAGIC_SYSRQ
keys are documented in <file:Documentation/sysrq.txt>. Don't say Y keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
unless you really know what this hack does. unless you really know what this hack does.
config MAGIC_SYSRQ config LOG_BUF_SHIFT
bool "Magic SysRq key" int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
depends on DEBUG_KERNEL && (H8300 || M68KNOMMU || V850) range 12 21
help default 17 if ARCH_S390
Enables console device to interpret special characters as default 16 if X86_NUMAQ || IA64
commands to dump state information. default 15 if SMP
default 14
config PRINTK_TIME help
bool "Show timing information on printks" Select kernel log buffer size as a power of 2.
help Defaults and Examples:
Selecting this option causes timing information to be 17 => 128 KB for S/390
included in printk output. This allows you to measure 16 => 64 KB for x86 NUMAQ or IA-64
the interval between kernel operations, including bootup 15 => 32 KB for SMP
operations. This is useful for identifying long delays 14 => 16 KB for uniprocessor
in kernel startup. 13 => 8 KB
12 => 4 KB
config SCHEDSTATS config SCHEDSTATS
bool "Collect scheduler statistics" bool "Collect scheduler statistics"
...@@ -50,7 +60,7 @@ config SCHEDSTATS ...@@ -50,7 +60,7 @@ config SCHEDSTATS
config DEBUG_SLAB config DEBUG_SLAB
bool "Debug memory allocations" bool "Debug memory allocations"
depends on DEBUG_KERNEL && (ALPHA || ARM || X86 || IA64 || M32R || M68K || MIPS || PARISC || PPC32 || PPC64 || ARCH_S390 || SPARC32 || SPARC64 || USERMODE || X86_64) depends on DEBUG_KERNEL
help help
Say Y here to have the kernel do limited verification on memory Say Y here to have the kernel do limited verification on memory
allocation as well as poisoning memory on free to catch use of freed allocation as well as poisoning memory on free to catch use of freed
...@@ -58,7 +68,7 @@ config DEBUG_SLAB ...@@ -58,7 +68,7 @@ config DEBUG_SLAB
config DEBUG_PREEMPT config DEBUG_PREEMPT
bool "Debug preemptible kernel" bool "Debug preemptible kernel"
depends on PREEMPT depends on DEBUG_KERNEL && PREEMPT
default y default y
help help
If you say Y here then the kernel will use a debug variant of the If you say Y here then the kernel will use a debug variant of the
...@@ -68,7 +78,7 @@ config DEBUG_PREEMPT ...@@ -68,7 +78,7 @@ config DEBUG_PREEMPT
config DEBUG_SPINLOCK config DEBUG_SPINLOCK
bool "Spinlock debugging" bool "Spinlock debugging"
depends on DEBUG_KERNEL && (ALPHA || ARM || X86 || IA64 || M32R || MIPS || PARISC || PPC32 || (SUPERH && !SUPERH64) || SPARC32 || SPARC64 || USERMODE || X86_64) depends on DEBUG_KERNEL
help help
Say Y here and build SMP to catch missing spinlock initialization Say Y here and build SMP to catch missing spinlock initialization
and certain other kinds of spinlock errors commonly made. This is and certain other kinds of spinlock errors commonly made. This is
...@@ -77,7 +87,7 @@ config DEBUG_SPINLOCK ...@@ -77,7 +87,7 @@ config DEBUG_SPINLOCK
config DEBUG_SPINLOCK_SLEEP config DEBUG_SPINLOCK_SLEEP
bool "Sleep-inside-spinlock checking" bool "Sleep-inside-spinlock checking"
depends on DEBUG_KERNEL && (X86 || IA64 || M32R || MIPS || PPC32 || PPC64 || ARCH_S390 || SPARC32 || SPARC64 || USERMODE) depends on DEBUG_KERNEL
help help
If you say Y here, various routines which may sleep will become very If you say Y here, various routines which may sleep will become very
noisy if they are called with a spinlock held. noisy if they are called with a spinlock held.
...@@ -91,7 +101,7 @@ config DEBUG_KOBJECT ...@@ -91,7 +101,7 @@ config DEBUG_KOBJECT
config DEBUG_HIGHMEM config DEBUG_HIGHMEM
bool "Highmem debugging" bool "Highmem debugging"
depends on DEBUG_KERNEL && HIGHMEM && (X86 || PPC32 || MIPS || SPARC32) depends on DEBUG_KERNEL && HIGHMEM
help help
This options enables addition error checking for high memory systems. This options enables addition error checking for high memory systems.
Disable for production systems. Disable for production systems.
...@@ -107,7 +117,7 @@ config DEBUG_BUGVERBOSE ...@@ -107,7 +117,7 @@ config DEBUG_BUGVERBOSE
config DEBUG_INFO config DEBUG_INFO
bool "Compile the kernel with debug info" bool "Compile the kernel with debug info"
depends on DEBUG_KERNEL && (ALPHA || CRIS || X86 || IA64 || M32R || M68K || MIPS || PARISC || PPC32 || PPC64 || ARCH_S390 || (SUPERH && !SUPERH64) || SPARC64 || V850 || X86_64) depends on DEBUG_KERNEL
help help
If you say Y here the resulting kernel image will include If you say Y here the resulting kernel image will include
debugging info resulting in a larger kernel image. debugging info resulting in a larger kernel image.
...@@ -118,13 +128,13 @@ config DEBUG_INFO ...@@ -118,13 +128,13 @@ config DEBUG_INFO
bool "Enable kernel debugging symbols" bool "Enable kernel debugging symbols"
depends on DEBUG_KERNEL && USERMODE depends on DEBUG_KERNEL && USERMODE
help help
When this is enabled, the User-Mode Linux binary will include When this is enabled, the User-Mode Linux binary will include
debugging symbols. This enlarges the binary by a few megabytes, debugging symbols. This enlarges the binary by a few megabytes,
but aids in tracking down kernel problems in UML. It is required but aids in tracking down kernel problems in UML. It is required
if you intend to do any kernel development. if you intend to do any kernel development.
If you're truly short on disk space or don't expect to report any If you're truly short on disk space or don't expect to report any
bugs back to the UML developers, say N, otherwise say Y. bugs back to the UML developers, say N, otherwise say Y.
config DEBUG_IOREMAP config DEBUG_IOREMAP
bool "Enable ioremap() debugging" bool "Enable ioremap() debugging"
...@@ -149,13 +159,12 @@ config DEBUG_FS ...@@ -149,13 +159,12 @@ config DEBUG_FS
If unsure, say N. If unsure, say N.
if !X86_64
config FRAME_POINTER config FRAME_POINTER
bool "Compile the kernel with frame pointers" bool "Compile the kernel with frame pointers"
depends on X86 || CRIS || M68KNOMMU depends on DEBUG_KERNEL && ((X86 && !X86_64) || CRIS || M68K || M68KNOMMU)
help help
If you say Y here the resulting kernel image will be slightly larger If you say Y here the resulting kernel image will be slightly larger
and slower, but it will give very useful debugging information. and slower, but it will give very useful debugging information.
If you don't debug the kernel, you can say N, but we may not be able If you don't debug the kernel, you can say N, but we may not be able
to solve problems without frame pointers. to solve problems without frame pointers.
endif
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#endif #endif
#include "lkc.h" #include "lkc.h"
#include "images.c"
#include <glade/glade.h> #include <glade/glade.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
...@@ -222,15 +221,15 @@ void init_main_window(const gchar * glade_file) ...@@ -222,15 +221,15 @@ void init_main_window(const gchar * glade_file)
switch (view_mode) { switch (view_mode) {
case SINGLE_VIEW: case SINGLE_VIEW:
widget = glade_xml_get_widget(xml, "button4"); widget = glade_xml_get_widget(xml, "button4");
gtk_button_clicked(GTK_BUTTON(widget)); g_signal_emit_by_name(widget, "clicked");
break; break;
case SPLIT_VIEW: case SPLIT_VIEW:
widget = glade_xml_get_widget(xml, "button5"); widget = glade_xml_get_widget(xml, "button5");
gtk_button_clicked(GTK_BUTTON(widget)); g_signal_emit_by_name(widget, "clicked");
break; break;
case FULL_VIEW: case FULL_VIEW:
widget = glade_xml_get_widget(xml, "button6"); widget = glade_xml_get_widget(xml, "button6");
gtk_button_clicked(GTK_BUTTON(widget)); g_signal_emit_by_name(widget, "clicked");
break; break;
} }
...@@ -1142,6 +1141,39 @@ on_treeview1_button_press_event(GtkWidget * widget, ...@@ -1142,6 +1141,39 @@ on_treeview1_button_press_event(GtkWidget * widget,
/* Conf management */ /* Conf management */
static const char *xpm_menu[] = {
"12 12 2 1",
" c white",
". c black",
" ",
" ",
" . ",
" .. ",
" ... ",
" .... ",
" ..... ",
" .... ",
" ... ",
" .. ",
" . ",
" "};
static const char *xpm_void[] = {
"12 12 2 1",
" c white",
". c black",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "};
/* Fill a row of strings */ /* Fill a row of strings */
static gchar **fill_row(struct menu *menu) static gchar **fill_row(struct menu *menu)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment