From: Pierre Ossman <drzeus-mmc@drzeus.cx>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH 18/36] Use menuconfig objects II - MMC
Date: Tue, 01 May 2007 17:57:32 +0200 [thread overview]
Message-ID: <4637636C.50704@drzeus.cx> (raw)
In-Reply-To: <Pine.LNX.4.61.0704301340180.29151@yvahk01.tjqt.qr>
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
Jan Engelhardt wrote:
> Change Kconfig objects from "menu, config" into "menuconfig" so
> that the user can disable the whole feature without having to
> enter the menu first.
>
> Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
>
As promised, an updated patch.
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
[-- Attachment #2: menuconfig.patch --]
[-- Type: text/x-patch, Size: 4259 bytes --]
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 6c97491..45b7d53 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -2,10 +2,8 @@
# MMC subsystem configuration
#
-menu "MMC/SD Card support"
-
-config MMC
- tristate "MMC support"
+menuconfig MMC
+ tristate "MMC/SD card support"
help
MMC is the "multi-media card" bus protocol.
@@ -19,10 +17,12 @@ config MMC_DEBUG
This is an option for use by developers; most people should
say N here. This enables MMC core and driver debugging.
+if MMC
+
source "drivers/mmc/core/Kconfig"
source "drivers/mmc/card/Kconfig"
source "drivers/mmc/host/Kconfig"
-endmenu
+endif # MMC
diff --git a/drivers/mmc/card/Kconfig b/drivers/mmc/card/Kconfig
index 01a9fd3..9320a8c 100644
--- a/drivers/mmc/card/Kconfig
+++ b/drivers/mmc/card/Kconfig
@@ -3,11 +3,10 @@
#
comment "MMC/SD Card Drivers"
- depends MMC
config MMC_BLOCK
tristate "MMC block device driver"
- depends on MMC && BLOCK
+ depends on BLOCK
default y
help
Say Y here to enable the MMC block device driver support.
diff --git a/drivers/mmc/core/Kconfig b/drivers/mmc/core/Kconfig
index 94222b9..ab37a6d 100644
--- a/drivers/mmc/core/Kconfig
+++ b/drivers/mmc/core/Kconfig
@@ -4,7 +4,6 @@
config MMC_UNSAFE_RESUME
bool "Allow unsafe resume (DANGEROUS)"
- depends on MMC != n
help
If you say Y here, the MMC layer will assume that all cards
stayed in their respective slots during the suspend. The
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index ed4deab..e23082f 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -3,11 +3,10 @@
#
comment "MMC/SD Host Controller Drivers"
- depends on MMC
config MMC_ARMMMCI
tristate "ARM AMBA Multimedia Card Interface support"
- depends on ARM_AMBA && MMC
+ depends on ARM_AMBA
help
This selects the ARM(R) AMBA(R) PrimeCell Multimedia Card
Interface (PL180 and PL181) support. If you have an ARM(R)
@@ -17,7 +16,7 @@ config MMC_ARMMMCI
config MMC_PXA
tristate "Intel PXA25x/26x/27x Multimedia Card Interface support"
- depends on ARCH_PXA && MMC
+ depends on ARCH_PXA
help
This selects the Intel(R) PXA(R) Multimedia card Interface.
If you have a PXA(R) platform with a Multimedia Card slot,
@@ -27,7 +26,7 @@ config MMC_PXA
config MMC_SDHCI
tristate "Secure Digital Host Controller Interface support (EXPERIMENTAL)"
- depends on PCI && MMC && EXPERIMENTAL
+ depends on PCI && EXPERIMENTAL
help
This select the generic Secure Digital Host Controller Interface.
It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
@@ -38,7 +37,7 @@ config MMC_SDHCI
config MMC_OMAP
tristate "TI OMAP Multimedia Card Interface support"
- depends on ARCH_OMAP && MMC
+ depends on ARCH_OMAP
select TPS65010 if MACH_OMAP_H2
help
This selects the TI OMAP Multimedia card Interface.
@@ -49,7 +48,7 @@ config MMC_OMAP
config MMC_WBSD
tristate "Winbond W83L51xD SD/MMC Card Interface support"
- depends on MMC && ISA_DMA_API
+ depends on ISA_DMA_API
help
This selects the Winbond(R) W83L51xD Secure digital and
Multimedia card Interface.
@@ -60,7 +59,7 @@ config MMC_WBSD
config MMC_AU1X
tristate "Alchemy AU1XX0 MMC Card Interface support"
- depends on MMC && SOC_AU1200
+ depends on SOC_AU1200
help
This selects the AMD Alchemy(R) Multimedia card interface.
If you have a Alchemy platform with a MMC slot, say Y or M here.
@@ -69,7 +68,7 @@ config MMC_AU1X
config MMC_AT91
tristate "AT91 SD/MMC Card Interface support"
- depends on ARCH_AT91 && MMC
+ depends on ARCH_AT91
help
This selects the AT91 MCI controller.
@@ -77,7 +76,7 @@ config MMC_AT91
config MMC_IMX
tristate "Motorola i.MX Multimedia Card Interface support"
- depends on ARCH_IMX && MMC
+ depends on ARCH_IMX
help
This selects the Motorola i.MX Multimedia card Interface.
If you have a i.MX platform with a Multimedia Card slot,
@@ -87,7 +86,7 @@ config MMC_IMX
config MMC_TIFM_SD
tristate "TI Flash Media MMC/SD Interface support (EXPERIMENTAL)"
- depends on MMC && EXPERIMENTAL && PCI
+ depends on EXPERIMENTAL && PCI
select TIFM_CORE
help
Say Y here if you want to be able to access MMC/SD cards with
next prev parent reply other threads:[~2007-05-01 15:58 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-30 11:03 [PATCH 00/36] Use menuconfig objects II - (overview) Jan Engelhardt
2007-04-30 11:20 ` [PATCH 01/36] Use menuconfig objects I.b - block Jan Engelhardt
2007-04-30 11:20 ` [PATCH 02/36] Use menuconfig objects II - auxdisplay Jan Engelhardt
2007-04-30 11:21 ` [PATCH 03/36] Use menuconfig objects II - battery Jan Engelhardt
2007-04-30 11:22 ` [PATCH 04/36] Use menuconfig objects II - block devices Jan Engelhardt
2007-04-30 11:24 ` [PATCH 05/36] Use menuconfig objects II - EDAC Jan Engelhardt
2007-04-30 11:26 ` [PATCH 06/36] Use menuconfig objects II - fusion Jan Engelhardt
2007-04-30 11:27 ` [PATCH 07/36] Use menuconfig objects II - HID Jan Engelhardt
2007-04-30 11:28 ` [lm-sensors] [PATCH 08/36] Use menuconfig objects II - hwmon Jan Engelhardt
2007-04-30 11:28 ` Jan Engelhardt
2007-05-03 16:58 ` [lm-sensors] " Jean Delvare
2007-05-03 16:58 ` Jean Delvare
2007-04-30 11:29 ` [PATCH 09/36] Use menuconfig objects II - IEEE1394 Jan Engelhardt
2007-04-30 11:32 ` [PATCH 10/36] Use menuconfig objects II - Infiniband Jan Engelhardt
2007-04-30 11:33 ` [PATCH 11/36] Use menuconfig objects II - IPMI Jan Engelhardt
2007-04-30 14:43 ` Corey Minyard
2007-04-30 11:35 ` [PATCH 12/36] Use menuconfig objects II - ISDN Jan Engelhardt
2007-04-30 11:35 ` [PATCH 13/36] Use menuconfig objects II - KVM/Virt Jan Engelhardt
2007-04-30 11:35 ` Jan Engelhardt
2007-04-30 13:45 ` Avi Kivity
2007-04-30 11:36 ` [PATCH 14/36] Use menuconfig objects II - LED Jan Engelhardt
2007-04-30 11:37 ` [PATCH 15/36] Use menuconfig objects II - Macintosh Jan Engelhardt
2007-04-30 11:37 ` Jan Engelhardt
2007-04-30 11:38 ` [PATCH 16/36] Use menuconfig objects II - MD Jan Engelhardt
2007-04-30 11:40 ` [PATCH 17/36] Use menuconfig objects II - misc strange dev Jan Engelhardt
2007-04-30 11:40 ` [PATCH 18/36] Use menuconfig objects II - MMC Jan Engelhardt
2007-04-30 13:51 ` Pierre Ossman
2007-05-01 15:57 ` Pierre Ossman [this message]
2007-05-01 20:37 ` Jan Engelhardt
2007-05-02 5:19 ` Pierre Ossman
2007-05-02 17:47 ` Jan Engelhardt
2007-04-30 11:41 ` [PATCH 19/36] Use menuconfig objects II - module menu Jan Engelhardt
2007-04-30 11:43 ` [PATCH 20/36] Use menuconfig objects II - netdev (general+100mbit) Jan Engelhardt
2007-04-30 11:44 ` [PATCH 21/36] Use menuconfig objects II - netdev/atm Jan Engelhardt
2007-04-30 11:45 ` [PATCH 22/36] Use menuconfig objects II - netdev/pcmcia Jan Engelhardt
2007-04-30 11:45 ` Jan Engelhardt
2007-04-30 11:45 ` [PATCH 23/36] Use menuconfig objects II - netdev/wan Jan Engelhardt
2007-05-01 20:04 ` Krzysztof Halasa
2007-04-30 11:46 ` [PATCH 24/36] Use menuconfig objects II - oprofile Jan Engelhardt
2007-04-30 11:48 ` [PATCH 25/36] Use menuconfig objects II - (external_)power Jan Engelhardt
2007-04-30 11:49 ` [PATCH 26/36] Use menuconfig objects II - RTC Jan Engelhardt
2007-04-30 11:50 ` [PATCH 27/36] Use menuconfig objects II - SCSI Jan Engelhardt
2007-04-30 11:52 ` [PATCH 28/36] Use menuconfig objects II - sound Jan Engelhardt
2007-04-30 14:19 ` Johannes Berg
2007-04-30 14:25 ` Johannes Berg
2007-04-30 14:45 ` Jan Engelhardt
2007-04-30 14:55 ` Johannes Berg
2007-04-30 15:12 ` Jan Engelhardt
2007-04-30 15:14 ` Jan Engelhardt
2007-04-30 15:21 ` [PATCH 28/36 #2] " Jan Engelhardt
2007-04-30 15:41 ` Johannes Berg
2007-04-30 16:13 ` Jan Engelhardt
2007-04-30 11:53 ` [PATCH 29/36] Use menuconfig objects II - Telephony Jan Engelhardt
2007-04-30 11:53 ` [PATCH 30/36] Use menuconfig objects II - TPM Jan Engelhardt
2007-04-30 11:54 ` [PATCH 31/36] Use menuconfig objects II - UIO Jan Engelhardt
2007-04-30 11:55 ` [PATCH 32/36] Use menuconfig objects II - USB Jan Engelhardt
2007-04-30 11:56 ` [PATCH 33/36] Use menuconfig objects II - video/logo Jan Engelhardt
2007-05-01 0:08 ` Antonino A. Daplas
2007-04-30 11:56 ` [PATCH 34/36] Use menuconfig objects II - watchdog Jan Engelhardt
2007-04-30 12:30 ` [PATCH 35/36] Use menuconfig objects II - DVB Jan Engelhardt
2007-05-02 18:10 ` [v4l-dvb-maintainer] " Mauro Carvalho Chehab
2007-05-02 21:38 ` Trent Piepho
2007-05-03 6:56 ` Jan Engelhardt
2007-05-03 12:37 ` Mauro Carvalho Chehab
2007-05-03 12:54 ` Jan Engelhardt
2007-05-03 18:38 ` Mauro Carvalho Chehab
2007-05-03 20:39 ` Trent Piepho
2007-05-03 20:49 ` Sam Ravnborg
2007-05-04 0:28 ` Roman Zippel
2007-05-04 1:40 ` Trent Piepho
2007-05-04 7:46 ` Jan Engelhardt
2007-05-03 20:50 ` Sam Ravnborg
2007-05-03 20:53 ` Jan Engelhardt
2007-04-30 12:30 ` [PATCH 36/36] Use menuconfig objects II - V4L Jan Engelhardt
2007-05-02 18:03 ` [v4l-dvb-maintainer] " Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4637636C.50704@drzeus.cx \
--to=drzeus-mmc@drzeus.cx \
--cc=akpm@linux-foundation.org \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.