more changes on original files
[linux-2.4.git] / arch / sh64 / config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-language.txt.
4 #
5 mainmenu_name "Linux/SH64 Kernel Configuration"
6
7 define_bool CONFIG_SUPERH y
8
9 define_bool CONFIG_UID16 y
10 define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y
11 define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
12
13 mainmenu_option next_comment
14 comment 'Code maturity level options'
15 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
16 endmenu
17
18 mainmenu_option next_comment
19 comment 'Loadable module support'
20 bool 'Enable loadable module support' CONFIG_MODULES
21 if [ "$CONFIG_MODULES" = "y" ]; then
22    bool '  Set version information on all module symbols' CONFIG_MODVERSIONS
23    bool '  Kernel module loader' CONFIG_KMOD
24 fi
25 endmenu
26
27 mainmenu_option next_comment
28 comment 'System type'
29 choice 'SuperH system type'                                     \
30         "Generic                CONFIG_SH_GENERIC               \
31          Simulator              CONFIG_SH_SIMULATOR             \
32          Cayman                 CONFIG_SH_CAYMAN                \
33          ST50-Harp              CONFIG_SH_HARP" Simulator
34 endmenu
35
36 mainmenu_option next_comment
37 comment 'Processor type and features'
38 comment 'Processor options'
39 choice 'Processor family'                                       \
40         "SH-5                   CONFIG_CPU_SH5" SH-5
41
42 if [ "$CONFIG_CPU_SH5" = "y" ]; then
43    choice 'Processor type' \
44         "SH5-101                CONFIG_CPU_SUBTYPE_SH5_101      \
45          SH5-103                CONFIG_CPU_SUBTYPE_SH5_103" SH5-101
46 fi
47
48 choice 'Endianness' \
49        "Little-Endian           CONFIG_LITTLE_ENDIAN            \
50         Big-Endian              CONFIG_BIG_ENDIAN" Little-Endian
51
52 bool 'Flush floating point denorms to zero' CONFIG_SH64_FPU_DENORM_FLUSH
53 choice 'Page table levels' \
54         "2                      CONFIG_SH64_PGTABLE_2_LEVEL \
55          3                      CONFIG_SH64_PGTABLE_3_LEVEL" 2
56
57 bool 'Fixup misaligned loads/stores occurring in user mode' CONFIG_SH64_USER_MISALIGNED_FIXUP
58
59 # Use 32-bit addressing for now.
60 # EMI based.
61 # (CACHED) assumes non-identity.
62
63 #
64 # Memory options
65 #
66 comment 'Memory options'
67
68 int 'Memory size (in MB)' CONFIG_MEMORY_SIZE_IN_MB 64
69 hex 'Cached Area Offset' CONFIG_CACHED_MEMORY_OFFSET 20000000
70 hex 'Physical memory start address' CONFIG_MEMORY_START 80000000
71
72 #
73 # Cache options
74 #
75 comment 'Cache options'
76 bool 'DCache Disabling' CONFIG_DCACHE_DISABLED
77
78 if [ "$CONFIG_SH_SIMULATOR" != "y" -a \
79      "$CONFIG_DCACHE_DISABLED" != "y" ]; then
80      choice 'DCache mode'                                 \
81          "Write-back             CONFIG_DCACHE_WRITE_BACK \
82           Write-through          CONFIG_DCACHE_WRITE_THROUGH" Write-back
83 fi
84
85 bool 'ICache Disabling' CONFIG_ICACHE_DISABLED
86
87
88 #
89 # CPU Subtype specific options (errata and such)
90 #
91 comment 'CPU Subtype specific options'
92 if [ "$CONFIG_CPU_SUBTYPE_SH5_101" = "y" ]; then
93   bool "Include workaround for SH5-101 cut2 silicon defect ID2815" CONFIG_SH64_ID2815_WORKAROUND
94 fi
95
96 endmenu
97
98 mainmenu_option next_comment
99 comment 'General setup'
100
101 define_bool CONFIG_ISA n
102 define_bool CONFIG_SBUS n
103
104 bool 'Networking support' CONFIG_NET
105
106 bool 'PCI support' CONFIG_PCI
107 if [ "$CONFIG_SH_SIMULATOR" = "y" ]; then
108   define_bool CONFIG_PCI n
109   define_bool CONFIG_NET n
110 fi
111
112 if [ "$CONFIG_SH_HARP" = "y" ]; then
113   define_bool CONFIG_PCI n
114   define_bool CONFIG_NET y
115   define_bool CONFIG_NET_PCI y
116 fi
117
118 if [ "$CONFIG_PCI" = "y" ]; then
119    choice '  PCI access mode' \
120         "BIOS           CONFIG_PCI_GOBIOS       \
121          Direct         CONFIG_PCI_GODIRECT     \
122          Any            CONFIG_PCI_GOANY"       Any
123    if [ "$CONFIG_PCI_GOBIOS" = "y" -o "$CONFIG_PCI_GOANY" = "y" ]; then
124       define_bool CONFIG_PCI_BIOS y
125    fi
126    if [ "$CONFIG_PCI_GODIRECT" = "y" -o "$CONFIG_PCI_GOANY" = "y" ]; then
127       define_bool CONFIG_PCI_DIRECT y
128    fi
129 fi
130
131 source drivers/pci/Config.in
132
133 # bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
134
135 define_bool CONFIG_HOTPLUG n
136
137 if [ "$CONFIG_HOTPLUG" = "y" ] ; then
138    source drivers/pcmcia/Config.in
139 else
140    define_bool CONFIG_PCMCIA n
141 fi
142
143 bool 'System V IPC' CONFIG_SYSVIPC
144 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
145 # bool 'Sysctl support' CONFIG_SYSCTL
146 define_bool CONFIG_SYSCTL y
147
148 if [ "$CONFIG_PROC_FS" = "y" ]; then
149    choice 'Kernel core (/proc/kcore) format' \
150         "ELF            CONFIG_KCORE_ELF        \
151          A.OUT          CONFIG_KCORE_AOUT" ELF
152 fi
153 bool 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
154 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
155
156 bool 'Select task to kill on out of memory condition' CONFIG_OOM_KILLER
157
158 # source drivers/parport/Config.in
159
160 endmenu
161
162 # source drivers/mtd/Config.in
163
164 source drivers/block/Config.in
165
166 if [ "$CONFIG_NET" = "y" ]; then
167    source net/Config.in
168 fi
169
170 mainmenu_option next_comment
171 comment 'ATA/IDE/MFM/RLL support'
172
173 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
174
175 if [ "$CONFIG_IDE" != "n" ]; then
176   source drivers/ide/Config.in
177 else
178    define_bool CONFIG_BLK_DEV_HD n
179 fi
180 endmenu
181
182 mainmenu_option next_comment
183 comment 'SCSI support'
184
185  tristate 'SCSI support' CONFIG_SCSI
186 ##define_bool CONFIG_SCSI n
187
188 if [ "$CONFIG_SCSI" != "n" ]; then
189    source drivers/scsi/Config.in
190 fi
191 endmenu
192
193 # source drivers/ieee1394/Config.in
194
195 if [ "$CONFIG_NET" = "y" ]; then
196    mainmenu_option next_comment
197    comment 'Network device support'
198
199    bool 'Network device support' CONFIG_NETDEVICES
200    if [ "$CONFIG_NETDEVICES" = "y" ]; then
201       source drivers/net/Config.in
202       if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
203          source drivers/atm/Config.in
204       fi
205    fi
206    endmenu
207 fi
208
209 #
210 # input before char - char/joystick depends on it. As does USB.
211 #
212 source drivers/input/Config.in
213
214 mainmenu_option next_comment
215 comment 'Character devices'
216
217 bool 'Virtual terminal' CONFIG_VT
218
219 if [ "$CONFIG_VT" = "y" ]; then
220    bool '  Support for console on virtual terminal' CONFIG_VT_CONSOLE
221 fi
222
223
224 # insert for SCIF serial console support 
225 tristate 'Serial (SCI, SCIF) support' CONFIG_SH_SCI
226 tristate 'Serial (8250, 16450, 16550 or compatible) support' CONFIG_SERIAL
227
228 if [ "$CONFIG_SERIAL" = "y" -o "$CONFIG_SH_SCI" = "y" ]; then
229    bool '  Support for console on serial port' CONFIG_SERIAL_CONSOLE
230 fi
231
232
233 comment 'Unix 98 PTY support'
234 bool 'Unix98 PTY support' CONFIG_UNIX98_PTYS
235 if [ "$CONFIG_UNIX98_PTYS" = "y" ]; then
236    int 'Maximum number of Unix98 PTYs in use (0-2048)' CONFIG_UNIX98_PTY_COUNT 256
237 fi
238 if [ "$CONFIG_PARPORT" != "n" ]; then
239    dep_tristate 'Parallel printer support' CONFIG_PRINTER $CONFIG_PARPORT
240    if [ "$CONFIG_PRINTER" != "n" ]; then
241       bool '  Support for console on line printer' CONFIG_LP_CONSOLE
242    fi
243    dep_tristate 'Support for user-space parallel port device drivers' CONFIG_PPDEV $CONFIG_PARPORT
244 fi
245
246 bool 'Heartbeat LED' CONFIG_HEARTBEAT
247 dep_bool 'Support for HDSP-253 LED' CONFIG_HDSP253_LED $CONFIG_SH_CAYMAN
248 tristate 'DMA controller (DMAC) support' CONFIG_SH_DMA
249 bool 'PS/2 mouse (aka "auxiliary device") support' CONFIG_PSMOUSE
250
251 mainmenu_option next_comment
252 comment 'Watchdog Cards'
253 bool 'Watchdog Timer Support' CONFIG_WATCHDOG
254 if [ "$CONFIG_WATCHDOG" != "n" ]; then
255    bool '  Disable watchdog shutdown on close' CONFIG_WATCHDOG_NOWAYOUT
256    dep_tristate '  SuperH Watchdog' CONFIG_SH_WDT $CONFIG_SUPERH
257 fi
258 endmenu
259
260 endmenu
261
262 if [ "$CONFIG_HOTPLUG" = "y" -a "$CONFIG_PCMCIA" != "n" ]; then
263    source drivers/char/pcmcia/Config.in
264 fi
265
266 source fs/Config.in
267
268 source drivers/media/Config.in
269
270
271 if [ "$CONFIG_VT" = "y" ]; then
272    mainmenu_option next_comment
273    comment 'Console drivers'
274    bool 'VGA text console' CONFIG_VGA_CONSOLE
275    bool 'Video mode selection support' CONFIG_VIDEO_SELECT
276    if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
277       tristate 'MDA text console (dual-headed) (EXPERIMENTAL)' CONFIG_MDA_CONSOLE
278       source drivers/video/Config.in
279    fi
280    endmenu
281 fi
282
283
284 mainmenu_option next_comment
285 comment 'Sound'
286
287 tristate 'Sound card support' CONFIG_SOUND
288 # define_bool CONFIG_SOUND n
289
290 if [ "$CONFIG_SOUND" != "n" ]; then
291    source drivers/sound/Config.in
292 fi
293 endmenu
294
295 source drivers/usb/Config.in
296
297 mainmenu_option next_comment
298 comment 'Kernel hacking'
299
300 bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ
301 bool 'GDB Stub kernel debug' CONFIG_DEBUG_KERNEL_WITH_GDB_STUB
302 bool "Debug: audit page tables on return from syscall/exception/interrupt" CONFIG_SH64_PAGE_TABLE_AUDIT
303 dep_bool "Debug: report TLB fill/purge activity through /proc/tlb" CONFIG_SH64_PROC_TLB $CONFIG_PROC_FS
304 dep_bool "Debug: report ASIDS through /proc/asids" CONFIG_SH64_PROC_ASIDS $CONFIG_PROC_FS
305 bool "Debug: set SR.WATCH to enable hardware watchpoints and trace" CONFIG_SH64_SR_WATCH
306
307 int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0
308
309 endmenu
310
311 source lib/Config.in
312 source crypto/Config.in
313