Import 2.3.49pre2
[davej-history.git] / arch / arm / config.in
blob5e9cc8bfc72bb7f1c8c45828c237490878563526
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 define_bool CONFIG_UID16 y
11 mainmenu_option next_comment
12 comment 'Code maturity level options'
13 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
14 endmenu
16 mainmenu_option next_comment
17 comment 'System and processor type'
19 choice 'ARM system type'        \
20         "Archimedes             CONFIG_ARCH_ARC \
21          A5000                  CONFIG_ARCH_A5K \
22          RiscPC                 CONFIG_ARCH_RPC \
23          EBSA-110               CONFIG_ARCH_EBSA110 \
24          FootBridge-based       CONFIG_FOOTBRIDGE" RiscPC
25 #        SA1100-based           CONFIG_ARCH_SA1100
27 if [ "$CONFIG_FOOTBRIDGE" = "y" ]; then
28    bool 'FootBridge in HOST mode' CONFIG_HOST_FOOTBRIDGE
29    if [ "$CONFIG_HOST_FOOTBRIDGE" = "y" ]; then
30       define_bool CONFIG_ADDIN_FOOTBRIDGE n
31    else
32       define_bool CONFIG_ADDIN_FOOTBRIDGE y
33    fi
36 if [ "$CONFIG_HOST_FOOTBRIDGE" = "y" ]; then
37    bool '  Include support for EBSA285' CONFIG_ARCH_EBSA285
38    bool '  Include support for CATS' CONFIG_CATS
39    bool '  Include support for NetWinder' CONFIG_ARCH_NETWINDER
42 if [ "$CONFIG_ADDIN_FOOTBRIDGE" = "y" ]; then
43    # If we get any other footbridge-based plug-in boards, then
44    # add your architecture options here
45    define_bool CONFIG_ARCH_CO285 y
48 if [ "$CONFIG_ARCH_SA1100" = "y" ]; then
49    choice 'SA1100 implementation' \
50            "Brutus              CONFIG_SA1100_BRUTUS \
51             Empeg               CONFIG_SA1100_EMPEG \
52             Itsy                CONFIG_SA1100_ITSY \
53             LART                CONFIG_SA1100_LART \
54             PLEB                CONFIG_SA1100_PLEB \
55             Victor              CONFIG_SA1100_VICTOR \
56             Tifon               CONFIG_SA1100_TIFON" Brutus
60 # Select various configuration options depending on the machine type
61 #  Easy check for Acorn-style architectures
63 if [ "$CONFIG_ARCH_ARC" = "y" -o \
64      "$CONFIG_ARCH_A5K" = "y" -o \
65      "$CONFIG_ARCH_RPC" = "y" ]; then
66    define_bool CONFIG_ARCH_ACORN y
67 else
68    define_bool CONFIG_ARCH_ACORN n
72 # Figure out whether this system uses 26-bit or 32-bit CPUs.  Nobody has
73 # ever built a machine that can take both, and now that ARM3 is obsolete
74 # nobody is likely to either.
76 if [ "$CONFIG_ARCH_ARC" = "y" -o \
77      "$CONFIG_ARCH_A5K" = "y" ]; then
78    define_bool CONFIG_CPU_32 n
79    define_bool CONFIG_CPU_26 y
81    #
82    # Select memory size
83    #
84    bool '2MB physical memory' CONFIG_PAGESIZE_16
85 else
86    define_bool CONFIG_CPU_32 y
87    define_bool CONFIG_CPU_26 n
89    #
90    # Select CPU and optimisation dependent on architecture
91    #
92    if [ "$CONFIG_ARCH_EBSA110" = "y" -o \
93         "$CONFIG_ARCH_SA1100" = "y" -o \
94         "$CONFIG_FOOTBRIDGE" = "y" -o \
95         "$CONFIG_ARCH_TBOX" = "y" -o \
96         "$CONFIG_ARCH_SHARK" = "y" -o \
97         "$CONFIG_ARCH_NEXUSPCI" = "y" ]; then
98       define_bool CONFIG_CPU_32v4 y
99       if [ "$CONFIG_ARCH_SA1100" = "y" ]; then
100          define_bool CONFIG_CPU_SA1100 y
101       else
102          define_bool CONFIG_CPU_SA110 y
103       fi
104    else
105       if [ "$CONFIG_ARCH_RPC" = "y" ]; then
106          define_bool CONFIG_CPU_32v3 y
107          bool 'Support ARM610' CONFIG_CPU_ARM6
108          bool 'Support ARM710' CONFIG_CPU_ARM7
109          bool 'Support StrongARM110' CONFIG_CPU_SA110
110       fi
111    fi
115 #  These machines always have PCI
117 if [ "$CONFIG_ARCH_NEXUSPCI" = "y" -o \
118      "$CONFIG_HOST_FOOTBRIDGE" = "y" ]; then
119    define_bool CONFIG_PCI y
120    source drivers/pci/Config.in
124 # These machines have ISA-DMA
126 if [ "$CONFIG_CATS" = "y" -o \
127      "$CONFIG_ARCH_SHARK" = "y" -o \
128      "$CONFIG_ARCH_NETWINDER" = "y" ]; then
129    define_bool CONFIG_ISA_DMA y
130 else
131    define_bool CONFIG_ISA_DMA n
134 if [ "$CONFIG_CPU_32" = "y" -a "$CONFIG_ARCH_EBSA110" != "y" ]; then
135    bool 'Kernel-mode alignment trap handler' CONFIG_ALIGNMENT_TRAP
137 #bool 'Split text into discardable sections' CONFIG_TEXT_SECTIONS
138 endmenu
140 mainmenu_option next_comment
141 comment 'Loadable module support'
142 bool 'Enable loadable module support' CONFIG_MODULES
143 if [ "$CONFIG_MODULES" = "y" ]; then
144    bool '  Set version information on all symbols for modules' CONFIG_MODVERSIONS
145    bool '  Kernel module loader' CONFIG_KMOD
147 endmenu
149 mainmenu_option next_comment
150 comment 'General setup'
151 bool 'Networking support' CONFIG_NET
152 bool 'System V IPC' CONFIG_SYSVIPC
153 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
154 bool 'Sysctl support' CONFIG_SYSCTL
155 tristate 'Math emulation' CONFIG_NWFPE
156 if [ "$CONFIG_PROC_FS" = "y" ]; then
157    choice 'Kernel core (/proc/kcore) format' \
158         "ELF            CONFIG_KCORE_ELF        \
159          A.OUT          CONFIG_KCORE_AOUT" ELF
161 tristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUT
162 tristate 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
163 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
164 if [ "$CONFIG_CPU_32" = "y" ]; then
165    tristate 'RISC OS personality' CONFIG_ARTHUR
168 source drivers/parport/Config.in
170 if [ "$CONFIG_ARCH_EBSA110" = "y" -o \
171      "$CONFIG_ARCH_SA1100" = "y" -o \
172      "$CONFIG_ARCH_NETWINDER" = "y" -o \
173      "$CONFIG_CATS" = "y" ]; then
174    string 'Initial kernel command string' CONFIG_CMDLINE
176 if [ "$CONFIG_ARCH_NETWINDER" = "y" -o \
177      "$CONFIG_ARCH_EBSA110" = "y" -o   \
178      "$CONFIG_ARCH_EBSA285" = "y" -o   \
179      "$CONFIG_ARCH_CO285" = "y" ]; then
180    bool 'Timer and CPU usage LEDs' CONFIG_LEDS
181    if [ "$CONFIG_LEDS" = "y" ]; then
182       if [ "$CONFIG_ARCH_NETWINDER" = "y" -o \
183            "$CONFIG_ARCH_EBSA285" = "y" -o   \
184            "$CONFIG_ARCH_CO285" = "y" ]; then
185          bool '  Timer LED' CONFIG_LEDS_TIMER
186          bool '  CPU usage LED' CONFIG_LEDS_CPU
187       fi
188    fi
190 endmenu
192 source drivers/ieee1394/Config.in
194 source drivers/i2o/Config.in
196 source drivers/pnp/Config.in
198 source drivers/block/Config.in
200 if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
201    source drivers/acorn/block/Config.in
204 source drivers/char/Config.in
205 if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
206    if [ "$CONFIG_BUSMOUSE" = "y" ]; then
207       if [ "$CONFIG_ARCH_RPC" != "y" ]; then
208          define_bool CONFIG_KBDMOUSE y
209       else
210          define_bool CONFIG_RPCMOUSE y
211       fi
212    fi
215 source drivers/usb/Config.in
217 source drivers/misc/Config.in
219 if [ "$CONFIG_VT" = "y" ]; then
220    mainmenu_option next_comment
221    comment 'Console drivers'
222    if [ "$CONFIG_ARCH_ACORN" != "y" -a "$CONFIG_ARCH_EBSA110" != "y" ]; then
223       bool 'VGA text console' CONFIG_VGA_CONSOLE
224    fi
225    bool 'Support Frame buffer devices' CONFIG_FB
226    source drivers/video/Config.in
227    endmenu
230 if [ "$CONFIG_NET" = "y" ]; then
231    source net/Config.in
233    source net/ax25/Config.in
235    source net/irda/Config.in
237    mainmenu_option next_comment
238    comment 'Network device support'
240    bool 'Network device support?' CONFIG_NETDEVICES
241    if [ "$CONFIG_NETDEVICES" = "y" ]; then
242       source drivers/net/Config.in
243    fi
244    endmenu
247 # mainmenu_option next_comment
248 # comment 'ISDN subsystem'
250 # tristate 'ISDN support' CONFIG_ISDN
251 # if [ "$CONFIG_ISDN" != "n" ]; then
252 #    source drivers/isdn/Config.in
253 # fi
254 # endmenu
256 mainmenu_option next_comment
257 comment 'SCSI support'
259 tristate 'SCSI support?' CONFIG_SCSI
261 if [ "$CONFIG_SCSI" != "n" ]; then
262    source drivers/scsi/Config.in
264 endmenu
266 if [ "$CONFIG_ARCH_ACORN" = "y" -o \
267      "$CONFIG_ARCH_CLPS7500" = "y" -o \
268      "$CONFIG_ARCH_SHARK" = "y" -o \
269      "$CONFIG_PCI" = "y" ]; then
270    mainmenu_option next_comment
271    comment 'Sound'
273    tristate 'Sound support' CONFIG_SOUND
274    if [ "$CONFIG_SOUND" != "n" ]; then
275       source drivers/sound/Config.in
276    fi
277    endmenu
280 source fs/Config.in
282 mainmenu_option next_comment
283 comment 'Kernel hacking'
285 bool 'Compile kernel with frame pointer (for useful debugging)' CONFIG_FRAME_POINTER
286 bool 'Verbose kernel error messages' CONFIG_DEBUG_ERRORS
287 bool 'Verbose user fault messages' CONFIG_DEBUG_USER
288 bool 'Include debugging information in kernel binary' CONFIG_DEBUG_INFO
289 #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
290 bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ
291 if [ "$CONFIG_CPU_26" = "y" ]; then
292    bool 'Disable pgtable cache' CONFIG_NO_PGT_CACHE
294 if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
295    # These options are only for real kernel hackers
296    # who want to get their hands dirty. 
297    bool 'Kernel low-level debugging functions' CONFIG_DEBUG_LL
298    if [ "$CONFIG_DEBUG_LL" = "y" ]; then
299       if [ "$CONFIG_FOOTBRIDGE" = "y" ]; then
300          bool 'Kernel low-level debugging messages via DC21285 port' CONFIG_DEBUG_DC21285_PORT
301       fi
302    fi
304 endmenu