Skip to content

Commit

Permalink
[PATCH] ARM: select PCI, ISA and ISA_DMA
Browse files Browse the repository at this point in the history
Rather than using a long "depends on..." and "default y" lines for
these options, use select instead.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
  • Loading branch information
Russell King committed May 5, 2005
1 parent 53d7ad1 commit f7e68bb
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
20 changes: 12 additions & 8 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ choice
config ARCH_CLPS7500
bool "Cirrus-CL-PS7500FE"
select TIMER_ACORN
select ISA

config ARCH_CLPS711X
bool "CLPS711x/EP721x-based"
Expand All @@ -96,6 +97,7 @@ config ARCH_CO285

config ARCH_EBSA110
bool "EBSA-110"
select ISA
help
This is an evaluation board for the StrongARM processor available
from Digital. It has limited hardware on-board, including an onboard
Expand All @@ -120,13 +122,16 @@ config ARCH_INTEGRATOR

config ARCH_IOP3XX
bool "IOP3xx-based"
select PCI

config ARCH_IXP4XX
bool "IXP4xx-based"
select DMABOUNCE
select PCI

config ARCH_IXP2000
bool "IXP2400/2800-based"
select PCI

config ARCH_L7200
bool "LinkUp-L7200"
Expand Down Expand Up @@ -155,6 +160,8 @@ config ARCH_RPC

config ARCH_SA1100
bool "SA1100-based"
select ISA
select DISCONTIGMEM

config ARCH_S3C2410
bool "Samsung S3C2410"
Expand All @@ -165,6 +172,9 @@ config ARCH_S3C2410

config ARCH_SHARK
bool "Shark"
select ISA
select ISA_DMA
select PCI

config ARCH_LH7A40X
bool "Sharp LH7A40X"
Expand Down Expand Up @@ -252,8 +262,6 @@ config ARM_AMBA

config ISA
bool
depends on FOOTBRIDGE_HOST || ARCH_SHARK || ARCH_CLPS7500 || ARCH_EBSA110 || ARCH_CDB89712 || ARCH_EDB7211 || ARCH_SA1100 || ARCH_MX1ADS
default y
help
Find out whether you have ISA slots on your motherboard. ISA is the
name of a bus system, i.e. the way the CPU talks to the other stuff
Expand All @@ -263,16 +271,13 @@ config ISA

config ISA_DMA
bool
depends on FOOTBRIDGE_HOST || ARCH_SHARK
default y

config ISA_DMA_API
bool
default y

config PCI
bool "PCI support" if ARCH_INTEGRATOR_AP
default y if ARCH_SHARK || FOOTBRIDGE_HOST || ARCH_IOP3XX || ARCH_IXP4XX || ARCH_IXP2000
help
Find out whether you have a PCI motherboard. PCI is the name of a
bus system, i.e. the way the CPU talks to the other stuff inside
Expand Down Expand Up @@ -300,7 +305,7 @@ menu "Kernel Features"

config SMP
bool "Symmetric Multi-Processing (EXPERIMENTAL)"
depends on EXPERIMENTAL && n
depends on EXPERIMENTAL #&& n
help
This enables support for systems with more than one CPU. If you have
a system with only one CPU, like most personal computers, say N. If
Expand Down Expand Up @@ -340,8 +345,7 @@ config PREEMPT

config DISCONTIGMEM
bool
depends on ARCH_EDB7211 || ARCH_SA1100 || (ARCH_LH7A40X && !LH7A40X_CONTIGMEM)
default y
default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM)
help
Say Y to support efficient handling of discontiguous physical memory,
for architectures which are either NUMA (Non-Uniform Memory Access)
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/mach-clps711x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ config ARCH_AUTCPU12

config ARCH_CDB89712
bool "CDB89712"
select ISA
help
This is an evaluation board from Cirrus for the CS89712 processor.
The board includes 2 serial ports, Ethernet, IRDA, and expansion
Expand All @@ -26,6 +27,8 @@ config ARCH_CLEP7312

config ARCH_EDB7211
bool "EDB7211"
select ISA
select DISCONTIGMEM
help
Say Y here if you intend to run this kernel on a Cirrus Logic EDB-7211
evaluation board.
Expand Down
12 changes: 12 additions & 0 deletions arch/arm/mach-footbridge/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ menu "Footbridge Implementations"
config ARCH_CATS
bool "CATS"
select FOOTBRIDGE_HOST
select ISA
select ISA_DMA
select PCI
help
Say Y here if you intend to run this kernel on the CATS.

Expand All @@ -13,6 +16,9 @@ config ARCH_CATS
config ARCH_PERSONAL_SERVER
bool "Compaq Personal Server"
select FOOTBRIDGE_HOST
select ISA
select ISA_DMA
select PCI
---help---
Say Y here if you intend to run this kernel on the Compaq
Personal Server.
Expand Down Expand Up @@ -42,6 +48,9 @@ config ARCH_EBSA285_HOST
bool "EBSA285 (host mode)"
select ARCH_EBSA285
select FOOTBRIDGE_HOST
select ISA
select ISA_DMA
select PCI
help
Say Y here if you intend to run this kernel on the EBSA285 card
in host ("central function") mode.
Expand All @@ -51,6 +60,9 @@ config ARCH_EBSA285_HOST
config ARCH_NETWINDER
bool "NetWinder"
select FOOTBRIDGE_HOST
select ISA
select ISA_DMA
select PCI
help
Say Y here if you intend to run this kernel on the Rebel.COM
NetWinder. Information about this machine can be found at:
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-imx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ menu "IMX Implementations"
config ARCH_MX1ADS
bool "mx1ads"
depends on ARCH_IMX
select ISA
help
Say Y here if you are using the Motorola MX1ADS board

Expand Down

0 comments on commit f7e68bb

Please sign in to comment.