1mainmenu_name "Kernel configuration of Linux for IA-64 machines"
2
3mainmenu_option next_comment
4 comment 'Code maturity level options'
5 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
6endmenu
7
8mainmenu_option next_comment
9comment 'Loadable module support'
10bool 'Enable loadable module support' CONFIG_MODULES
11if [ "$CONFIG_MODULES" = "y" ]; then
12   bool '  Set version information on all module symbols' CONFIG_MODVERSIONS
13   bool '  Kernel module loader' CONFIG_KMOD
14fi
15endmenu
16
17mainmenu_option next_comment
18comment 'General setup'
19
20define_bool CONFIG_IA64 y
21
22define_bool CONFIG_ISA n
23define_bool CONFIG_EISA n
24define_bool CONFIG_MCA n
25define_bool CONFIG_SBUS n
26define_bool CONFIG_RWSEM_GENERIC_SPINLOCK n
27define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM y
28
29choice 'IA-64 processor type' \
30	"Itanium		CONFIG_ITANIUM \
31	 Itanium-2		CONFIG_MCKINLEY" Itanium
32
33choice 'IA-64 system type'					\
34	"generic		CONFIG_IA64_GENERIC		\
35	 DIG-compliant		CONFIG_IA64_DIG			\
36	 HP			CONFIG_IA64_HP_ZX1		\
37	 SGI-SN2		CONFIG_IA64_SGI_SN2		\
38	 Ski-simulator		CONFIG_IA64_HP_SIM" generic
39
40if [ "$CONFIG_ITANIUM" = "y" ]; then
41  choice 'Kernel page size'						\
42	"4KB			CONFIG_IA64_PAGE_SIZE_4KB		\
43	 8KB			CONFIG_IA64_PAGE_SIZE_8KB		\
44	 16KB			CONFIG_IA64_PAGE_SIZE_16KB" 16KB
45else
46  choice 'Kernel page size'						\
47	"4KB			CONFIG_IA64_PAGE_SIZE_4KB		\
48	 8KB			CONFIG_IA64_PAGE_SIZE_8KB		\
49	 16KB			CONFIG_IA64_PAGE_SIZE_16KB		\
50	 64KB			CONFIG_IA64_PAGE_SIZE_64KB" 16KB
51fi
52
53if [ "$CONFIG_ITANIUM" = "y" ]; then
54	define_bool CONFIG_IA64_BRL_EMU y
55	bool '  Enable Itanium B-step specific code' CONFIG_ITANIUM_BSTEP_SPECIFIC
56	define_int CONFIG_IA64_L1_CACHE_SHIFT 6 # align cache-sensitive data to 64 bytes
57fi
58
59if [ "$CONFIG_MCKINLEY" = "y" ]; then
60	define_int CONFIG_IA64_L1_CACHE_SHIFT 7
61fi
62
63if [ "$CONFIG_IA64_GENERIC" = "y" -o "$CONFIG_IA64_DIG" = "y" -o "$CONFIG_IA64_HP_ZX1" = "y" ]; then
64	bool '  Enable NUMA support' CONFIG_NUMA
65	if [ "$CONFIG_NUMA" = "y" ]; then
66	  define_bool CONFIG_DISCONTIGMEM y
67	fi
68	bool '  Enable IA-64 Machine Check Abort' CONFIG_IA64_MCA
69	define_bool CONFIG_PM y
70fi
71
72if [ "$CONFIG_IA64_SGI_SN2" = "y" ]; then
73	define_bool CONFIG_IA64_SGI_SN y
74	bool '  Enable extra debugging code' CONFIG_IA64_SGI_SN_DEBUG
75	bool '  Enable SGI Medusa Simulator Support' CONFIG_IA64_SGI_SN_SIM
76	bool '  Enable protocol mode for the L1 console' CONFIG_SERIAL_SGI_L1_PROTOCOL
77	define_bool CONFIG_HWGFS_FS y
78	define_bool CONFIG_DISCONTIGMEM y
79	define_bool CONFIG_IA64_MCA y
80	define_bool CONFIG_NUMA y
81	define_bool CONFIG_PERCPU_IRQ y
82	tristate '  PCIBA support' CONFIG_PCIBA
83fi
84
85define_bool CONFIG_KCORE_ELF y	# On IA-64, we always want an ELF /proc/kcore.
86
87define_int CONFIG_FORCE_MAX_ZONEORDER 19
88
89if [ "$CONFIG_HUGETLB_PAGE" = "y" ]; then
90	if [ "$CONFIG_MCKINLEY" = "y" ]; then
91		choice '    IA-64 Huge TLB Page Size'		\
92			"4GB	CONFIG_HUGETLB_PAGE_SIZE_4GB	\
93			 1GB	CONFIG_HUGETLB_PAGE_SIZE_1GB	\
94                         256MB	CONFIG_HUGETLB_PAGE_SIZE_256MB	\
95			 64MB	CONFIG_HUGETLB_PAGE_SIZE_64MB	\
96			 16MB	CONFIG_HUGETLB_PAGE_SIZE_16MB	\
97			 4MB	CONFIG_HUGETLB_PAGE_SIZE_4MB	\
98			 1MB	CONFIG_HUGETLB_PAGE_SIZE_1MB	\
99			 256KB	CONFIG_HUGETLB_PAGE_SIZE_256KB"	16MB
100	else
101		choice '    IA-64 Huge TLB Page Size'		\
102			"256MB	CONFIG_HUGETLB_PAGE_SIZE_256MB	\
103			 64MB	CONFIG_HUGETLB_PAGE_SIZE_64MB	\
104			 16MB	CONFIG_HUGETLB_PAGE_SIZE_16MB	\
105			 4MB	CONFIG_HUGETLB_PAGE_SIZE_4MB	\
106			 1MB	CONFIG_HUGETLB_PAGE_SIZE_1MB	\
107			 256KB	CONFIG_HUGETLB_PAGE_SIZE_256KB"	16MB
108	fi
109fi
110
111bool 'Use PAL_HALT_LIGHT in idle loop' CONFIG_IA64_PAL_IDLE
112bool 'SMP support' CONFIG_SMP
113if [ "$CONFIG_SMP" = "y" ]; then
114   int  'Maximum number of CPUs (2-32)' CONFIG_NR_CPUS 32
115fi
116
117bool 'Support running of Linux/x86 binaries' CONFIG_IA32_SUPPORT
118bool 'Performance monitor support' CONFIG_PERFMON
119tristate '/proc/pal support' CONFIG_IA64_PALINFO
120tristate '/proc/efi/vars support' CONFIG_EFI_VARS
121
122bool 'Networking support' CONFIG_NET
123bool 'System V IPC' CONFIG_SYSVIPC
124bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
125bool 'Sysctl support' CONFIG_SYSCTL
126bool 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
127tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
128
129if [ "$CONFIG_IA64_HP_SIM" = "n" ]; then
130  define_bool CONFIG_ACPI y
131  define_bool CONFIG_ACPI_EFI y
132  define_bool CONFIG_ACPI_INTERPRETER y
133  define_bool CONFIG_ACPI_KERNEL_CONFIG y
134
135  source drivers/acpi/Config.in
136
137  bool 'PCI support' CONFIG_PCI
138  source drivers/pci/Config.in
139
140  bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
141  if [ "$CONFIG_HOTPLUG" = "y" ]; then
142     source drivers/hotplug/Config.in
143     source drivers/pcmcia/Config.in
144  else
145     define_bool CONFIG_PCMCIA n
146  fi
147
148  source drivers/parport/Config.in
149fi # !HP_SIM
150
151endmenu
152
153if [ "$CONFIG_NET" = "y" ]; then
154  source net/Config.in
155fi
156
157if [ "$CONFIG_IA64_HP_SIM" = "n" ]; then
158  source drivers/mtd/Config.in
159  source drivers/pnp/Config.in
160  source drivers/block/Config.in
161  source drivers/ieee1394/Config.in
162  source drivers/message/i2o/Config.in
163  source drivers/md/Config.in
164  source drivers/message/fusion/Config.in
165
166  mainmenu_option next_comment
167  comment 'ATA/IDE/MFM/RLL support'
168
169  tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
170
171  if [ "$CONFIG_IDE" != "n" ]; then
172    source drivers/ide/Config.in
173  else
174    define_bool CONFIG_BLK_DEV_HD n
175  fi
176  endmenu
177else # HP_SIM
178  mainmenu_option next_comment
179  comment 'Block devices'
180  tristate 'Loopback device support' CONFIG_BLK_DEV_LOOP
181  dep_tristate 'Network block device support' CONFIG_BLK_DEV_NBD $CONFIG_NET
182
183  tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
184  if [ "$CONFIG_BLK_DEV_RAM" = "y" -o "$CONFIG_BLK_DEV_RAM" = "m" ]; then
185    int '  Default RAM disk size' CONFIG_BLK_DEV_RAM_SIZE 4096
186  fi
187  endmenu
188fi # HP_SIM
189
190mainmenu_option next_comment
191comment 'SCSI support'
192
193tristate 'SCSI support' CONFIG_SCSI
194
195if [ "$CONFIG_SCSI" != "n" ]; then
196  source drivers/scsi/Config.in
197fi
198endmenu
199
200if [ "$CONFIG_IA64_HP_SIM" = "n" ]; then
201  if [ "$CONFIG_NET" = "y" ]; then
202    mainmenu_option next_comment
203    comment 'Network device support'
204
205    bool 'Network device support' CONFIG_NETDEVICES
206    if [ "$CONFIG_NETDEVICES" = "y" ]; then
207      source drivers/net/Config.in
208      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
209         source drivers/atm/Config.in
210      fi
211    fi
212    endmenu
213  fi
214
215  source net/ax25/Config.in
216
217  mainmenu_option next_comment
218  comment 'ISDN subsystem'
219
220  tristate 'ISDN support' CONFIG_ISDN
221  if [ "$CONFIG_ISDN" != "n" ]; then
222    source drivers/isdn/Config.in
223  fi
224  endmenu
225
226  mainmenu_option next_comment
227  comment 'CD-ROM drivers (not for SCSI or IDE/ATAPI drives)'
228
229  bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
230  if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
231    source drivers/cdrom/Config.in
232  fi
233  endmenu
234fi # !HP_SIM
235
236#
237# input before char - char/joystick depends on it. As does USB.
238#
239source drivers/input/Config.in
240source drivers/char/Config.in
241
242#source drivers/misc/Config.in
243
244source drivers/media/Config.in
245
246source fs/Config.in
247
248if [ "$CONFIG_VT" = "y" ]; then
249  mainmenu_option next_comment
250  comment 'Console drivers'
251  bool 'VGA text console' CONFIG_VGA_CONSOLE
252  source drivers/video/Config.in
253  if [ "$CONFIG_FB" = "y" ]; then
254    define_bool CONFIG_PCI_CONSOLE y
255  fi
256  endmenu
257fi
258
259if [ "$CONFIG_IA64_HP_SIM" = "n" ]; then
260  mainmenu_option next_comment
261  comment 'Sound'
262
263  tristate 'Sound card support' CONFIG_SOUND
264  if [ "$CONFIG_SOUND" != "n" ]; then
265    source drivers/sound/Config.in
266  fi
267  endmenu
268
269  source drivers/usb/Config.in
270
271  source crypto/Config.in
272  source lib/Config.in
273
274  if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
275     source net/bluetooth/Config.in
276  fi
277fi # !HP_SIM
278
279if [ "$CONFIG_IA64_HP_SIM" != "n" -o "$CONFIG_IA64_GENERIC" != "n" ]; then
280  mainmenu_option next_comment
281  comment 'Simulated drivers'
282
283  bool 'Simulated Ethernet ' CONFIG_HP_SIMETH
284  bool 'Simulated serial driver support' CONFIG_HP_SIMSERIAL
285  if [ "$CONFIG_SCSI" != "n" ]; then
286    bool 'Simulated SCSI disk' CONFIG_HP_SIMSCSI
287  fi
288  endmenu
289fi
290
291
292mainmenu_option next_comment
293comment 'Kernel hacking'
294
295choice 'Physical memory granularity'				\
296	"16MB			CONFIG_IA64_GRANULE_16MB	\
297	 64MB			CONFIG_IA64_GRANULE_64MB" 64MB
298
299bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
300if [ "$CONFIG_DEBUG_KERNEL" != "n" ]; then
301   bool '  Print possible IA64 hazards to console' CONFIG_IA64_PRINT_HAZARDS
302   bool '  Disable VHPT' CONFIG_DISABLE_VHPT
303   bool '  Magic SysRq key' CONFIG_MAGIC_SYSRQ
304
305   bool '  Early printk support' CONFIG_IA64_EARLY_PRINTK
306   if [ "$CONFIG_IA64_EARLY_PRINTK" != "n" ]; then
307      bool '    Early printk on MMIO serial port' CONFIG_IA64_EARLY_PRINTK_UART
308      if [ "$CONFIG_IA64_EARLY_PRINTK_UART" != "n" ]; then
309         hex '      UART MMIO base address' CONFIG_IA64_EARLY_PRINTK_UART_BASE 0
310      fi
311      bool '    Early printk on VGA' CONFIG_IA64_EARLY_PRINTK_VGA
312   fi
313   bool '  Debug memory allocations' CONFIG_DEBUG_SLAB
314   bool '  Spinlock debugging' CONFIG_DEBUG_SPINLOCK
315   bool '  Turn on compare-and-exchange bug checking (slow!)' CONFIG_IA64_DEBUG_CMPXCHG
316   bool '  Turn on irq debug checks (slow!)' CONFIG_IA64_DEBUG_IRQ
317fi
318
319int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0
320
321endmenu
322