setup enviroment for compilation
[linux-2.4.21-pre4.git] / arch / sparc64 / config.in
1 # $Id: config.in,v 1.1.1.1 2005/04/11 02:50:12 jack Exp $
2 # For a description of the syntax of this configuration file,
3 # see the Configure script.
4 #
5 mainmenu_name "Linux/UltraSPARC Kernel Configuration"
6
7 mainmenu_option next_comment
8 comment 'Code maturity level options'
9 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
10 endmenu
11
12 mainmenu_option next_comment
13 comment 'Loadable module support'
14 bool 'Enable loadable module support' CONFIG_MODULES
15 if [ "$CONFIG_MODULES" = "y" ]; then
16    bool '  Set version information on all symbols for modules' CONFIG_MODVERSIONS
17    bool '  Kernel module loader' CONFIG_KMOD
18 fi
19 endmenu
20
21 mainmenu_option next_comment
22 comment 'General setup'
23
24 tristate 'UltraSPARC-III bootbus i2c controller driver' CONFIG_BBC_I2C
25
26 define_bool CONFIG_VT y
27 define_bool CONFIG_VT_CONSOLE y
28
29 bool 'Symmetric multi-processing support' CONFIG_SMP
30
31 # Identify this as a Sparc64 build
32 define_bool CONFIG_SPARC64 y
33
34 bool 'Support for hot-pluggable devices' CONFIG_HOTPLUG
35
36 # Global things across all Sun machines.
37 define_bool CONFIG_HAVE_DEC_LOCK y
38 define_bool CONFIG_RWSEM_GENERIC_SPINLOCK n
39 define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM y
40 define_bool CONFIG_ISA n
41 define_bool CONFIG_ISAPNP n
42 define_bool CONFIG_EISA n
43 define_bool CONFIG_MCA n
44 define_bool CONFIG_PCMCIA n
45 define_bool CONFIG_SBUS y
46 define_bool CONFIG_SBUSCHAR y
47 define_bool CONFIG_BUSMOUSE y
48 define_bool CONFIG_SUN_MOUSE y
49 define_bool CONFIG_SERIAL y
50 define_bool CONFIG_SUN_SERIAL y
51 define_bool CONFIG_SERIAL_CONSOLE y
52 define_bool CONFIG_SUN_KEYBOARD y
53 define_bool CONFIG_SUN_CONSOLE y
54 define_bool CONFIG_SUN_AUXIO y
55 define_bool CONFIG_SUN_IO y
56 bool 'PCI support' CONFIG_PCI
57 if [ "$CONFIG_PCI" = "y" ] ; then
58    define_bool CONFIG_RTC y
59 fi
60 source drivers/pci/Config.in
61
62 tristate 'Openprom tree appears in /proc/openprom' CONFIG_SUN_OPENPROMFS
63 bool 'Networking support' CONFIG_NET
64 bool 'System V IPC' CONFIG_SYSVIPC
65 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
66 bool 'Sysctl support' CONFIG_SYSCTL
67 if [ "$CONFIG_PROC_FS" = "y" ]; then
68    define_bool CONFIG_KCORE_ELF y
69 fi
70 bool 'Kernel support for Linux/Sparc 32bit binary compatibility' CONFIG_SPARC32_COMPAT
71 if [ "$CONFIG_SPARC32_COMPAT" != "n" ]; then
72    tristate '  Kernel support for 32-bit ELF binaries' CONFIG_BINFMT_ELF32
73    bool '  Kernel support for 32-bit (ie. SunOS) a.out binaries' CONFIG_BINFMT_AOUT32
74 fi
75 tristate 'Kernel support for 64-bit ELF binaries' CONFIG_BINFMT_ELF
76 tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
77 bool 'SunOS binary emulation' CONFIG_SUNOS_EMUL
78 if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
79    tristate 'Solaris binary emulation (EXPERIMENTAL)' CONFIG_SOLARIS_EMUL
80 fi
81 source drivers/parport/Config.in
82 dep_tristate '  Parallel printer support' CONFIG_PRINTER $CONFIG_PARPORT
83 if [ "$CONFIG_PCI" = "y" ]; then
84    tristate 'SUNW, envctrl support' CONFIG_ENVCTRL
85    tristate '7-Segment Display support' CONFIG_DISPLAY7SEG
86    tristate 'CP1XXX Hardware Watchdog support' CONFIG_WATCHDOG_CP1XXX
87    tristate 'RIO Hardware Watchdog support' CONFIG_WATCHDOG_RIO
88 fi
89 endmenu
90
91 mainmenu_option next_comment
92 comment 'Console drivers'
93 bool 'PROM console' CONFIG_PROM_CONSOLE
94 source drivers/video/Config.in
95 endmenu
96
97 source drivers/sbus/char/Config.in
98 source drivers/sbus/audio/Config.in
99 source drivers/mtd/Config.in
100 mainmenu_option next_comment
101 comment 'Block devices'
102
103 bool 'Normal floppy disk support' CONFIG_BLK_DEV_FD
104
105 tristate 'Loopback device support' CONFIG_BLK_DEV_LOOP
106 dep_tristate 'Network block device support' CONFIG_BLK_DEV_NBD $CONFIG_NET
107
108 source drivers/md/Config.in
109
110 tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
111 if [ "$CONFIG_BLK_DEV_RAM" = "y" -o "$CONFIG_BLK_DEV_RAM" = "m" ]; then
112         int '   Default RAM disk size' CONFIG_BLK_DEV_RAM_SIZE 4096
113 fi
114 dep_bool '  Initial RAM disk (initrd) support' CONFIG_BLK_DEV_INITRD $CONFIG_BLK_DEV_RAM
115
116 endmenu
117
118 if [ "$CONFIG_NET" = "y" ]; then
119    source net/Config.in
120 fi
121
122 mainmenu_option next_comment
123 comment 'ATA/IDE/MFM/RLL support'
124
125 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
126
127 if [ "$CONFIG_IDE" != "n" ]; then
128   source drivers/ide/Config.in
129 else
130   define_bool CONFIG_BLK_DEV_IDE_MODES n
131   define_bool CONFIG_BLK_DEV_HD n
132 fi
133 endmenu
134
135 mainmenu_option next_comment
136 comment 'SCSI support'
137
138 tristate 'SCSI support' CONFIG_SCSI
139
140 if [ "$CONFIG_SCSI" != "n" ]; then
141    comment 'SCSI support type (disk, tape, CDrom)'
142
143    dep_tristate '  SCSI disk support' CONFIG_BLK_DEV_SD $CONFIG_SCSI
144
145    if [ "$CONFIG_BLK_DEV_SD" != "n" ]; then
146       int  'Maximum number of SCSI disks that can be loaded as modules' CONFIG_SD_EXTRA_DEVS 40
147    fi
148
149    dep_tristate '  SCSI tape support' CONFIG_CHR_DEV_ST $CONFIG_SCSI
150
151    dep_tristate '  SCSI OnStream SC-x0 tape support' CONFIG_CHR_DEV_OSST $CONFIG_SCSI
152
153    dep_tristate '  SCSI CDROM support' CONFIG_BLK_DEV_SR $CONFIG_SCSI
154
155    if [ "$CONFIG_BLK_DEV_SR" != "n" ]; then
156       bool '    Enable vendor-specific extensions (for SCSI CDROM)' CONFIG_BLK_DEV_SR_VENDOR
157       int  'Maximum number of CDROM devices that can be loaded as modules' CONFIG_SR_EXTRA_DEVS 2
158    fi
159
160    dep_tristate '  SCSI generic support' CONFIG_CHR_DEV_SG $CONFIG_SCSI
161
162    comment 'Some SCSI devices (e.g. CD jukebox) support multiple LUNs'
163
164    bool '  Probe all LUNs on each SCSI device' CONFIG_SCSI_MULTI_LUN
165
166    bool '  Verbose SCSI error reporting (kernel size +=12K)' CONFIG_SCSI_CONSTANTS
167    bool '  SCSI logging facility' CONFIG_SCSI_LOGGING
168
169    mainmenu_option next_comment
170    comment 'SCSI low-level drivers'
171
172    dep_tristate 'Sparc ESP Scsi Driver' CONFIG_SCSI_SUNESP $CONFIG_SCSI
173    dep_tristate 'PTI Qlogic, ISP Driver' CONFIG_SCSI_QLOGICPTI $CONFIG_SCSI
174
175    if [ "$CONFIG_PCI" != "n" ]; then
176       source drivers/scsi/aic7xxx/Config.in
177       if [ "$CONFIG_SCSI_AIC7XXX" != "y" ]; then
178          dep_tristate 'Old Adaptec AIC7xxx support' CONFIG_SCSI_AIC7XXX_OLD $CONFIG_SCSI
179          if [ "$CONFIG_SCSI_AIC7XXX_OLD" != "n" ]; then
180             bool '  Enable Tagged Command Queueing (TCQ) by default' CONFIG_AIC7XXX_OLD_TCQ_ON_BY_DEFAULT
181             int  '  Maximum number of TCQ commands per device' CONFIG_AIC7XXX_OLD_CMDS_PER_DEVICE 8
182             bool '  Collect statistics to report in /proc' CONFIG_AIC7XXX_OLD_PROC_STATS
183          fi
184       fi
185       dep_tristate 'SYM53C8XX Version 2 SCSI support' CONFIG_SCSI_SYM53C8XX_2 $CONFIG_SCSI
186       if [ "$CONFIG_SCSI_SYM53C8XX_2" != "n" ]; then
187          int  '  DMA addressing mode' CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE 1
188          int  '  default tagged command queue depth' CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS 16
189          int  '  maximum number of queued commands' CONFIG_SCSI_SYM53C8XX_MAX_TAGS 64
190          bool '  use normal IO' CONFIG_SCSI_SYM53C8XX_IOMAPPED
191       fi
192       if [ "$CONFIG_SCSI_SYM53C8XX_2" != "y" ]; then
193          dep_tristate 'NCR53C8XX SCSI support' CONFIG_SCSI_NCR53C8XX $CONFIG_SCSI
194          dep_tristate 'SYM53C8XX SCSI support' CONFIG_SCSI_SYM53C8XX $CONFIG_SCSI
195          if [ "$CONFIG_SCSI_NCR53C8XX" != "n" -o "$CONFIG_SCSI_SYM53C8XX" != "n" ]; then
196             int 'default tagged command queue depth' CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS 8
197             int 'maximum number of queued commands' CONFIG_SCSI_NCR53C8XX_MAX_TAGS 32
198             int 'synchronous transfers frequency in MHz' CONFIG_SCSI_NCR53C8XX_SYNC 10
199             bool '  enable profiling' CONFIG_SCSI_NCR53C8XX_PROFILE
200             if [ "$CONFIG_SCSI_SYM53C8XX" != "n" ]; then
201                bool '  include support for the NCR PQS/PDS SCSI card' CONFIG_SCSI_NCR53C8XX_PQS_PDS
202             fi
203             if [ "$CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS" = "0" ]; then
204                bool '  not allow targets to disconnect' CONFIG_SCSI_NCR53C8XX_NO_DISCONNECT
205             fi
206             if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
207                bool '  assume boards are SYMBIOS compatible (EXPERIMENTAL)' CONFIG_SCSI_NCR53C8XX_SYMBIOS_COMPAT
208             fi
209          fi
210       fi
211       dep_tristate 'Qlogic ISP SCSI support' CONFIG_SCSI_QLOGIC_ISP $CONFIG_SCSI
212       dep_tristate 'Qlogic ISP FC SCSI support' CONFIG_SCSI_QLOGIC_FC $CONFIG_SCSI
213       if [ "$CONFIG_SCSI_QLOGIC_FC" != "n" ]; then
214          define_bool CONFIG_SCSI_QLOGIC_FC_FIRMWARE y
215       fi
216    fi
217
218    endmenu
219 fi
220 endmenu
221
222 source drivers/fc4/Config.in
223
224 if [ "$CONFIG_PCI" = "y" ]; then
225    source drivers/message/fusion/Config.in
226 fi
227
228 source drivers/ieee1394/Config.in
229
230 if [ "$CONFIG_NET" = "y" ]; then
231    mainmenu_option next_comment
232    comment 'Network device support'
233
234    bool 'Network device support' CONFIG_NETDEVICES
235    if [ "$CONFIG_NETDEVICES" = "y" ]; then
236       source drivers/net/Config.in
237       if [ "$CONFIG_ATM" = "y" ]; then
238         source drivers/atm/Config.in
239       fi
240    fi
241    endmenu
242 fi
243
244 # This one must be before the filesystem configs. -DaveM
245 mainmenu_option next_comment
246 comment 'Unix 98 PTY support'
247 bool 'Unix98 PTY support' CONFIG_UNIX98_PTYS
248 if [ "$CONFIG_UNIX98_PTYS" = "y" ]; then
249    int 'Maximum number of Unix98 PTYs in use (0-2048)' CONFIG_UNIX98_PTY_COUNT 256
250 fi
251 endmenu
252
253 mainmenu_option next_comment
254 comment 'Video For Linux'
255 tristate 'Video For Linux' CONFIG_VIDEO_DEV
256 if [ "$CONFIG_VIDEO_DEV" != "n" ]; then
257    if [ "$CONFIG_PCI" != "n" ]; then
258       dep_tristate '  BT848 Video For Linux' CONFIG_VIDEO_BT848 $CONFIG_VIDEO_DEV
259    fi
260 fi
261 endmenu
262
263 mainmenu_option next_comment
264 comment 'XFree86 DRI support'
265 bool 'Direct Rendering Manager (XFree86 DRI support)' CONFIG_DRM_NEW
266 dep_tristate '  Creator/Creator3D' CONFIG_DRM_FFB $CONFIG_DRM_NEW
267 dep_tristate '  3dfx Banshee/Voodoo3+' CONFIG_DRM_TDFX $CONFIG_DRM_NEW
268 dep_tristate '  ATI Rage 128' CONFIG_DRM_R128 $CONFIG_DRM_NEW
269 endmenu
270
271 source drivers/input/Config.in
272
273 source fs/Config.in
274
275 mainmenu_option next_comment
276 comment 'Sound'
277
278 tristate 'Sound card support' CONFIG_SOUND
279 if [ "$CONFIG_SOUND" != "n" ]; then
280    source drivers/sound/Config.in
281 fi
282 endmenu
283
284 source drivers/usb/Config.in
285
286 source net/bluetooth/Config.in
287
288 mainmenu_option next_comment
289 comment 'Watchdog'
290
291 tristate 'Software watchdog' CONFIG_SOFT_WATCHDOG
292 endmenu
293
294 mainmenu_option next_comment
295 comment 'Kernel hacking'
296
297 bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
298 if [ "$CONFIG_DEBUG_KERNEL" != "n" ]; then
299    bool '  Debug memory allocations' CONFIG_DEBUG_SLAB
300    bool '  Magic SysRq key' CONFIG_MAGIC_SYSRQ
301    bool '  Spinlock debugging' CONFIG_DEBUG_SPINLOCK
302    bool '  Verbose BUG() reporting (adds 70K)' CONFIG_DEBUG_BUGVERBOSE
303    bool '  D-cache flush debugging' CONFIG_DEBUG_DCFLUSH
304 fi
305 bool 'Stack Overflow Detection Support' CONFIG_STACK_DEBUG
306 if [ "$CONFIG_STACK_DEBUG" = "y" ] ; then
307    define_bool CONFIG_MCOUNT y
308 fi
309
310 endmenu
311
312 source lib/Config.in