Kconfig 6.1 KB

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