diff options
author | Greg Ungerer <gerg@uclinux.org> | 2011-06-20 01:49:09 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2011-10-18 00:22:25 -0400 |
commit | 0e152d80507b75c00aac60f2ffc586360687cd52 (patch) | |
tree | 786a8ab6c69b15dfbc6b34072c7e66f7339a4b9c /arch/m68k/Kconfig.bus | |
parent | 89127ed381fb244aa51c1a74ed695a1f3578ef7d (diff) |
m68k: reorganize Kconfig options to improve mmu/non-mmu selections
The current mmu and non-mmu Kconfig files can be merged to form
a more general selection of options. The current break up of options
is due to the simple brute force merge from the m68k and m68knommu
arch directories.
Many of the options are not at all specific to having the MMU enabled
or not. They are actually associated with a particular CPU type or
platform type.
Ultimately as we support all processors with the MMU disabled we need
many of these options to be selectable without the MMU option enabled.
And likewise some of the ColdFire processors, which currently are only
supported with the MMU disabled, do have MMU hardware, and will need
to have options selected on CPU type, not MMU disabled.
This patch removes the old mmu and non-mmu Kconfigs and instead breaks
up the configuration into four areas: cpu, machine, bus, devices.
The Kconfig.cpu lists all the options associated with selecting a CPU,
and includes options specific to each CPU type as well.
Kconfig.machine lists all options associated with selecting a machine
type. Almost always the machines selectable is restricted by the chosen
CPU.
Kconfig.bus contains options associated with selecting bus types on the
various machine types. That includes PCI bus, PCMCIA bus, etc.
Kconfig.devices contains options for drivers and driver associated
options.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/Kconfig.bus')
-rw-r--r-- | arch/m68k/Kconfig.bus | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig.bus b/arch/m68k/Kconfig.bus new file mode 100644 index 000000000000..8294f0c1785e --- /dev/null +++ b/arch/m68k/Kconfig.bus | |||
@@ -0,0 +1,55 @@ | |||
1 | if MMU | ||
2 | |||
3 | comment "Bus Support" | ||
4 | |||
5 | config NUBUS | ||
6 | bool | ||
7 | depends on MAC | ||
8 | default y | ||
9 | |||
10 | config ZORRO | ||
11 | bool "Amiga Zorro (AutoConfig) bus support" | ||
12 | depends on AMIGA | ||
13 | help | ||
14 | This enables support for the Zorro bus in the Amiga. If you have | ||
15 | expansion cards in your Amiga that conform to the Amiga | ||
16 | AutoConfig(tm) specification, say Y, otherwise N. Note that even | ||
17 | expansion cards that do not fit in the Zorro slots but fit in e.g. | ||
18 | the CPU slot may fall in this category, so you have to say Y to let | ||
19 | Linux use these. | ||
20 | |||
21 | config AMIGA_PCMCIA | ||
22 | bool "Amiga 1200/600 PCMCIA support (EXPERIMENTAL)" | ||
23 | depends on AMIGA && EXPERIMENTAL | ||
24 | help | ||
25 | Include support in the kernel for pcmcia on Amiga 1200 and Amiga | ||
26 | 600. If you intend to use pcmcia cards say Y; otherwise say N. | ||
27 | |||
28 | config ISA | ||
29 | bool | ||
30 | depends on Q40 || AMIGA_PCMCIA | ||
31 | default y | ||
32 | help | ||
33 | Find out whether you have ISA slots on your motherboard. ISA is the | ||
34 | name of a bus system, i.e. the way the CPU talks to the other stuff | ||
35 | inside your box. Other bus systems are PCI, EISA, MicroChannel | ||
36 | (MCA) or VESA. ISA is an older system, now being displaced by PCI; | ||
37 | newer boards don't support it. If you have ISA, say Y, otherwise N. | ||
38 | |||
39 | config GENERIC_ISA_DMA | ||
40 | def_bool ISA | ||
41 | |||
42 | source "drivers/pci/Kconfig" | ||
43 | |||
44 | source "drivers/zorro/Kconfig" | ||
45 | |||
46 | endif | ||
47 | |||
48 | if !MMU | ||
49 | |||
50 | config ISA_DMA_API | ||
51 | def_bool !M5272 | ||
52 | |||
53 | source "drivers/pcmcia/Kconfig" | ||
54 | |||
55 | endif | ||