ChangeSet 1.2065.4.4, 2005/03/12 22:40:08+01:00, [EMAIL PROTECTED]

        kconfig/bus: cleanup bus options menu
        
        This properly indents the bus options menu.
        Merge the two MCA variables.
        Remove unnecessary "default n" options.
        
        Signed-off-by: Roman Zippel <[EMAIL PROTECTED]>
        Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>



 arch/i386/Kconfig        |    8 ++------
 drivers/pci/Kconfig      |    2 +-
 drivers/pci/pcie/Kconfig |   13 ++++++-------
 drivers/pcmcia/Kconfig   |   11 ++++++-----
 4 files changed, 15 insertions(+), 19 deletions(-)


diff -Nru a/arch/i386/Kconfig b/arch/i386/Kconfig
--- a/arch/i386/Kconfig 2005-03-13 09:08:09 -08:00
+++ b/arch/i386/Kconfig 2005-03-13 09:08:09 -08:00
@@ -1199,17 +1199,13 @@
 source "drivers/eisa/Kconfig"
 
 config MCA
-       bool "MCA support"
-       depends on !(X86_VISWS || X86_VOYAGER)
+       bool "MCA support" if !(X86_VISWS || X86_VOYAGER)
+       default y if X86_VOYAGER
        help
          MicroChannel Architecture is found in some IBM PS/2 machines and
          laptops.  It is a bus system similar to PCI or ISA. See
          <file:Documentation/mca.txt> (and especially the web page given
          there) before attempting to build an MCA bus kernel.
-
-config MCA
-       depends on X86_VOYAGER
-       default y if X86_VOYAGER
 
 source "drivers/mca/Kconfig"
 
diff -Nru a/drivers/pci/Kconfig b/drivers/pci/Kconfig
--- a/drivers/pci/Kconfig       2005-03-13 09:08:09 -08:00
+++ b/drivers/pci/Kconfig       2005-03-13 09:08:09 -08:00
@@ -3,8 +3,8 @@
 #
 config PCI_MSI
        bool "Message Signaled Interrupts (MSI and MSI-X)"
+       depends on PCI
        depends on (X86_LOCAL_APIC && X86_IO_APIC) || IA64
-       default n
        help
           This allows device drivers to enable MSI (Message Signaled
           Interrupts).  Message Signaled Interrupts enable a device to
diff -Nru a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig
--- a/drivers/pci/pcie/Kconfig  2005-03-13 09:08:09 -08:00
+++ b/drivers/pci/pcie/Kconfig  2005-03-13 09:08:09 -08:00
@@ -3,13 +3,12 @@
 #
 config PCIEPORTBUS
        bool "PCI Express support"
-       default n
-
-       ---help---
-       This automatically enables PCI Express Port Bus support. Users can
-       choose Native Hot-Plug support, Advanced Error Reporting support,
-       Power Management Event support and Virtual Channel support to run
-       on PCI Express Ports (Root or Switch).
+       depends on PCI
+       help
+         This automatically enables PCI Express Port Bus support. Users can
+         choose Native Hot-Plug support, Advanced Error Reporting support,
+         Power Management Event support and Virtual Channel support to run
+         on PCI Express Ports (Root or Switch).
 
 #
 # Include service Kconfig here
diff -Nru a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig
--- a/drivers/pcmcia/Kconfig    2005-03-13 09:08:09 -08:00
+++ b/drivers/pcmcia/Kconfig    2005-03-13 09:08:09 -08:00
@@ -20,9 +20,10 @@
          To compile this driver as modules, choose M here: the
          module will be called pcmcia_core.
 
+if PCCARD
+
 config PCMCIA_DEBUG
        bool "Enable PCCARD debugging"
-       depends on PCCARD != n
        help
          Say Y here to enable PCMCIA subsystem debugging.  You
          will need to choose the debugging level either via the
@@ -41,7 +42,6 @@
 
 config PCMCIA
        tristate "16-bit PCMCIA support"
-       depends on PCCARD
        default y
        ---help---
           This option enables support for 16-bit PCMCIA cards. Most older
@@ -60,7 +60,7 @@
 
 config CARDBUS
        bool "32-bit CardBus support"   
-       depends on PCCARD && PCI
+       depends on PCI
        default y
        ---help---
          CardBus is a bus mastering architecture for PC-cards, which allows
@@ -77,7 +77,7 @@
 
 config YENTA
        tristate "CardBus yenta-compatible bridge support"
-       depends on PCCARD && PCI
+       depends on PCI
 #fixme: remove dependendcy on CARDBUS
        depends on CARDBUS
        select PCCARD_NONSTATIC
@@ -197,6 +197,7 @@
 
 config PCCARD_NONSTATIC
        tristate
-       depends on PCCARD
+
+endif  # PCCARD
 
 endmenu
-
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

Reply via email to