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