From: Geert Uytterhoeven <geert@linux-m68k.org>
To: linux-m68k@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [patch 2/8] m68k: Reverse platform MMU logic so Sun 3 is last
Date: Wed, 03 Sep 2008 09:15:44 +0200 [thread overview]
Message-ID: <20080903071741.424551678@mail.of.borg> (raw)
In-Reply-To: 20080903071542.615137611@mail.of.borg
[-- Attachment #1: m68k-reverse-platform-mmu-logic-so-sun3-is-last.diff --]
[-- Type: text/plain, Size: 4455 bytes --]
From: Geert Uytterhoeven <geert@linux-m68k.org>
Currently Sun 3 support is the first platform option, as the Sun 3 MMU is
incompatible with standard Motorola MMUs. However, this means that
`allmodconfig' enables support for Sun 3, and thus disables support for all
other platforms.
Reverse the logic and move Sun 3 last, so `allmodconfig' enables all
platforms except for Sun 3, increasing compile-coverage.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
arch/m68k/Kconfig | 43 ++++++++++++++++++++++---------------------
1 file changed, 22 insertions(+), 21 deletions(-)
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -107,21 +107,9 @@ config PCMCIA
To compile this driver as modules, choose M here: the
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
bool "Amiga support"
- depends on !MMU_SUN3
+ select MMU_MOTOROLA if MMU
help
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
@@ -129,7 +117,7 @@ config AMIGA
config ATARI
bool "Atari support"
- depends on !MMU_SUN3
+ select MMU_MOTOROLA if MMU
help
This option enables support for the 68000-based Atari series of
computers (including the TT, Falcon and Medusa). If you plan to use
@@ -155,7 +143,7 @@ config PCI
config MAC
bool "Macintosh support"
- depends on !MMU_SUN3
+ select MMU_MOTOROLA if MMU
help
This option enables support for the Apple Macintosh series of
computers (yes, there is experimental support now, at least for part
@@ -176,14 +164,14 @@ config M68K_L2_CACHE
config APOLLO
bool "Apollo support"
- depends on !MMU_SUN3
+ select MMU_MOTOROLA if MMU
help
Say Y here if you want to run Linux on an MC680x0-based Apollo
Domain workstation such as the DN3500.
config VME
bool "VME (Motorola and BVM) support"
- depends on !MMU_SUN3
+ select MMU_MOTOROLA if MMU
help
Say Y here if you want to build a kernel for a 680x0 based VME
board. Boards currently supported include Motorola boards MVME147,
@@ -220,7 +208,7 @@ config BVME6000
config HP300
bool "HP9000/300 and HP9000/400 support"
- depends on !MMU_SUN3
+ select MMU_MOTOROLA if MMU
help
This option enables support for the HP9000/300 and HP9000/400 series
of workstations. Support for these machines is still somewhat
@@ -239,7 +227,7 @@ config DIO
config SUN3X
bool "Sun3x support"
- depends on !MMU_SUN3
+ select MMU_MOTOROLA if MMU
select M68030
help
This option enables support for the Sun 3x series of workstations.
@@ -252,7 +240,7 @@ config SUN3X
config Q40
bool "Q40/Q60 support"
- depends on !MMU_SUN3
+ select MMU_MOTOROLA if MMU
help
The Q40 is a Motorola 68040-based successor to the Sinclair QL
manufactured in Germany. There is an official Q40 home page at
@@ -260,6 +248,19 @@ config Q40
Q60. Select your CPU below. For 68LC060 don't forget to enable FPU
emulation.
+config SUN3
+ bool "Sun3 support"
+ depends on !MMU_MOTOROLA
+ select MMU_SUN3 if MMU
+ select M68020
+ 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.
+
comment "Processor type"
config M68020
@@ -297,10 +298,10 @@ config M68060
config MMU_MOTOROLA
bool
depends on MMU && !MMU_SUN3
- default y
config MMU_SUN3
bool
+ depends on MMU && !MMU_MOTOROLA
config M68KFPU_EMU
bool "Math emulation support (EXPERIMENTAL)"
--
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next prev parent reply other threads:[~2008-09-03 7:18 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 7:15 [patch 0/8] RFC: m68k patches for 2.6.28 Geert Uytterhoeven
2008-09-03 7:15 ` [patch 1/8] m68k: Use new printk() extension %pS to print symbols Geert Uytterhoeven
2008-09-03 7:15 ` Geert Uytterhoeven [this message]
2008-09-03 7:36 ` [patch 2/8] m68k: Reverse platform MMU logic so Sun 3 is last Adrian Bunk
2008-09-03 11:13 ` Laurent Vivier
2008-09-03 12:07 ` Adrian Bunk
2008-09-05 17:34 ` Riccardo
2008-09-03 18:10 ` Brad Boyer
2008-09-05 17:36 ` Riccardo
2008-09-23 21:47 ` Lance Tagliapietra
2008-09-03 19:22 ` Geert Uytterhoeven
[not found] ` <alpine.DEB.1.00.0809042347400.3429@zirkon.biophys.uni-duesseldorf.de>
2008-10-14 19:47 ` [patch 3/2] m68k: Atari EtherNAT - add writew_be for data push Geert Uytterhoeven
2008-10-16 3:32 ` Michael Schmitz
[not found] ` <48E3B617.4050904@freenet.de>
[not found] ` <alpine.DEB.1.00.0810021020150.1527@zirkon.biophys.uni-duesseldorf.de>
[not found] ` <48E7A5D6.3020903@freenet.de>
[not found] ` <alpine.DEB.1.00.0810050511390.32397@zirkon.biophys.uni-duesseldorf.de>
[not found] ` <48EB266E.3070708@freenet.de>
[not found] ` <48ECE5DA.2090302@freenet.de>
[not found] ` <alpine.DEB.1.00.0810090428170.19738@zirkon.biophys.uni-duesseldorf.de>
[not found] ` <48EF9ECE.40505@freenet.de>
[not found] ` <alpine.DEB.1.00.0810110330110.10175@zirkon.biophys.uni-duesseldorf.de>
[not found] ` <48F0ECC9.6050902@freenet.de>
[not found] ` <alpine.DEB.1.00.0810122141540.26363@zirkon.biophys.uni-duesseldorf.de>
[not found] ` <48F679D1.60709@freenet.de>
[not found] ` <alpine.DEB.1.00.0810281959240.8885@zirkon.biophys.uni-duesseldorf.de>
[not found] ` <49085A7A.3030006@freenet.de>
[not found] ` <alpine.DEB.1.00.0810292124320.22819@zirkon.biophys.uni-duesseldorf.de>
[not found] ` <4909C12C.4020009@freenet.de>
[not found] ` <Pine.LNX.4.64.0810301800270.30686@anakin>
[not found] ` <alpine.DEB.1.00.0810302112230.572@zirkon.biophys.uni-duesseldorf.de>
2008-11-03 21:28 ` Geert Uytterhoeven
2008-11-04 7:14 ` Michael Schmitz
2008-09-03 7:15 ` [patch 3/8] m68k: Disable Amiga serial console support if modular Geert Uytterhoeven
2008-09-03 7:15 ` [patch 4/8] m68k: Modular Amiga keyboard needs key_maps Geert Uytterhoeven
2008-09-03 7:15 ` [patch 5/8] m68k: Remove unused atari_kbd_translate() Geert Uytterhoeven
2008-09-04 9:32 ` Michael Schmitz
2008-09-04 9:39 ` Geert Uytterhoeven
2008-09-04 9:49 ` Michael Schmitz
2008-09-03 7:15 ` [patch 6/8] m68k: Define rtc_lock on Atari Geert Uytterhoeven
2008-09-04 9:51 ` Michael Schmitz
2008-09-03 7:15 ` [patch 7/8] m68k: Add missing dma_sync_single_range_for_{cpu,device}() Geert Uytterhoeven
2008-09-03 10:59 ` Roman Zippel
2008-09-03 11:17 ` [patch 7/8] m68k: Add missing dma_sync_single_range_for_{cpu, device}() Geert Uytterhoeven
2008-09-03 11:22 ` Geert Uytterhoeven
2008-09-03 11:39 ` Roman Zippel
2008-09-03 12:12 ` [patch 7/8] m68k: Add missing dma_sync_single_range_for_{cpu,device}() Adrian Bunk
2008-09-03 12:36 ` Roman Zippel
2008-09-03 7:15 ` [patch 8/8] m68k: <asm/pci.h> needs <asm-generic/pci-dma-compat.h> Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080903071741.424551678@mail.of.borg \
--to=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.