ChangeSet 1.2231.1.107, 2005/03/28 19:46:15-08:00, [EMAIL PROTECTED]
[PATCH] uml: disable more hardware kconfig opt and rename USERMODE to
UML
Disable some hardware-only configuration options when configuring for
ARCH=um.
By the way, we rename CONFIG_USERMODE to CONFIG_UML, as requested some
time
ago by the UML maintainer Jeff Dike.
We also update defconfig as a consequence of all this.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
arch/um/Kconfig | 3 +--
arch/um/defconfig | 43 +++++++------------------------------------
drivers/block/Kconfig | 10 +++++-----
drivers/char/Kconfig | 2 +-
drivers/net/Kconfig | 8 +++++---
init/Kconfig | 2 +-
6 files changed, 20 insertions(+), 48 deletions(-)
diff -Nru a/arch/um/Kconfig b/arch/um/Kconfig
--- a/arch/um/Kconfig 2005-03-28 21:30:00 -08:00
+++ b/arch/um/Kconfig 2005-03-28 21:30:00 -08:00
@@ -3,7 +3,7 @@
bool
default y
-config USERMODE
+config UML
bool
default y
@@ -244,7 +244,6 @@
config HIGHMEM
bool "Highmem support"
- depends on BROKEN
config KERNEL_STACK_ORDER
int "Kernel stack size order"
diff -Nru a/arch/um/defconfig b/arch/um/defconfig
--- a/arch/um/defconfig 2005-03-28 21:30:00 -08:00
+++ b/arch/um/defconfig 2005-03-28 21:30:00 -08:00
@@ -1,10 +1,10 @@
#
# Automatically generated make config: don't edit
-# Linux kernel version: 2.6.11
-# Fri Mar 4 15:38:53 2005
+# Linux kernel version: 2.6.12-rc1-bk1
+# Sun Mar 20 16:53:00 2005
#
CONFIG_GENERIC_HARDIRQS=y
-CONFIG_USERMODE=y
+CONFIG_UML=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
@@ -31,6 +31,7 @@
# CONFIG_SMP is not set
CONFIG_NEST_LEVEL=0
CONFIG_KERNEL_HALF_GIGS=1
+# CONFIG_HIGHMEM is not set
CONFIG_KERNEL_STACK_ORDER=2
CONFIG_UML_REAL_TIME_CLOCK=y
@@ -61,7 +62,6 @@
# CONFIG_KALLSYMS_ALL is not set
CONFIG_KALLSYMS_EXTRA_PASS=y
CONFIG_BASE_FULL=y
-CONFIG_BASE_SMALL=0
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
@@ -70,6 +70,7 @@
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
#
# Loadable module support
@@ -215,38 +216,6 @@
CONFIG_TUN=m
#
-# Ethernet (10 or 100Mbit)
-#
-# CONFIG_NET_ETHERNET is not set
-
-#
-# Ethernet (1000 Mbit)
-#
-
-#
-# Ethernet (10000 Mbit)
-#
-
-#
-# Token Ring devices
-#
-
-#
-# Wireless LAN (non-hamradio)
-#
-# CONFIG_NET_RADIO is not set
-
-#
-# PCMCIA network device support
-#
-# CONFIG_NET_PCMCIA is not set
-
-#
-# PCMCIA network device support
-#
-# CONFIG_NET_PCMCIA is not set
-
-#
# Wan interfaces
#
# CONFIG_WAN is not set
@@ -431,7 +400,9 @@
#
# Kernel hacking
#
+# CONFIG_PRINTK_TIME is not set
CONFIG_DEBUG_KERNEL=y
+CONFIG_LOG_BUF_SHIFT=14
# CONFIG_SCHEDSTATS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_SPINLOCK is not set
diff -Nru a/drivers/block/Kconfig b/drivers/block/Kconfig
--- a/drivers/block/Kconfig 2005-03-28 21:30:00 -08:00
+++ b/drivers/block/Kconfig 2005-03-28 21:30:00 -08:00
@@ -6,7 +6,7 @@
config BLK_DEV_FD
tristate "Normal floppy disk support"
- depends on (!ARCH_S390 && !M68K && !IA64 && !USERMODE) || Q40 || (SUN3X
&& BROKEN)
+ depends on (!ARCH_S390 && !M68K && !IA64 && !UML) || Q40 || (SUN3X &&
BROKEN)
---help---
If you want to use the floppy disk drive(s) of your PC under Linux,
say Y. Information about this driver, especially important for IBM
@@ -210,7 +210,7 @@
config BLK_DEV_UBD
bool "Virtual block device"
- depends on USERMODE
+ depends on UML
---help---
The User-Mode Linux port includes a driver called UBD which will let
you access arbitrary files on the host computer as block devices.
@@ -243,7 +243,7 @@
config MMAPPER
tristate "Example IO memory driver (BROKEN)"
- depends on USERMODE && BROKEN
+ depends on UML && BROKEN
---help---
The User-Mode Linux port can provide support for IO Memory
emulation with this option. This allows a host file to be
@@ -455,7 +455,7 @@
#for instance.
config LBD
bool "Support for Large Block Devices"
- depends on X86 || MIPS32 || PPC32 || ARCH_S390_31 || SUPERH || USERMODE
+ depends on X86 || MIPS32 || PPC32 || ARCH_S390_31 || SUPERH || UML
help
Say Y here if you want to attach large (bigger than 2TB) discs to
your machine, or if you want to have a raid or loopback device
@@ -463,7 +463,7 @@
config CDROM_PKTCDVD
tristate "Packet writing on CD/DVD media"
- depends on !USERMODE
+ depends on !UML
help
If you have a CDROM drive that supports packet writing, say Y to
include preliminary support. It should work with any MMC/Mt Fuji
diff -Nru a/drivers/char/Kconfig b/drivers/char/Kconfig
--- a/drivers/char/Kconfig 2005-03-28 21:30:00 -08:00
+++ b/drivers/char/Kconfig 2005-03-28 21:30:00 -08:00
@@ -59,7 +59,7 @@
config HW_CONSOLE
bool
- depends on VT && !S390 && !USERMODE
+ depends on VT && !S390 && !UML
default y
config SERIAL_NONSTANDARD
diff -Nru a/drivers/net/Kconfig b/drivers/net/Kconfig
--- a/drivers/net/Kconfig 2005-03-28 21:30:00 -08:00
+++ b/drivers/net/Kconfig 2005-03-28 21:30:00 -08:00
@@ -135,7 +135,7 @@
#
menu "Ethernet (10 or 100Mbit)"
- depends on NETDEVICES
+ depends on NETDEVICES && !UML
config NET_ETHERNET
bool "Ethernet (10 or 100Mbit)"
@@ -1767,7 +1767,7 @@
#
menu "Ethernet (1000 Mbit)"
- depends on NETDEVICES
+ depends on NETDEVICES && !UML
config ACENIC
tristate "Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support"
@@ -2077,7 +2077,7 @@
#
menu "Ethernet (10000 Mbit)"
- depends on NETDEVICES
+ depends on NETDEVICES && !UML
config IXGB
tristate "Intel(R) PRO/10GbE support"
@@ -2156,11 +2156,13 @@
endmenu
+if !UML
source "drivers/net/tokenring/Kconfig"
source "drivers/net/wireless/Kconfig"
source "drivers/net/pcmcia/Kconfig"
+endif
source "drivers/net/wan/Kconfig"
diff -Nru a/init/Kconfig b/init/Kconfig
--- a/init/Kconfig 2005-03-28 21:30:00 -08:00
+++ b/init/Kconfig 2005-03-28 21:30:00 -08:00
@@ -421,7 +421,7 @@
config MODVERSIONS
bool "Module versioning support (EXPERIMENTAL)"
- depends on MODULES && EXPERIMENTAL && !USERMODE
+ depends on MODULES && EXPERIMENTAL && !UML
help
Usually, you have to use modules compiled with your kernel.
Saying Y here makes it sometimes possible to use modules
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html