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