Commit 6ce1c042 authored by Sam Ravnborg's avatar Sam Ravnborg

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: default avatarRoman Zippel <zippel@linux-m68k.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 7aa5d97c
...@@ -1199,18 +1199,14 @@ config EISA ...@@ -1199,18 +1199,14 @@ config EISA
source "drivers/eisa/Kconfig" source "drivers/eisa/Kconfig"
config MCA config MCA
bool "MCA support" bool "MCA support" if !(X86_VISWS || X86_VOYAGER)
depends on !(X86_VISWS || X86_VOYAGER) default y if X86_VOYAGER
help help
MicroChannel Architecture is found in some IBM PS/2 machines and MicroChannel Architecture is found in some IBM PS/2 machines and
laptops. It is a bus system similar to PCI or ISA. See laptops. It is a bus system similar to PCI or ISA. See
<file:Documentation/mca.txt> (and especially the web page given <file:Documentation/mca.txt> (and especially the web page given
there) before attempting to build an MCA bus kernel. there) before attempting to build an MCA bus kernel.
config MCA
depends on X86_VOYAGER
default y if X86_VOYAGER
source "drivers/mca/Kconfig" source "drivers/mca/Kconfig"
config SCx200 config SCx200
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
# #
config PCI_MSI config PCI_MSI
bool "Message Signaled Interrupts (MSI and MSI-X)" bool "Message Signaled Interrupts (MSI and MSI-X)"
depends on PCI
depends on (X86_LOCAL_APIC && X86_IO_APIC) || IA64 depends on (X86_LOCAL_APIC && X86_IO_APIC) || IA64
default n
help help
This allows device drivers to enable MSI (Message Signaled This allows device drivers to enable MSI (Message Signaled
Interrupts). Message Signaled Interrupts enable a device to Interrupts). Message Signaled Interrupts enable a device to
......
...@@ -3,13 +3,12 @@ ...@@ -3,13 +3,12 @@
# #
config PCIEPORTBUS config PCIEPORTBUS
bool "PCI Express support" bool "PCI Express support"
default n depends on PCI
help
---help--- This automatically enables PCI Express Port Bus support. Users can
This automatically enables PCI Express Port Bus support. Users can choose Native Hot-Plug support, Advanced Error Reporting support,
choose Native Hot-Plug support, Advanced Error Reporting support, Power Management Event support and Virtual Channel support to run
Power Management Event support and Virtual Channel support to run on PCI Express Ports (Root or Switch).
on PCI Express Ports (Root or Switch).
# #
# Include service Kconfig here # Include service Kconfig here
......
...@@ -20,9 +20,10 @@ config PCCARD ...@@ -20,9 +20,10 @@ config PCCARD
To compile this driver as modules, choose M here: the To compile this driver as modules, choose M here: the
module will be called pcmcia_core. module will be called pcmcia_core.
if PCCARD
config PCMCIA_DEBUG config PCMCIA_DEBUG
bool "Enable PCCARD debugging" bool "Enable PCCARD debugging"
depends on PCCARD != n
help help
Say Y here to enable PCMCIA subsystem debugging. You Say Y here to enable PCMCIA subsystem debugging. You
will need to choose the debugging level either via the will need to choose the debugging level either via the
...@@ -41,7 +42,6 @@ config PCMCIA_DEBUG ...@@ -41,7 +42,6 @@ config PCMCIA_DEBUG
config PCMCIA config PCMCIA
tristate "16-bit PCMCIA support" tristate "16-bit PCMCIA support"
depends on PCCARD
default y default y
---help--- ---help---
This option enables support for 16-bit PCMCIA cards. Most older This option enables support for 16-bit PCMCIA cards. Most older
...@@ -60,7 +60,7 @@ config PCMCIA ...@@ -60,7 +60,7 @@ config PCMCIA
config CARDBUS config CARDBUS
bool "32-bit CardBus support" bool "32-bit CardBus support"
depends on PCCARD && PCI depends on PCI
default y default y
---help--- ---help---
CardBus is a bus mastering architecture for PC-cards, which allows CardBus is a bus mastering architecture for PC-cards, which allows
...@@ -77,7 +77,7 @@ comment "PC-card bridges" ...@@ -77,7 +77,7 @@ comment "PC-card bridges"
config YENTA config YENTA
tristate "CardBus yenta-compatible bridge support" tristate "CardBus yenta-compatible bridge support"
depends on PCCARD && PCI depends on PCI
#fixme: remove dependendcy on CARDBUS #fixme: remove dependendcy on CARDBUS
depends on CARDBUS depends on CARDBUS
select PCCARD_NONSTATIC select PCCARD_NONSTATIC
...@@ -197,6 +197,7 @@ config PCMCIA_VRC4173 ...@@ -197,6 +197,7 @@ config PCMCIA_VRC4173
config PCCARD_NONSTATIC config PCCARD_NONSTATIC
tristate tristate
depends on PCCARD
endif # PCCARD
endmenu endmenu
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment