]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/sparc/Kconfig
Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6
[mv-sheeva.git] / arch / sparc / Kconfig
index c8c7738f2a328f694e5d254b7b68eaa2d96f423a..c3ea215334f60cd372b158efded8bb87502d1cfb 100644 (file)
@@ -4,6 +4,17 @@
 
 mainmenu "Linux/SPARC Kernel Configuration"
 
+config 64BIT
+       bool "64-bit kernel" if ARCH = "sparc"
+       default ARCH = "sparc64"
+       help
+         SPARC is a family of RISC microprocessors designed and marketed by
+         Sun Microsystems, incorporated.  They are very widely found in Sun
+         workstations and clones.
+
+         Say yes to build a 64-bit kernel - formerly known as sparc64
+         Say no to build a 32-bit kernel - formerly known as sparc
+
 config SPARC
        bool
        default y
@@ -15,26 +26,17 @@ config SPARC
        select RTC_CLASS
        select RTC_DRV_M48T59
 
-# Identify this as a Sparc32 build
 config SPARC32
-       bool
-       default y if ARCH = "sparc"
-       help
-         SPARC is a family of RISC microprocessors designed and marketed by
-         Sun Microsystems, incorporated.  They are very widely found in Sun
-         workstations and clones. This port covers the original 32-bit SPARC;
-         it is old and stable and usually considered one of the "big three"
-         along with the Intel and Alpha ports.  The UltraLinux project
-         maintains both the SPARC32 and SPARC64 ports; its web page is
-         available at <http://www.ultralinux.org/>.
+       def_bool !64BIT
 
 config SPARC64
-       bool
-       default y if ARCH = "sparc64"
+       def_bool 64BIT
+       select ARCH_SUPPORTS_MSI
        select HAVE_FUNCTION_TRACER
        select HAVE_KRETPROBES
        select HAVE_KPROBES
        select HAVE_LMB
+       select HAVE_SYSCALL_WRAPPERS
        select USE_GENERIC_SMP_HELPERS if SMP
        select RTC_DRV_CMOS
        select RTC_DRV_BQ4802
@@ -46,10 +48,11 @@ config ARCH_DEFCONFIG
        default "arch/sparc/configs/sparc32_defconfig" if SPARC32
        default "arch/sparc/configs/sparc64_defconfig" if SPARC64
 
-
-
-config 64BIT
-       def_bool y if SPARC64
+# CONFIG_BITS can be used at source level to get 32/64 bits
+config BITS
+       int
+       default 32 if SPARC32
+       default 64 if SPARC64
 
 config GENERIC_TIME
        bool
@@ -183,14 +186,6 @@ config ARCH_MAY_HAVE_PC_FDC
        bool
        default y
 
-config ARCH_HAS_ILOG2_U32
-       bool
-       default n
-
-config ARCH_HAS_ILOG2_U64
-       bool
-       default n
-
 config EMULATED_CMPXCHG
        bool
        default y if SPARC32
@@ -437,26 +432,6 @@ config SERIAL_CONSOLE
 endmenu
 
 menu "Bus options (PCI etc.)"
-config ISA
-       bool
-       help
-         ISA is found on Espresso only and is not supported currently.
-
-config ISAPNP
-       bool
-       help
-         ISAPNP is not supported
-
-config EISA
-       bool
-       help
-         EISA is not supported.
-
-config MCA
-       bool
-       help
-         MCA is not supported.
-
 config SBUS
        bool
        default y
@@ -465,10 +440,6 @@ config SBUSCHAR
        bool
        default y
 
-config SUN_IO
-       bool
-       default y
-
 config SUN_LDOMS
        bool "Sun Logical Domains support"
        depends on SPARC64
@@ -478,7 +449,6 @@ config SUN_LDOMS
 
 config PCI
        bool "Support for PCI and PS/2 keyboard/mouse"
-       select ARCH_SUPPORTS_MSI if SPARC64
        help
          Find out whether your system includes a PCI bus. PCI is the name of
          a bus system, i.e. the way the CPU talks to the other stuff inside