[PATCH 107/114] x86: cleanup, introduce CONFIG_NON_STANDARD_PLATFORMS

From: Ingo Molnar
Date: Wed Jan 28 2009 - 19:27:11 EST


Introduce a Y/N Kconfig option for non-PC x86 platforms.

Make VisWS, RDC321 and SGI/UV depend on this.

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
arch/x86/Kconfig | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 38ed1a6..b090e5a 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -349,9 +349,23 @@ config X86_VSMP

endchoice

+config X86_NON_STANDARD
+ bool "Support for non-standard x86 platforms"
+ help
+ If you disable this option then the kernel will only support
+ standard PC platforms. (which covers the vast majority of
+ systems out there.)
+
+ If you enable this option then you'll be able to select a number
+ of less common non-PC x86 platforms: VisWS, RDC321, SGI/UV.
+
+ If you have one of these systems, or if you want to build a
+ generic distribution kernel, say Y here - otherwise say N.
+
config X86_VISWS
bool "SGI 320/540 (Visual Workstation)"
depends on X86_32 && PCI && X86_MPPARSE && PCI_GODIRECT
+ depends on X86_NON_STANDARD
help
The SGI Visual Workstation series is an IA32-based workstation
based on SGI systems chips with some legacy PC hardware attached.
@@ -364,6 +378,7 @@ config X86_VISWS
config X86_RDC321X
bool "RDC R-321x SoC"
depends on X86_32
+ depends on X86_NON_STANDARD
select M486
select X86_REBOOTFIXUPS
help
@@ -374,6 +389,7 @@ config X86_RDC321X
config X86_UV
bool "SGI Ultraviolet"
depends on X86_64
+ depends on X86_NON_STANDARD
help
This option is needed in order to support SGI Ultraviolet systems.
If you don't have one of these, you should say N here.
--
1.6.0.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/