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