1# $Id: config.in,v 1.111 2001/06/01 08:12:10 davem Exp $
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/config-language.txt.
4#
5mainmenu_name "Linux/SPARC Kernel Configuration"
6
7define_bool CONFIG_UID16 y
8define_bool CONFIG_HIGHMEM y
9
10mainmenu_option next_comment
11comment 'Code maturity level options'
12bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
13endmenu
14
15mainmenu_option next_comment
16comment 'Loadable module support'
17bool 'Enable loadable module support' CONFIG_MODULES
18if [ "$CONFIG_MODULES" = "y" ]; then
19   bool '  Set version information on all symbols for modules' CONFIG_MODVERSIONS
20   bool '  Kernel module loader' CONFIG_KMOD
21fi
22endmenu
23
24mainmenu_option next_comment
25comment 'General setup'
26
27define_bool CONFIG_VT y
28define_bool CONFIG_VT_CONSOLE y
29
30bool 'Symmetric multi-processing support (does not work on sun4/sun4c)' CONFIG_SMP
31
32if [ "$CONFIG_SMP" = "y" ]; then
33   int  'Maximum number of CPUs (2-32)' CONFIG_NR_CPUS 32
34fi
35
36# Identify this as a Sparc32 build
37define_bool CONFIG_SPARC32 y
38
39# Global things across all Sun machines.
40define_bool CONFIG_ISA n
41define_bool CONFIG_EISA n
42define_bool CONFIG_MCA n
43define_bool CONFIG_PCMCIA n
44define_bool CONFIG_SBUS y
45define_bool CONFIG_SBUSCHAR y
46define_bool CONFIG_BUSMOUSE y
47define_bool CONFIG_SUN_MOUSE y
48define_bool CONFIG_SERIAL y
49define_bool CONFIG_SUN_SERIAL y
50define_bool CONFIG_SERIAL_CONSOLE y
51define_bool CONFIG_SUN_KEYBOARD y
52define_bool CONFIG_SUN_CONSOLE y
53define_bool CONFIG_SUN_AUXIO y
54define_bool CONFIG_SUN_IO y
55define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y
56define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
57define_bool CONFIG_SUN_PM y
58
59bool 'Support for SUN4 machines (disables SUN4[CDM] support)' CONFIG_SUN4
60if [ "$CONFIG_SUN4" != "y" ]; then
61   bool 'Support for PCI and PS/2 keyboard/mouse' CONFIG_PCI
62   source drivers/pci/Config.in
63else
64   define_bool CONFIG_PCI n
65fi
66
67tristate 'Openprom tree appears in /proc/openprom' CONFIG_SUN_OPENPROMFS
68bool 'Networking support' CONFIG_NET
69bool 'System V IPC' CONFIG_SYSVIPC
70bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
71bool 'Sysctl support' CONFIG_SYSCTL
72if [ "$CONFIG_PROC_FS" = "y" ]; then
73   define_bool CONFIG_KCORE_ELF y
74fi
75tristate 'Kernel support for a.out binaries' CONFIG_BINFMT_AOUT
76bool 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
77tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
78bool 'SunOS binary emulation' CONFIG_SUNOS_EMUL
79bool 'Select task to kill on out of memory condition' CONFIG_OOM_KILLER
80source drivers/parport/Config.in
81dep_tristate '  Parallel printer support' CONFIG_PRINTER $CONFIG_PARPORT
82endmenu
83
84mainmenu_option next_comment
85comment 'Console drivers'
86bool 'PROM console' CONFIG_PROM_CONSOLE
87source drivers/video/Config.in
88endmenu
89
90source drivers/mtd/Config.in
91
92if [ "$CONFIG_SUN4" != "y" ]; then
93   source drivers/sbus/char/Config.in
94   source drivers/sbus/audio/Config.in
95fi
96
97mainmenu_option next_comment
98comment 'Block devices'
99
100bool 'Normal floppy disk support' CONFIG_BLK_DEV_FD
101
102tristate 'Loopback device support' CONFIG_BLK_DEV_LOOP
103dep_tristate 'Network block device support' CONFIG_BLK_DEV_NBD $CONFIG_NET
104
105source drivers/md/Config.in
106
107tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
108if [ "$CONFIG_BLK_DEV_RAM" = "y" -o "$CONFIG_BLK_DEV_RAM" = "m" ]; then
109	int '   Default RAM disk size' CONFIG_BLK_DEV_RAM_SIZE 4096
110fi
111dep_bool '  Initial RAM disk (initrd) support' CONFIG_BLK_DEV_INITRD $CONFIG_BLK_DEV_RAM
112
113endmenu
114
115if [ "$CONFIG_NET" = "y" ]; then
116   source net/Config.in
117fi
118
119# Don't frighten a common SBus user
120if [ "$CONFIG_PCI" = "y" ]; then
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_HD n
131  fi
132  endmenu
133else
134
135  define_bool CONFIG_IDE n
136  define_bool CONFIG_BLK_DEV_HD n
137fi
138
139mainmenu_option next_comment
140comment 'ISDN subsystem'
141
142tristate 'ISDN support' CONFIG_ISDN
143if [ "$CONFIG_ISDN" != "n" ]; then
144   source drivers/isdn/Config.in
145fi
146endmenu
147
148mainmenu_option next_comment
149comment 'SCSI support'
150
151tristate 'SCSI support' CONFIG_SCSI
152
153if [ "$CONFIG_SCSI" != "n" ]; then
154   comment 'SCSI support type (disk, tape, CDrom)'
155
156   dep_tristate '  SCSI disk support' CONFIG_BLK_DEV_SD $CONFIG_SCSI
157
158   if [ "$CONFIG_BLK_DEV_SD" != "n" ]; then
159      int  'Maximum number of SCSI disks that can be loaded as modules' CONFIG_SD_EXTRA_DEVS 40
160   fi
161
162   dep_tristate '  SCSI tape support' CONFIG_CHR_DEV_ST $CONFIG_SCSI
163
164   dep_tristate '  SCSI OnStream SC-x0 tape support' CONFIG_CHR_DEV_OSST $CONFIG_SCSI
165
166   dep_tristate '  SCSI CDROM support' CONFIG_BLK_DEV_SR $CONFIG_SCSI
167
168   if [ "$CONFIG_BLK_DEV_SR" != "n" ]; then
169      bool '    Enable vendor-specific extensions (for SCSI CDROM)' CONFIG_BLK_DEV_SR_VENDOR
170      int  'Maximum number of CDROM devices that can be loaded as modules' CONFIG_SR_EXTRA_DEVS 2
171   fi
172
173   dep_tristate '  SCSI generic support' CONFIG_CHR_DEV_SG $CONFIG_SCSI
174
175   comment 'Some SCSI devices (e.g. CD jukebox) support multiple LUNs'
176
177   bool '  Probe all LUNs on each SCSI device' CONFIG_SCSI_MULTI_LUN
178
179   bool '  Verbose SCSI error reporting (kernel size +=12K)' CONFIG_SCSI_CONSTANTS
180   bool '  SCSI logging facility' CONFIG_SCSI_LOGGING
181
182   mainmenu_option next_comment
183   comment 'SCSI low-level drivers'
184
185   dep_tristate 'Sparc ESP Scsi Driver' CONFIG_SCSI_SUNESP $CONFIG_SCSI
186   dep_tristate 'PTI Qlogic,ISP Driver' CONFIG_SCSI_QLOGICPTI $CONFIG_SCSI
187   endmenu
188fi
189endmenu
190
191source drivers/fc4/Config.in
192
193if [ "$CONFIG_NET" = "y" ]; then
194   mainmenu_option next_comment
195   comment 'Network device support'
196
197   bool 'Network device support' CONFIG_NETDEVICES
198   if [ "$CONFIG_NETDEVICES" = "y" ]; then
199      tristate '  Dummy net driver support' CONFIG_DUMMY
200      tristate '  Bonding driver support' CONFIG_BONDING
201      tristate '  Universal TUN/TAP device driver support' CONFIG_TUN
202      if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
203        if [ "$CONFIG_NETLINK" = "y" ]; then
204          tristate '  Ethertap network tap (OBSOLETE)' CONFIG_ETHERTAP
205        fi
206      fi
207      tristate '  PPP (point-to-point protocol) support' CONFIG_PPP
208      if [ ! "$CONFIG_PPP" = "n" ]; then
209        dep_tristate '  PPP support for async serial ports' CONFIG_PPP_ASYNC $CONFIG_PPP
210        dep_tristate '  PPP support for sync tty ports' CONFIG_PPP_SYNC_TTY $CONFIG_PPP
211        dep_tristate '  PPP Deflate compression' CONFIG_PPP_DEFLATE $CONFIG_PPP
212        dep_tristate '  PPP BSD-Compress compression' CONFIG_PPP_BSDCOMP m
213	if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
214	  dep_tristate '  PPP over Ethernet (EXPERIMENTAL)' CONFIG_PPPOE $CONFIG_PPP
215	  if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
216	    dep_tristate '  PPP over ATM (EXPERIMENTAL)' CONFIG_PPPOATM $CONFIG_PPP $CONFIG_ATM
217	  fi
218	fi
219      fi
220      tristate '  SLIP (serial line) support' CONFIG_SLIP
221      if [ "$CONFIG_SLIP" != "n" ]; then
222	 bool '    CSLIP compressed headers' CONFIG_SLIP_COMPRESSED
223	 bool '    Keepalive and linefill' CONFIG_SLIP_SMART
224	 bool '    Six bit SLIP encapsulation' CONFIG_SLIP_MODE_SLIP6
225      fi
226      tristate '  Sun LANCE support' CONFIG_SUNLANCE
227      tristate '  Sun Happy Meal 10/100baseT support' CONFIG_HAPPYMEAL
228      if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
229	 tristate '  Sun BigMAC 10/100baseT support (EXPERIMENTAL)' CONFIG_SUNBMAC
230      fi
231      tristate '  Sun QuadEthernet support' CONFIG_SUNQE
232      tristate '  MyriCOM Gigabit Ethernet support' CONFIG_MYRI_SBUS
233      if [ "$CONFIG_PCI" = "y" ]; then
234         tristate '3c590/3c900 series (592/595/597) "Vortex/Boomerang" support' CONFIG_VORTEX
235      fi
236
237#      bool '  FDDI driver support' CONFIG_FDDI
238#      if [ "$CONFIG_FDDI" = "y" ]; then
239#      fi
240
241      if [ "$CONFIG_ATM" != "n" ]; then
242	 source drivers/atm/Config.in
243      fi
244   fi
245   endmenu
246fi
247
248# This one must be before the filesystem configs. -DaveM
249mainmenu_option next_comment
250comment 'Unix98 PTY support'
251bool 'Unix98 PTY support' CONFIG_UNIX98_PTYS
252if [ "$CONFIG_UNIX98_PTYS" = "y" ]; then
253   int 'Maximum number of Unix98 PTYs in use (0-2048)' CONFIG_UNIX98_PTY_COUNT 256
254fi
255endmenu
256
257source fs/Config.in
258
259source net/bluetooth/Config.in
260
261mainmenu_option next_comment
262comment 'Watchdog'
263
264tristate 'Software watchdog' CONFIG_SOFT_WATCHDOG
265endmenu
266
267mainmenu_option next_comment
268comment 'Kernel hacking'
269
270bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
271if [ "$CONFIG_DEBUG_KERNEL" != "n" ]; then
272   bool '  Debug high memory support' CONFIG_DEBUG_HIGHMEM
273   bool '  Debug memory allocations' CONFIG_DEBUG_SLAB
274   bool '  Memory mapped I/O debugging' CONFIG_DEBUG_IOVIRT
275   bool '  Magic SysRq key' CONFIG_MAGIC_SYSRQ
276   bool '  Spinlock debugging' CONFIG_DEBUG_SPINLOCK
277fi
278
279int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0
280
281endmenu
282
283source crypto/Config.in
284source lib/Config.in
285