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