Import 2.2.8pre2
[davej-history.git] / arch / arm / config.in
blob467218db714ed13d12f2bbafaa051d9216c7b018
2 # For a description of the syntax of this configuration file,
3 # see the Configure script.
5 mainmenu_name "Linux Kernel Configuration"
7 define_bool CONFIG_ARM y
9 mainmenu_option next_comment
10 comment 'System and processor type'
12 choice 'ARM system type'        \
13         "Archimedes             CONFIG_ARCH_ARC \
14          A5000                  CONFIG_ARCH_A5K \
15          RiscPC                 CONFIG_ARCH_RPC \
16          EBSA-110               CONFIG_ARCH_EBSA110 \
17          EBSA-285               CONFIG_ARCH_EBSA285 \
18          NexusPCI               CONFIG_ARCH_NEXUSPCI \
19          Corel-VNC              CONFIG_ARCH_VNC \
20          Tbox                   CONFIG_ARCH_TBOX" RiscPC
22 if [ "$CONFIG_ARCH_EBSA285" = "y" ]; then
23   bool '  Include support for CATS boards' CONFIG_CATS
26 # Select various configuration options depending on the machine type
27 #  Easy check for Acorn-style architectures
29 if [ "$CONFIG_ARCH_ARC" = "y" -o \
30      "$CONFIG_ARCH_A5K" = "y" -o \
31      "$CONFIG_ARCH_RPC" = "y" ]; then
32   define_bool CONFIG_ARCH_ACORN y
33 else
34   define_bool CONFIG_ARCH_ACORN n
37 if [ "$CONFIG_ARCH_TBOX" = "y" ]; then
38   define_bool CONFIG_BUS_I2C y
41 #  These machines always have PCI
43 if [ "$CONFIG_ARCH_NEXUSPCI" = "y" -o \
44      "$CONFIG_ARCH_VNC" = "y" ]; then
45   define_bool CONFIG_PCI y
47 if [ "$CONFIG_ARCH_EBSA285" = "y" ]; then
48   bool "PCI support" CONFIG_PCI
51 # These machines have ISA-DMA
52 if [ "$CONFIG_CATS" = "y" -o \
53      "$CONFIG_ARCH_VNC" = "y" ]; then
54   define_bool CONFIG_ISA_DMA y
55 else
56   define_bool CONFIG_ISA_DMA n
59 # Figure out whether this system uses 26-bit or 32-bit CPUs.  Nobody has
60 # ever built a machine that can take both, and now that ARM3 is obsolete
61 # nobody is likely to either.
63 if [ "$CONFIG_ARCH_ARC" = "y" -o \
64      "$CONFIG_ARCH_A5K" = "y" ]; then
65   define_bool CONFIG_CPU_32 n
66   define_bool CONFIG_CPU_26 y
67 else
68   define_bool CONFIG_CPU_32 y
69   define_bool CONFIG_CPU_26 n
72 # Now allow the user to choose a more precise CPU.  This is only used to set
73 # the flags we pass to GCC, not in any code.
75 choice 'Optimise for CPU'                               \
76         "ARM2           CONFIG_CPU_ARM2 \
77          ARM3           CONFIG_CPU_ARM3 \
78          ARM6           CONFIG_CPU_ARM6 \
79          ARM7           CONFIG_CPU_ARM7 \
80          SA110          CONFIG_CPU_SA110" ARM6
82 if [ "$CONFIG_CPU_26" = "y" ]; then
84 # For 26-bit CPUs, the page size changes with the amount of physical RAM!
85 # The default is 4MB but if the user has less they have to own up to it here.
87   choice 'Physical memory size'         \
88         "4MB+           CONFIG_PAGESIZE_32      \
89          2MB            CONFIG_PAGESIZE_16      \
90          1MB/512K       CONFIG_PAGESIZE_8" 4MB+
92 endmenu
94 mainmenu_option next_comment
95 comment 'Code maturity level options'
96 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
97 bool 'Use new compilation options (for GCC 2.8)' CONFIG_BINUTILS_NEW
98 bool 'Compile kernel with frame pointer (for useful debugging)' CONFIG_FRAME_POINTER
99 endmenu
101 mainmenu_option next_comment
102 comment 'Loadable module support'
103 bool 'Enable loadable module support' CONFIG_MODULES
104 if [ "$CONFIG_MODULES" = "y" ]; then
105   bool 'Set version information on all symbols for modules' CONFIG_MODVERSIONS
106   bool 'Kernel module loader' CONFIG_KMOD
108 endmenu
110 mainmenu_option next_comment
111 comment 'General setup'
112 bool 'Networking support' CONFIG_NET
113 bool 'System V IPC' CONFIG_SYSVIPC
114 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
115 bool 'Sysctl support' CONFIG_SYSCTL
116 tristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUT
117 tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
118 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
120 tristate 'Parallel port support' CONFIG_PARPORT
121 if [ "$CONFIG_PARPORT" != "n" ]; then
122   dep_tristate '  Archimedes hardware' CONFIG_PARPORT_ARC $CONFIG_PARPORT
123   dep_tristate '  PC-style hardware' CONFIG_PARPORT_PC $CONFIG_PARPORT
124 # If exactly one hardware type is selected then parport will optimise away
125 # support for loading any others.  Defeat this if the user is keen.
126   if [ "$CONFIG_PARPORT_PC" = "n" -o "$CONFIG_PARPORT_ARC" = "n" ]; then
127     if [ "$CONFIG_PARPORT_PC" != "n" -o "$CONFIG_PARPORT_ARC" != "n" ]; then
128       bool '   Support foreign hardware' CONFIG_PARPORT_OTHER
129     fi
130   fi
132 if [ "$CONFIG_ARCH_EBSA285" = "y" -o \
133      "$CONFIG_ARCH_EBSA110" = "y" -o \
134      "$CONFIG_ARCH_VNC" = "y" ]; then
135   string 'Initial kernel command string' CONFIG_CMDLINE
137 endmenu
139 source drivers/pnp/Config.in
141 source drivers/block/Config.in
143 if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
144   source drivers/acorn/block/Config.in
147 if [ "$CONFIG_VGA_CONSOLE" = "n" -a "$CONFIG_FB" = "n" ]; then
148   source arch/arm/drivers/char/Config.in
149 else
150   source drivers/char/Config.in
152 if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
153   source drivers/acorn/char/Config.in
156 if [ "$CONFIG_VT" = "y" ]; then
157   mainmenu_option next_comment
158   comment 'Console drivers'
159   if [ "$CONFIG_ARCH_ACORN" != "y" -a "$CONFIG_ARCH_EBSA110" != "y" ]; then
160     bool 'VGA text console' CONFIG_VGA_CONSOLE
161   fi
162   bool 'Support Frame buffer devices' CONFIG_FB
163   source drivers/video/Config.in
164   endmenu
167 if [ "$CONFIG_NET" = "y" ]; then
168   source net/Config.in
171 if [ "$CONFIG_NET" = "y" ]; then
172   mainmenu_option next_comment
173   comment 'Network device support'
175   bool 'Network device support?' CONFIG_NETDEVICES
176   if [ "$CONFIG_NETDEVICES" = "y" ]; then
177     source drivers/net/Config.in
178   fi
179   endmenu
182 mainmenu_option next_comment
183 comment 'SCSI support'
185 tristate 'SCSI support?' CONFIG_SCSI
187 if [ "$CONFIG_SCSI" != "n" ]; then
188   source drivers/scsi/Config.in
190 endmenu
192 if [ "$CONFIG_ARCH_ACORN" = "y" -o "$CONFIG_PCI" = "y" ]; then
193   mainmenu_option next_comment
194   comment 'Sound'
196   tristate 'Sound support' CONFIG_SOUND
197   if [ "$CONFIG_SOUND" != "n" ]; then
198     source drivers/sound/Config.in
199   fi
200   endmenu
203 # mainmenu_option next_comment
204 # comment 'ISDN subsystem'
206 # tristate 'ISDN support' CONFIG_ISDN
207 # if [ "$CONFIG_ISDN" != "n" ]; then
208 #   source drivers/isdn/Config.in
209 # fi
210 # endmenu
212 source fs/Config.in
214 mainmenu_option next_comment
215 comment 'Kernel hacking'
217 bool 'Debug kernel errors' CONFIG_DEBUG_ERRORS
218 #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
219 bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ
220 endmenu