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