Commit cc62c4f7 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] m68k: M68k configuration

From: Geert Uytterhoeven <geert@linux-m68k.org>

Update M68k configuration logic:
  - Introduce CONFIG_MMU_MOTOROLA and CONFIG_MMU_SUN3
  - Move Sun-3 config selection to the top since all other platforms conflict
    with it
  - Sun-3 implies MMU_SUN3
  - All other platforms imply MMU_MOTOROLA
  - Sun-3 implies M68020
  - Sun-3x implies M68030
  - Sun-3 kernels cannot support 68030, 68040, or 68060
parent 21afbe0d
...@@ -70,8 +70,21 @@ config PCMCIA ...@@ -70,8 +70,21 @@ config PCMCIA
To compile this driver as modules, choose M here: the To compile this driver as modules, choose M here: the
modules will be called pcmcia_core and ds. modules will be called pcmcia_core and ds.
config SUN3
bool "Sun3 support"
select M68020
select MMU_SUN3 if MMU
help
This option enables support for the Sun 3 series of workstations
(3/50, 3/60, 3/1xx, 3/2xx systems). Enabling this option requires
that all other hardware types must be disabled, as Sun 3 kernels
are incompatible with all other m68k targets (including Sun 3x!).
If you don't want to compile a kernel exclusively for a Sun 3, say N.
config AMIGA config AMIGA
bool "Amiga support" bool "Amiga support"
depends on !MMU_SUN3
help help
This option enables support for the Amiga series of computers. If This option enables support for the Amiga series of computers. If
you plan to use this kernel on an Amiga, say Y here and browse the you plan to use this kernel on an Amiga, say Y here and browse the
...@@ -79,6 +92,7 @@ config AMIGA ...@@ -79,6 +92,7 @@ config AMIGA
config ATARI config ATARI
bool "Atari support" bool "Atari support"
depends on !MMU_SUN3
help help
This option enables support for the 68000-based Atari series of This option enables support for the 68000-based Atari series of
computers (including the TT, Falcon and Medusa). If you plan to use computers (including the TT, Falcon and Medusa). If you plan to use
...@@ -109,6 +123,7 @@ config PCI ...@@ -109,6 +123,7 @@ config PCI
config MAC config MAC
bool "Macintosh support" bool "Macintosh support"
depends on !MMU_SUN3
help help
This option enables support for the Apple Macintosh series of This option enables support for the Apple Macintosh series of
computers (yes, there is experimental support now, at least for part computers (yes, there is experimental support now, at least for part
...@@ -129,12 +144,14 @@ config M68K_L2_CACHE ...@@ -129,12 +144,14 @@ config M68K_L2_CACHE
config APOLLO config APOLLO
bool "Apollo support" bool "Apollo support"
depends on !MMU_SUN3
help help
Say Y here if you want to run Linux on an MC680x0-based Apollo Say Y here if you want to run Linux on an MC680x0-based Apollo
Domain workstation such as the DN3500. Domain workstation such as the DN3500.
config VME config VME
bool "VME (Motorola and BVM) support" bool "VME (Motorola and BVM) support"
depends on !MMU_SUN3
help help
Say Y here if you want to build a kernel for a 680x0 based VME Say Y here if you want to build a kernel for a 680x0 based VME
board. Boards currently supported include Motorola boards MVME147, board. Boards currently supported include Motorola boards MVME147,
...@@ -171,6 +188,7 @@ config BVME6000 ...@@ -171,6 +188,7 @@ config BVME6000
config HP300 config HP300
bool "HP9000/300 support" bool "HP9000/300 support"
depends on !MMU_SUN3
help help
This option enables support for the HP9000/300 series of This option enables support for the HP9000/300 series of
workstations. Support for these machines is still very experimental. workstations. Support for these machines is still very experimental.
...@@ -187,30 +205,20 @@ config DIO ...@@ -187,30 +205,20 @@ config DIO
config SUN3X config SUN3X
bool "Sun3x support" bool "Sun3x support"
depends on !MMU_SUN3
select M68030
help help
This option enables support for the Sun 3x series of workstations. This option enables support for the Sun 3x series of workstations.
Be warned that this support is very experimental. You will also want Be warned that this support is very experimental.
to say Y to 68030 support and N to the other processors below.
Note that Sun 3x kernels are not compatible with Sun 3 hardware. Note that Sun 3x kernels are not compatible with Sun 3 hardware.
General Linux information on the Sun 3x series (now discontinued) General Linux information on the Sun 3x series (now discontinued)
is at <http://www.angelfire.com/ca2/tech68k/sun3.html>. is at <http://www.angelfire.com/ca2/tech68k/sun3.html>.
If you don't want to compile a kernel for a Sun 3x, say N. If you don't want to compile a kernel for a Sun 3x, say N.
config SUN3
bool "Sun3 support"
help
This option enables support for the Sun 3 series of workstations
(3/50, 3/60, 3/1xx, 3/2xx systems). Enabling this option requires
that all other hardware types must be disabled, as Sun 3 kernels
are incompatible with all other m68k targets (including Sun 3x!).
Also, you will want to say Y to 68020 support and N to the other
processors below.
If you don't want to compile a kernel exclusively for a Sun 3, say N.
config Q40 config Q40
bool "Q40/Q60 support" bool "Q40/Q60 support"
depends on !MMU_SUN3
help help
The Q40 is a Motorola 68040-based successor to the Sinclair QL The Q40 is a Motorola 68040-based successor to the Sinclair QL
manufactured in Germany. There is an official Q40 home page at manufactured in Germany. There is an official Q40 home page at
...@@ -230,6 +238,7 @@ config M68020 ...@@ -230,6 +238,7 @@ config M68020
config M68030 config M68030
bool "68030 support" bool "68030 support"
depends on !MMU_SUN3
help help
If you anticipate running this kernel on a computer with a MC68030 If you anticipate running this kernel on a computer with a MC68030
processor, say Y. Otherwise, say N. Note that a MC68EC030 will not processor, say Y. Otherwise, say N. Note that a MC68EC030 will not
...@@ -237,6 +246,7 @@ config M68030 ...@@ -237,6 +246,7 @@ config M68030
config M68040 config M68040
bool "68040 support" bool "68040 support"
depends on !MMU_SUN3
help help
If you anticipate running this kernel on a computer with a MC68LC040 If you anticipate running this kernel on a computer with a MC68LC040
or MC68040 processor, say Y. Otherwise, say N. Note that an or MC68040 processor, say Y. Otherwise, say N. Note that an
...@@ -245,10 +255,19 @@ config M68040 ...@@ -245,10 +255,19 @@ config M68040
config M68060 config M68060
bool "68060 support" bool "68060 support"
depends on !MMU_SUN3
help help
If you anticipate running this kernel on a computer with a MC68060 If you anticipate running this kernel on a computer with a MC68060
processor, say Y. Otherwise, say N. processor, say Y. Otherwise, say N.
config MMU_MOTOROLA
bool
depends on MMU && !MMU_SUN3
default y
config MMU_SUN3
bool
config M68KFPU_EMU config M68KFPU_EMU
bool "Math emulation support (EXPERIMENTAL)" bool "Math emulation support (EXPERIMENTAL)"
depends on EXPERIMENTAL depends on EXPERIMENTAL
......
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