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