linux/arch/sparc64/Kconfig
<<
>>
Prefs
   1# $Id: config.in,v 1.158 2002/01/24 22:14:44 davem Exp $
   2# For a description of the syntax of this configuration file,
   3# see the Configure script.
   4#
   5
   6mainmenu "Linux/UltraSPARC Kernel Configuration"
   7
   8config SPARC
   9        bool
  10        default y
  11
  12config SPARC64
  13        bool
  14        default y
  15        help
  16          SPARC is a family of RISC microprocessors designed and marketed by
  17          Sun Microsystems, incorporated.  This port covers the newer 64-bit
  18          UltraSPARC.  The UltraLinux project maintains both the SPARC32 and
  19          SPARC64 ports; its web page is available at
  20          <http://www.ultralinux.org/>.
  21
  22config GENERIC_TIME
  23        bool
  24        default y
  25
  26config GENERIC_CLOCKEVENTS
  27        bool
  28        default y
  29
  30config 64BIT
  31        def_bool y
  32
  33config MMU
  34        bool
  35        default y
  36
  37config QUICKLIST
  38        bool
  39        default y
  40
  41config STACKTRACE_SUPPORT
  42        bool
  43        default y
  44
  45config LOCKDEP_SUPPORT
  46        bool
  47        default y
  48
  49config ARCH_MAY_HAVE_PC_FDC
  50        bool
  51        default y
  52
  53config ARCH_HAS_ILOG2_U32
  54        bool
  55        default n
  56
  57config ARCH_HAS_ILOG2_U64
  58        bool
  59        default n
  60
  61config AUDIT_ARCH
  62        bool
  63        default y
  64
  65choice
  66        prompt "Kernel page size"
  67        default SPARC64_PAGE_SIZE_8KB
  68
  69config SPARC64_PAGE_SIZE_8KB
  70        bool "8KB"
  71        help
  72          This lets you select the page size of the kernel.
  73
  74          8KB and 64KB work quite well, since Sparc ELF sections
  75          provide for up to 64KB alignment.
  76
  77          Therefore, 512KB and 4MB are for expert hackers only.
  78
  79          If you don't know what to do, choose 8KB.
  80
  81config SPARC64_PAGE_SIZE_64KB
  82        bool "64KB"
  83
  84config SPARC64_PAGE_SIZE_512KB
  85        bool "512KB"
  86
  87config SPARC64_PAGE_SIZE_4MB
  88        bool "4MB"
  89
  90endchoice
  91
  92config SECCOMP
  93        bool "Enable seccomp to safely compute untrusted bytecode"
  94        depends on PROC_FS
  95        default y
  96        help
  97          This kernel feature is useful for number crunching applications
  98          that may need to compute untrusted bytecode during their
  99          execution. By using pipes or other transports made available to
 100          the process as file descriptors supporting the read/write
 101          syscalls, it's possible to isolate those applications in
 102          their own address space using seccomp. Once seccomp is
 103          enabled via /proc/<pid>/seccomp, it cannot be disabled
 104          and the task is only allowed to execute a few safe syscalls
 105          defined by each seccomp mode.
 106
 107          If unsure, say Y. Only embedded should say N here.
 108
 109source kernel/Kconfig.hz
 110
 111source "init/Kconfig"
 112
 113config SYSVIPC_COMPAT
 114        bool
 115        depends on COMPAT && SYSVIPC
 116        default y
 117
 118config GENERIC_HARDIRQS
 119        bool
 120        default y
 121
 122menu "General machine setup"
 123
 124source "kernel/time/Kconfig"
 125
 126config SMP
 127        bool "Symmetric multi-processing support"
 128        ---help---
 129          This enables support for systems with more than one CPU. If you have
 130          a system with only one CPU, say N. If you have a system with more than
 131          one CPU, say Y.
 132
 133          If you say N here, the kernel will run on single and multiprocessor
 134          machines, but will use only one CPU of a multiprocessor machine. If
 135          you say Y here, the kernel will run on many, but not all,
 136          singleprocessor machines. On a singleprocessor machine, the kernel
 137          will run faster if you say N here.
 138
 139          People using multiprocessor machines who say Y here should also say
 140          Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
 141          Management" code will be disabled if you say Y here.
 142
 143          See also the <file:Documentation/smp.txt>,
 144          <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
 145          <http://www.tldp.org/docs.html#howto>.
 146
 147          If you don't know what to do here, say N.
 148
 149config NR_CPUS
 150        int "Maximum number of CPUs (2-1024)"
 151        range 2 1024
 152        depends on SMP
 153        default "64"
 154
 155source "drivers/cpufreq/Kconfig"
 156
 157config US3_FREQ
 158        tristate "UltraSPARC-III CPU Frequency driver"
 159        depends on CPU_FREQ
 160        select CPU_FREQ_TABLE
 161        help
 162          This adds the CPUFreq driver for UltraSPARC-III processors.
 163
 164          For details, take a look at <file:Documentation/cpu-freq>.
 165
 166          If in doubt, say N.
 167
 168config US2E_FREQ
 169        tristate "UltraSPARC-IIe CPU Frequency driver"
 170        depends on CPU_FREQ
 171        select CPU_FREQ_TABLE
 172        help
 173          This adds the CPUFreq driver for UltraSPARC-IIe processors.
 174
 175          For details, take a look at <file:Documentation/cpu-freq>.
 176
 177          If in doubt, say N.
 178
 179# Global things across all Sun machines.
 180config RWSEM_GENERIC_SPINLOCK
 181        bool
 182
 183config RWSEM_XCHGADD_ALGORITHM
 184        bool
 185        default y
 186
 187config GENERIC_FIND_NEXT_BIT
 188        bool
 189        default y
 190
 191config GENERIC_HWEIGHT
 192        bool
 193        default y if !ULTRA_HAS_POPULATION_COUNT
 194
 195config GENERIC_CALIBRATE_DELAY
 196        bool
 197        default y
 198
 199choice
 200        prompt "SPARC64 Huge TLB Page Size"
 201        depends on HUGETLB_PAGE
 202        default HUGETLB_PAGE_SIZE_4MB
 203
 204config HUGETLB_PAGE_SIZE_4MB
 205        bool "4MB"
 206
 207config HUGETLB_PAGE_SIZE_512K
 208        depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
 209        bool "512K"
 210
 211config HUGETLB_PAGE_SIZE_64K
 212        depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
 213        bool "64K"
 214
 215endchoice
 216
 217endmenu
 218
 219config ARCH_SELECT_MEMORY_MODEL
 220        def_bool y
 221
 222config ARCH_SPARSEMEM_ENABLE
 223        def_bool y
 224
 225config ARCH_SPARSEMEM_DEFAULT
 226        def_bool y
 227        select SPARSEMEM_STATIC
 228
 229source "mm/Kconfig"
 230
 231config ISA
 232        bool
 233        help
 234          Find out whether you have ISA slots on your motherboard.  ISA is the
 235          name of a bus system, i.e. the way the CPU talks to the other stuff
 236          inside your box.  Other bus systems are PCI, EISA, MicroChannel
 237          (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
 238          newer boards don't support it.  If you have ISA, say Y, otherwise N.
 239
 240config ISAPNP
 241        bool
 242        help
 243          Say Y here if you would like support for ISA Plug and Play devices.
 244          Some information is in <file:Documentation/isapnp.txt>.
 245
 246          To compile this driver as a module, choose M here: the
 247          module will be called isapnp.
 248
 249          If unsure, say Y.
 250
 251config EISA
 252        bool
 253        ---help---
 254          The Extended Industry Standard Architecture (EISA) bus was
 255          developed as an open alternative to the IBM MicroChannel bus.
 256
 257          The EISA bus provided some of the features of the IBM MicroChannel
 258          bus while maintaining backward compatibility with cards made for
 259          the older ISA bus.  The EISA bus saw limited use between 1988 and
 260          1995 when it was made obsolete by the PCI bus.
 261
 262          Say Y here if you are building a kernel for an EISA-based machine.
 263
 264          Otherwise, say N.
 265
 266config MCA
 267        bool
 268        help
 269          MicroChannel Architecture is found in some IBM PS/2 machines and
 270          laptops.  It is a bus system similar to PCI or ISA. See
 271          <file:Documentation/mca.txt> (and especially the web page given
 272          there) before attempting to build an MCA bus kernel.
 273
 274config PCMCIA
 275        tristate
 276        ---help---
 277          Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
 278          computer.  These are credit-card size devices such as network cards,
 279          modems or hard drives often used with laptops computers.  There are
 280          actually two varieties of these cards: the older 16 bit PCMCIA cards
 281          and the newer 32 bit CardBus cards.  If you want to use CardBus
 282          cards, you need to say Y here and also to "CardBus support" below.
 283
 284          To use your PC-cards, you will need supporting software from David
 285          Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
 286          for location).  Please also read the PCMCIA-HOWTO, available from
 287          <http://www.tldp.org/docs.html#howto>.
 288
 289          To compile this driver as modules, choose M here: the
 290          modules will be called pcmcia_core and ds.
 291
 292config SBUS
 293        bool
 294        default y
 295
 296config SBUSCHAR
 297        bool
 298        default y
 299
 300config SUN_AUXIO
 301        bool
 302        default y
 303
 304config SUN_IO
 305        bool
 306        default y
 307
 308config PCI
 309        bool "PCI support"
 310        select ARCH_SUPPORTS_MSI
 311        help
 312          Find out whether you have a PCI motherboard. PCI is the name of a
 313          bus system, i.e. the way the CPU talks to the other stuff inside
 314          your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
 315          VESA. If you have PCI, say Y, otherwise N.
 316
 317          The PCI-HOWTO, available from
 318          <http://www.tldp.org/docs.html#howto>, contains valuable
 319          information about which PCI hardware does work under Linux and which
 320          doesn't.
 321
 322config PCI_DOMAINS
 323        bool
 324        default PCI
 325
 326source "drivers/pci/Kconfig"
 327
 328config SUN_OPENPROMFS
 329        tristate "Openprom tree appears in /proc/openprom"
 330        help
 331          If you say Y, the OpenPROM device tree will be available as a
 332          virtual file system, which you can mount to /proc/openprom by "mount
 333          -t openpromfs none /proc/openprom".
 334
 335          To compile the /proc/openprom support as a module, choose M here: the
 336          module will be called openpromfs.  If unsure, choose M.
 337
 338config SPARC32_COMPAT
 339        bool "Kernel support for Linux/Sparc 32bit binary compatibility"
 340        help
 341          This allows you to run 32-bit binaries on your Ultra.
 342          Everybody wants this; say Y.
 343
 344config COMPAT
 345        bool
 346        depends on SPARC32_COMPAT
 347        default y
 348
 349config BINFMT_ELF32
 350        bool "Kernel support for 32-bit ELF binaries"
 351        depends on SPARC32_COMPAT
 352        help
 353          This allows you to run 32-bit Linux/ELF binaries on your Ultra.
 354          Everybody wants this; say Y.
 355
 356config BINFMT_AOUT32
 357        bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
 358        depends on SPARC32_COMPAT
 359        help
 360          This allows you to run 32-bit a.out format binaries on your Ultra.
 361          If you want to run SunOS binaries (see SunOS binary emulation below)
 362          or other a.out binaries, say Y. If unsure, say N.
 363
 364menu "Executable file formats"
 365
 366source "fs/Kconfig.binfmt"
 367
 368config SUNOS_EMUL
 369        bool "SunOS binary emulation"
 370        depends on BINFMT_AOUT32
 371        help
 372          This allows you to run most SunOS binaries.  If you want to do this,
 373          say Y here and place appropriate files in /usr/gnemul/sunos. See
 374          <http://www.ultralinux.org/faq.html> for more information.  If you
 375          want to run SunOS binaries on an Ultra you must also say Y to
 376          "Kernel support for 32-bit a.out binaries" above.
 377
 378config SOLARIS_EMUL
 379        tristate "Solaris binary emulation (EXPERIMENTAL)"
 380        depends on SPARC32_COMPAT && EXPERIMENTAL
 381        help
 382          This is experimental code which will enable you to run (many)
 383          Solaris binaries on your SPARC Linux machine.
 384
 385          To compile this code as a module, choose M here: the
 386          module will be called solaris.
 387
 388endmenu
 389
 390config SCHED_SMT
 391        bool "SMT (Hyperthreading) scheduler support"
 392        depends on SMP
 393        default y
 394        help
 395          SMT scheduler support improves the CPU scheduler's decision making
 396          when dealing with UltraSPARC cpus at a cost of slightly increased
 397          overhead in some places. If unsure say N here.
 398
 399config SCHED_MC
 400        bool "Multi-core scheduler support"
 401        depends on SMP
 402        default y
 403        help
 404          Multi-core scheduler support improves the CPU scheduler's decision
 405          making when dealing with multi-core CPU chips at a cost of slightly
 406          increased overhead in some places. If unsure say N here.
 407
 408source "kernel/Kconfig.preempt"
 409
 410config CMDLINE_BOOL
 411        bool "Default bootloader kernel arguments"
 412
 413config CMDLINE
 414        string "Initial kernel command string"
 415        depends on CMDLINE_BOOL
 416        default "console=ttyS0,9600 root=/dev/sda1"
 417        help
 418          Say Y here if you want to be able to pass default arguments to
 419          the kernel. This will be overridden by the bootloader, if you
 420          use one (such as SILO). This is most useful if you want to boot
 421          a kernel from TFTP, and want default options to be available
 422          with having them passed on the command line.
 423
 424          NOTE: This option WILL override the PROM bootargs setting!
 425
 426source "net/Kconfig"
 427
 428source "drivers/Kconfig"
 429
 430source "drivers/sbus/char/Kconfig"
 431
 432source "drivers/fc4/Kconfig"
 433
 434source "fs/Kconfig"
 435
 436menu "Instrumentation Support"
 437        depends on EXPERIMENTAL
 438
 439source "arch/sparc64/oprofile/Kconfig"
 440
 441config KPROBES
 442        bool "Kprobes (EXPERIMENTAL)"
 443        depends on KALLSYMS && EXPERIMENTAL && MODULES
 444        help
 445          Kprobes allows you to trap at almost any kernel address and
 446          execute a callback function.  register_kprobe() establishes
 447          a probepoint and specifies the callback.  Kprobes is useful
 448          for kernel debugging, non-intrusive instrumentation and testing.
 449          If in doubt, say "N".
 450endmenu
 451
 452source "arch/sparc64/Kconfig.debug"
 453
 454source "security/Kconfig"
 455
 456source "crypto/Kconfig"
 457
 458source "lib/Kconfig"
 459
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.