summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2005-03-13 00:40:08 +0100
committerSam Ravnborg <sam@mars.ravnborg.org>2005-03-13 00:40:08 +0100
commit6ce1c0420678236cb8a0c0733a97c6b86de53ff3 (patch)
tree3bbb03c9f4098d7561e081126ab22e5a934ea4b3
parent7aa5d97cc5447083d5b71850119c2cae39a66a85 (diff)
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 <zippel@linux-m68k.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r--arch/i386/Kconfig8
-rw-r--r--drivers/pci/Kconfig2
-rw-r--r--drivers/pci/pcie/Kconfig13
-rw-r--r--drivers/pcmcia/Kconfig11
4 files changed, 15 insertions, 19 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig
index 1188f8414a9c..86b326d79276 100644
--- a/arch/i386/Kconfig
+++ b/arch/i386/Kconfig
@@ -1199,18 +1199,14 @@ config EISA
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"
config SCx200
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 421c93f1f899..812c4274d7cd 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -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 --git a/drivers/pci/pcie/Kconfig b/drivers/pci/pcie/Kconfig
index 5a93f0f10b95..1012db8b8b2c 100644
--- a/drivers/pci/pcie/Kconfig
+++ b/drivers/pci/pcie/Kconfig
@@ -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 --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig
index 5e0ea6ff877c..6375ebc85020 100644
--- a/drivers/pcmcia/Kconfig
+++ b/drivers/pcmcia/Kconfig
@@ -20,9 +20,10 @@ config PCCARD
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_DEBUG
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 PCMCIA
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 @@ comment "PC-card bridges"
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 PCMCIA_VRC4173
config PCCARD_NONSTATIC
tristate
- depends on PCCARD
+
+endif # PCCARD
endmenu