2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-language.txt.
5 mainmenu_name "Linux/SH64 Kernel Configuration"
7 define_bool CONFIG_SUPERH y
9 define_bool CONFIG_UID16 y
10 define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y
11 define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
13 mainmenu_option next_comment
14 comment 'Code maturity level options'
15 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
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
27 mainmenu_option next_comment
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
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
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
49 "Little-Endian CONFIG_LITTLE_ENDIAN \
50 Big-Endian CONFIG_BIG_ENDIAN" Little-Endian
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
57 bool 'Fixup misaligned loads/stores occurring in user mode' CONFIG_SH64_USER_MISALIGNED_FIXUP
59 # Use 32-bit addressing for now.
61 # (CACHED) assumes non-identity.
66 comment 'Memory options'
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
75 comment 'Cache options'
76 bool 'DCache Disabling' CONFIG_DCACHE_DISABLED
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
85 bool 'ICache Disabling' CONFIG_ICACHE_DISABLED
89 # CPU Subtype specific options (errata and such)
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
98 mainmenu_option next_comment
99 comment 'General setup'
101 define_bool CONFIG_ISA n
102 define_bool CONFIG_SBUS n
104 bool 'Networking support' CONFIG_NET
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
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
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
126 if [ "$CONFIG_PCI_GODIRECT" = "y" -o "$CONFIG_PCI_GOANY" = "y" ]; then
127 define_bool CONFIG_PCI_DIRECT y
131 source drivers/pci/Config.in
133 # bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
135 define_bool CONFIG_HOTPLUG n
137 if [ "$CONFIG_HOTPLUG" = "y" ] ; then
138 source drivers/pcmcia/Config.in
140 define_bool CONFIG_PCMCIA n
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
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
153 bool 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
154 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
156 bool 'Select task to kill on out of memory condition' CONFIG_OOM_KILLER
158 # source drivers/parport/Config.in
162 # source drivers/mtd/Config.in
164 source drivers/block/Config.in
166 if [ "$CONFIG_NET" = "y" ]; then
170 mainmenu_option next_comment
171 comment 'ATA/IDE/MFM/RLL support'
173 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
175 if [ "$CONFIG_IDE" != "n" ]; then
176 source drivers/ide/Config.in
178 define_bool CONFIG_BLK_DEV_HD n
182 mainmenu_option next_comment
183 comment 'SCSI support'
185 tristate 'SCSI support' CONFIG_SCSI
186 ##define_bool CONFIG_SCSI n
188 if [ "$CONFIG_SCSI" != "n" ]; then
189 source drivers/scsi/Config.in
193 # source drivers/ieee1394/Config.in
195 if [ "$CONFIG_NET" = "y" ]; then
196 mainmenu_option next_comment
197 comment 'Network device support'
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
210 # input before char - char/joystick depends on it. As does USB.
212 source drivers/input/Config.in
214 mainmenu_option next_comment
215 comment 'Character devices'
217 bool 'Virtual terminal' CONFIG_VT
219 if [ "$CONFIG_VT" = "y" ]; then
220 bool ' Support for console on virtual terminal' CONFIG_VT_CONSOLE
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
228 if [ "$CONFIG_SERIAL" = "y" -o "$CONFIG_SH_SCI" = "y" ]; then
229 bool ' Support for console on serial port' CONFIG_SERIAL_CONSOLE
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
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
243 dep_tristate 'Support for user-space parallel port device drivers' CONFIG_PPDEV $CONFIG_PARPORT
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
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
262 if [ "$CONFIG_HOTPLUG" = "y" -a "$CONFIG_PCMCIA" != "n" ]; then
263 source drivers/char/pcmcia/Config.in
268 source drivers/media/Config.in
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
284 mainmenu_option next_comment
287 tristate 'Sound card support' CONFIG_SOUND
288 # define_bool CONFIG_SOUND n
290 if [ "$CONFIG_SOUND" != "n" ]; then
291 source drivers/sound/Config.in
295 source drivers/usb/Config.in
297 mainmenu_option next_comment
298 comment 'Kernel hacking'
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
307 int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0
312 source crypto/Config.in