Subject: [PATCH 78/91] um: switch to use of drivers/Kconfig
Subsystems (10)
--- arch/um/Kconfig.rest | 23 +---------------------- drivers/char/Kconfig | 6 +++--- drivers/char/ttyprintk.c | 2 +- drivers/input/Kconfig | 2 +- drivers/isdn/Kconfig | 2 +- drivers/misc/Kconfig | 1 + drivers/power/Kconfig | 1 + drivers/rtc/Kconfig | 2 +- drivers/tty/Kconfig | 2 +- drivers/watchdog/Kconfig | 2 +- security/integrity/ima/Kconfig | 2 +- sound/Kconfig | 2 +- 12 files changed, 14 insertions(+), 33 deletions(-)
arch/um/Kconfig.rest +1 -22
@@ -2,20 +2,14 @@ source "init/Kconfig" source "kernel/Kconfig.freezer" -source "drivers/block/Kconfig" - source "arch/um/Kconfig.char" -source "drivers/base/Kconfig" +source "drivers/Kconfig" source "net/Kconfig" source "arch/um/Kconfig.net" -source "drivers/net/Kconfig" - -source "drivers/connector/Kconfig" - source "fs/Kconfig" source "security/Kconfig"
@@ -24,19 +18,4 @@ source "crypto/Kconfig" source "lib/Kconfig" -source "drivers/scsi/Kconfig" - -source "drivers/md/Kconfig" - -if BROKEN - source "drivers/mtd/Kconfig" -endif - -source "drivers/leds/Kconfig" - -#This is just to shut up some Kconfig warnings, so no prompt. -config INPUT - tristate - default n - source "arch/um/Kconfig.debug"
drivers/char/Kconfig +3 -3
@@ -298,7 +298,7 @@ if RTC_LIB=n config RTC tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)" depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \ - && !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN + && !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN && !UML ---help--- If you say Y here and create a character special file /dev/rtc with major number 10 and minor number 135 using mknod ("man mknod"), you
@@ -346,7 +346,7 @@ config JS_RTC config GEN_RTC tristate "Generic /dev/rtc emulation" - depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32 && !BLACKFIN + depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32 && !BLACKFIN && !UML ---help--- If you say Y here and create a character special file /dev/rtc with major number 10 and minor number 135 using mknod ("man mknod"), you
@@ -490,7 +490,7 @@ config SCx200_GPIO config PC8736x_GPIO tristate "NatSemi PC8736x GPIO Support" - depends on X86_32 + depends on X86_32 && !UML default SCx200_GPIO # mostly N select NSC_GPIO # needed for support routines help
drivers/char/ttyprintk.c +1 -1
@@ -170,7 +170,7 @@ static const struct tty_operations ttyprintk_ops = { .ioctl = tpk_ioctl, }; -struct tty_port_operations null_ops = { }; +static struct tty_port_operations null_ops = { };static struct tty_driver *ttyprintk_driver;
drivers/input/Kconfig +1 -1
@@ -3,7 +3,7 @@ # menu "Input device support" - depends on !S390 + depends on !S390 && !UML config INPUT tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERT
drivers/isdn/Kconfig +1 -1
@@ -5,7 +5,7 @@ menuconfig ISDN bool "ISDN support" depends on NET - depends on !S390 + depends on !S390 && !UML ---help--- ISDN ("Integrated Services Digital Network", called RNIS in France) is a fully digital telephone service that can be used for voice and
drivers/misc/Kconfig +1 -0
@@ -146,6 +146,7 @@ config PHANTOM config INTEL_MID_PTI tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard" + depends on HAS_IOMEM default n help The PTI (Parallel Trace Interface) driver directs
drivers/power/Kconfig +1 -0
@@ -70,6 +70,7 @@ config BATTERY_DS2760 config BATTERY_DS2780 tristate "DS2780 battery driver" + depends on HAS_IOMEM select W1 select W1_SLAVE_DS2780 help
drivers/rtc/Kconfig +1 -1
@@ -8,7 +8,7 @@ config RTC_LIB menuconfig RTC_CLASS bool "Real Time Clock" default n - depends on !S390 + depends on !S390 && !UML select RTC_LIB help Generic RTC class support. If you say yes here, you will
drivers/tty/Kconfig +1 -1
@@ -1,6 +1,6 @@ config VT bool "Virtual terminal" if EXPERT - depends on !S390 + depends on !S390 && !UML select INPUT default y ---help---
drivers/watchdog/Kconfig +1 -1
@@ -726,7 +726,7 @@ config SBC8360_WDT config SBC7240_WDT tristate "SBC Nano 7240 Watchdog Timer" - depends on X86_32 + depends on X86_32 && !UML ---help--- This is the driver for the hardware watchdog found on the IEI single board computers EPIC Nano 7240 (and likely others). This
security/integrity/ima/Kconfig +1 -1
@@ -8,7 +8,7 @@ config IMA select CRYPTO_HMAC select CRYPTO_MD5 select CRYPTO_SHA1 - select TCG_TPM if !S390 + select TCG_TPM if !S390 && !UML select TCG_TIS if TCG_TPM help The Trusted Computing Group(TCG) runtime Integrity
sound/Kconfig +1 -1
@@ -59,7 +59,7 @@ config SOUND_OSS_CORE_PRECLAIM source "sound/oss/dmasound/Kconfig" -if !M68K +if !M68K && !UML menuconfig SND tristate "Advanced Linux Sound Architecture"
Signature · 1 line
1.7.2.5
Hi,
Quoted 78 lines · Al Viro
Signed-off-by Al Viro <[email protected]>---
arch/um/Kconfig.rest | 23 +----------------------drivers/char/Kconfig| 6 +++---drivers/char/ttyprintk.c| 2 +-drivers/input/Kconfig | 2 +- drivers/isdn/Kconfig | 2 +- drivers/misc/Kconfig | 1 + drivers/power/Kconfig | 1 +drivers/rtc/Kconfig | 2 +-
drivers/tty/Kconfig | 2 +-
drivers/watchdog/Kconfig | 2 +-
security/integrity/ima/Kconfig | 2 +-
sound/Kconfig | 2 +-12 files changed, 14 insertions(+), 33 deletions(-)arch/um/Kconfig.rest +0
-0@@ -2,20 +2,14 @@ source "init/Kconfig"source "
kernel/Kconfig.freezer"arch/um/Kconfig.rest +0
-2-source "drivers/block/Kconfig" -source "
arch/um/Kconfig.char"arch/um/Kconfig.rest +1
-1-source "drivers/base/Kconfig" +source "drivers/Kconfig"source "net/Kconfig"
source "
arch/um/Kconfig.net"arch/um/Kconfig.rest +0
-4-source "drivers/net/Kconfig" - -source "drivers/connector/Kconfig" -source "fs/Kconfig"
source "
security/Kconfig"arch/um/Kconfig.rest +0
-0@@ -24,19 +18,4 @@ source "crypto/Kconfig"source "lib/Kconfig"
arch/um/Kconfig.rest +0
-15-source "drivers/scsi/Kconfig" - -source "drivers/md/Kconfig" - -if BROKEN - source "drivers/mtd/Kconfig" -endif - -source "drivers/leds/Kconfig" - -#This is just to shut up some Kconfig warnings, so no prompt. -config INPUT - tristate - default n -source "
arch/um/Kconfig.debug"drivers/char/Kconfig +0
-0@@ -298,7 +298,7 @@ if RTC_LIB=nconfig RTC
tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)" depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \
- && !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN
+ && !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN && !UML ---help---
If you say Y here and create a character special file/dev/rtcwith major number 10 and minor number 135 using mknod ("man mknod"), youdrivers/char/Kconfig +0
-0@@ -346,7 +346,7 @@ config JS_RTC
Quoted 4 lines
config
GEN_RTC
tristate "Generic/dev/rtcemulation"
- depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32 && !BLACKFIN
+ depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32 && !BLACKFIN && !UML
shouldn't all these, at some point, only depends on an ARCH-selected HAVE_RTC-like symbols ? I know this is not the point of this patch, but I have a few WIP patches in this area, so I'm just asking. This dependency line is really ugly.
Thanks,
- Arnaud
Quoted 143 lines
---help---
If you say Y here and create a character special file/dev/rtcwith major number 10 and minor number 135 using mknod ("man mknod"), youdrivers/char/Kconfig +0
-0@@ -490,7 +490,7 @@ config SCx200_GPIOconfig
PC8736x_GPIO
tristate "NatSemi PC8736x GPIO Support"
- depends onX86_32
+ depends onX86_32&& !UML
defaultSCx200_GPIO# mostly N
selectNSC_GPIO# needed for support routines helpdrivers/char/ttyprintk.c +1
-1@@ -170,7 +170,7 @@ static const struct tty_operations ttyprintk_ops = { .ioctl = tpk_ioctl, }; -struct tty_port_operations null_ops = { }; +static struct tty_port_operations null_ops = { }; static struct tty_driver *ttyprintk_driver;drivers/input/Kconfig +0
-0@@ -3,7 +3,7 @@ #menu "Input device support"
- depends on !S390
+ depends on !S390 && !UMLconfig INPUT
tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERTdrivers/isdn/Kconfig +0
-0@@ -5,7 +5,7 @@menuconfig ISDN
bool "ISDN support"
depends on NET
- depends on !S390
+ depends on !S390 && !UML
---help---
ISDN ("Integrated Services Digital Network", called RNIS in France) is a fully digital telephone service that can be used for voice anddrivers/misc/Kconfig +0
-0@@ -146,6 +146,7 @@ config PHANTOMconfig
INTEL_MID_PTI
tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard"
+ depends onHAS_IOMEM
default n
help
The PTI (Parallel Trace Interface) driver directsdrivers/power/Kconfig +0
-0@@ -70,6 +70,7 @@ config BATTERY_DS2760config
BATTERY_DS2780
tristate "DS2780 battery driver"
+ depends onHAS_IOMEM
select W1
selectW1_SLAVE_DS2780
helpdrivers/rtc/Kconfig +0
-0@@ -8,7 +8,7 @@ config RTC_LIBmenuconfig
RTC_CLASS
bool "Real Time Clock"
default n
- depends on !S390
+ depends on !S390 && !UML
selectRTC_LIB
help
Generic RTC class support. If you say yes here, you willdrivers/tty/Kconfig +0
-0@@ -1,6 +1,6 @@config VT
bool "Virtual terminal" if EXPERT
- depends on !S390
+ depends on !S390 && !UML
select INPUT
default y
---help---drivers/watchdog/Kconfig +0
-0@@ -726,7 +726,7 @@ config SBC8360_WDTconfig
SBC7240_WDT
tristate "SBC Nano 7240 Watchdog Timer"
- depends onX86_32
+ depends onX86_32&& !UML
---help---
This is the driver for the hardware watchdog found on the IEI single board computers EPIC Nano 7240 (and likely others). Thissecurity/integrity/ima/Kconfig +0
-0@@ -8,7 +8,7 @@ config IMAselect
CRYPTO_HMAC
selectCRYPTO_MD5
selectCRYPTO_SHA1
- selectTCG_TPMif !S390
+ selectTCG_TPMif !S390 && !UML
selectTCG_TISifTCG_TPM
help
The Trusted Computing Group(TCG) runtime Integritysound/Kconfig +0
-0@@ -59,7 +59,7 @@ config SOUND_OSS_CORE_PRECLAIMsource "
sound/oss/dmasound/Kconfig"sound/Kconfig +1
-1-if !M68K +if !M68K && !UMLmenuconfig SND
tristate "Advanced Linux Sound Architecture" --
1.7.2.5
Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/