Kconfig 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. config PARISC
  2. def_bool y
  3. select HAVE_IDE
  4. select HAVE_OPROFILE
  5. select HAVE_FUNCTION_TRACER if 64BIT
  6. select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
  7. select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
  8. select ARCH_WANT_FRAME_POINTERS
  9. select RTC_CLASS
  10. select RTC_DRV_GENERIC
  11. select INIT_ALL_POSSIBLE
  12. select BUG
  13. select HAVE_PERF_EVENTS
  14. select GENERIC_ATOMIC64 if !64BIT
  15. select HAVE_GENERIC_HARDIRQS
  16. select BROKEN_RODATA
  17. select GENERIC_IRQ_PROBE
  18. select GENERIC_PCI_IOMAP
  19. select ARCH_HAVE_NMI_SAFE_CMPXCHG
  20. select GENERIC_SMP_IDLE_THREAD
  21. select GENERIC_IDLE_LOOP
  22. select GENERIC_STRNCPY_FROM_USER
  23. select SYSCTL_ARCH_UNALIGN_ALLOW
  24. select HAVE_MOD_ARCH_SPECIFIC
  25. select VIRT_TO_BUS
  26. select MODULES_USE_ELF_RELA
  27. select CLONE_BACKWARDS
  28. select TTY # Needed for pdc_cons.c
  29. help
  30. The PA-RISC microprocessor is designed by Hewlett-Packard and used
  31. in many of their workstations & servers (HP9000 700 and 800 series,
  32. and later HP3000 series). The PA-RISC Linux project home page is
  33. at <http://www.parisc-linux.org/>.
  34. config MMU
  35. def_bool y
  36. config STACK_GROWSUP
  37. def_bool y
  38. config GENERIC_LOCKBREAK
  39. bool
  40. default y
  41. depends on SMP && PREEMPT
  42. config RWSEM_GENERIC_SPINLOCK
  43. def_bool y
  44. config RWSEM_XCHGADD_ALGORITHM
  45. bool
  46. config ARCH_HAS_ILOG2_U32
  47. bool
  48. default n
  49. config ARCH_HAS_ILOG2_U64
  50. bool
  51. default n
  52. config GENERIC_BUG
  53. bool
  54. default y
  55. depends on BUG
  56. config GENERIC_HWEIGHT
  57. bool
  58. default y
  59. config GENERIC_CALIBRATE_DELAY
  60. bool
  61. default y
  62. config TIME_LOW_RES
  63. bool
  64. depends on SMP
  65. default y
  66. config HAVE_LATENCYTOP_SUPPORT
  67. def_bool y
  68. # unless you want to implement ACPI on PA-RISC ... ;-)
  69. config PM
  70. bool
  71. config STACKTRACE_SUPPORT
  72. def_bool y
  73. config NEED_DMA_MAP_STATE
  74. def_bool y
  75. config NEED_SG_DMA_LENGTH
  76. def_bool y
  77. config ISA_DMA_API
  78. bool
  79. config ARCH_MAY_HAVE_PC_FDC
  80. bool
  81. depends on BROKEN
  82. default y
  83. source "init/Kconfig"
  84. source "kernel/Kconfig.freezer"
  85. menu "Processor type and features"
  86. choice
  87. prompt "Processor type"
  88. default PA7000
  89. config PA7000
  90. bool "PA7000/PA7100"
  91. ---help---
  92. This is the processor type of your CPU. This information is
  93. used for optimizing purposes. In order to compile a kernel
  94. that can run on all 32-bit PA CPUs (albeit not optimally fast),
  95. you can specify "PA7000" here.
  96. Specifying "PA8000" here will allow you to select a 64-bit kernel
  97. which is required on some machines.
  98. config PA7100LC
  99. bool "PA7100LC"
  100. help
  101. Select this option for the PCX-L processor, as used in the
  102. 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
  103. D200, D210, D300, D310 and E-class
  104. config PA7200
  105. bool "PA7200"
  106. help
  107. Select this option for the PCX-T' processor, as used in the
  108. C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
  109. K100, K200, K210, K220, K400, K410 and K420
  110. config PA7300LC
  111. bool "PA7300LC"
  112. help
  113. Select this option for the PCX-L2 processor, as used in the
  114. 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
  115. D220, D230, D320 and D330.
  116. config PA8X00
  117. bool "PA8000 and up"
  118. help
  119. Select this option for PCX-U to PCX-W2 processors.
  120. endchoice
  121. # Define implied options from the CPU selection here
  122. config PA20
  123. def_bool y
  124. depends on PA8X00
  125. config PA11
  126. def_bool y
  127. depends on PA7000 || PA7100LC || PA7200 || PA7300LC
  128. config PREFETCH
  129. def_bool y
  130. depends on PA8X00 || PA7200
  131. config MLONGCALLS
  132. bool "Enable the -mlong-calls compiler option for big kernels"
  133. def_bool y if (!MODULES)
  134. depends on PA8X00
  135. help
  136. If you configure the kernel to include many drivers built-in instead
  137. as modules, the kernel executable may become too big, so that the
  138. linker will not be able to resolve some long branches and fails to link
  139. your vmlinux kernel. In that case enabling this option will help you
  140. to overcome this limit by using the -mlong-calls compiler option.
  141. Usually you want to say N here, unless you e.g. want to build
  142. a kernel which includes all necessary drivers built-in and which can
  143. be used for TFTP booting without the need to have an initrd ramdisk.
  144. Enabling this option will probably slow down your kernel.
  145. config 64BIT
  146. bool "64-bit kernel"
  147. depends on PA8X00
  148. help
  149. Enable this if you want to support 64bit kernel on PA-RISC platform.
  150. At the moment, only people willing to use more than 2GB of RAM,
  151. or having a 64bit-only capable PA-RISC machine should say Y here.
  152. Since there is no 64bit userland on PA-RISC, there is no point to
  153. enable this option otherwise. The 64bit kernel is significantly bigger
  154. and slower than the 32bit one.
  155. choice
  156. prompt "Kernel page size"
  157. default PARISC_PAGE_SIZE_4KB
  158. config PARISC_PAGE_SIZE_4KB
  159. bool "4KB"
  160. help
  161. This lets you select the page size of the kernel. For best
  162. performance, a page size of 16KB is recommended. For best
  163. compatibility with 32bit applications, a page size of 4KB should be
  164. selected (the vast majority of 32bit binaries work perfectly fine
  165. with a larger page size).
  166. 4KB For best 32bit compatibility
  167. 16KB For best performance
  168. 64KB For best performance, might give more overhead.
  169. If you don't know what to do, choose 4KB.
  170. config PARISC_PAGE_SIZE_16KB
  171. bool "16KB"
  172. depends on PA8X00
  173. config PARISC_PAGE_SIZE_64KB
  174. bool "64KB"
  175. depends on PA8X00
  176. endchoice
  177. config SMP
  178. bool "Symmetric multi-processing support"
  179. select USE_GENERIC_SMP_HELPERS
  180. ---help---
  181. This enables support for systems with more than one CPU. If you have
  182. a system with only one CPU, like most personal computers, say N. If
  183. you have a system with more than one CPU, say Y.
  184. If you say N here, the kernel will run on single and multiprocessor
  185. machines, but will use only one CPU of a multiprocessor machine. If
  186. you say Y here, the kernel will run on many, but not all,
  187. singleprocessor machines. On a singleprocessor machine, the kernel
  188. will run faster if you say N here.
  189. See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  190. available at <http://www.tldp.org/docs.html#howto>.
  191. If you don't know what to do here, say N.
  192. config HOTPLUG_CPU
  193. bool
  194. default y if SMP
  195. select HOTPLUG
  196. config ARCH_SELECT_MEMORY_MODEL
  197. def_bool y
  198. depends on 64BIT
  199. config ARCH_DISCONTIGMEM_ENABLE
  200. def_bool y
  201. depends on 64BIT
  202. config ARCH_FLATMEM_ENABLE
  203. def_bool y
  204. config ARCH_DISCONTIGMEM_DEFAULT
  205. def_bool y
  206. depends on ARCH_DISCONTIGMEM_ENABLE
  207. config NODES_SHIFT
  208. int
  209. default "3"
  210. depends on NEED_MULTIPLE_NODES
  211. source "kernel/Kconfig.preempt"
  212. source "kernel/Kconfig.hz"
  213. source "mm/Kconfig"
  214. config COMPAT
  215. def_bool y
  216. depends on 64BIT
  217. config SYSVIPC_COMPAT
  218. def_bool y
  219. depends on COMPAT && SYSVIPC
  220. config HPUX
  221. bool "Support for HP-UX binaries"
  222. depends on !64BIT
  223. config NR_CPUS
  224. int "Maximum number of CPUs (2-32)"
  225. range 2 32
  226. depends on SMP
  227. default "32"
  228. endmenu
  229. source "drivers/parisc/Kconfig"
  230. menu "Executable file formats"
  231. source "fs/Kconfig.binfmt"
  232. endmenu
  233. source "net/Kconfig"
  234. source "drivers/Kconfig"
  235. source "fs/Kconfig"
  236. source "arch/parisc/Kconfig.debug"
  237. source "security/Kconfig"
  238. source "crypto/Kconfig"
  239. source "lib/Kconfig"