Kconfig 6.0 KB

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