Kconfig 6.9 KB

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