summaryrefslogtreecommitdiffstats
path: root/arch/mips/config.in
blob: 9bc01b87528bc31aa2c643eae3bbf107ac3e5865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
#
# For a description of the syntax of this configuration file,
# see the Configure script.
#
mainmenu_name "Linux Kernel Configuration"

mainmenu_option next_comment
comment 'Code maturity level options'
bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
endmenu

mainmenu_option next_comment
comment 'Machine selection'
bool 'Support for Acer PICA 1 chipset' CONFIG_ACER_PICA_61
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
  bool 'Support for Algorithmics P4032' CONFIG_ALGOR_P4032
fi
bool 'Support for Mips Magnum 4000' CONFIG_MIPS_MAGNUM_4000
bool 'Support for Olivetti M700-10' CONFIG_OLIVETTI_M700
bool 'Support for SGI workstations' CONFIG_SGI
bool 'Support for SNI RM200 PCI' CONFIG_SNI_RM200_PCI

#
# Select some configuration options automatically for certain systems.
#
unset CONFIG_PCI
unset CONFIG_MIPS_JAZZ
unset CONFIG_VIDEO_G364

if [ "$CONFIG_ALGOR_P4032" = "y" ]; then
	define_bool CONFIG_PCI y
fi
if [ "$CONFIG_MIPS_MAGNUM_4000" = "y" -o \
     "$CONFIG_OLIVETTI_M700" = "y" ]; then
       define_bool CONFIG_VIDEO_G364 y
fi
if [ "$CONFIG_ACER_PICA_61" = "y" -o \
     "$CONFIG_OLIVETTI_M700" = "y" -o \
     "$CONFIG_MIPS_MAGNUM_4000" = "y" ]; then
	define_bool CONFIG_MIPS_JAZZ y
fi
if [ "$CONFIG_SNI_RM200_PCI" = "y" ]; then
	define_bool CONFIG_PCI y
fi
endmenu

mainmenu_option next_comment
comment 'CPU selection'

choice 'CPU type' \
	"R3000 CONFIG_CPU_R3000	\
	 R6000 CONFIG_CPU_R6000	\
	 R4300 CONFIG_CPU_R4300	\
	 R4x00 CONFIG_CPU_R4X00	\
	 R5000 CONFIG_CPU_R5000	\
	 R56x0 CONFIG_CPU_NEVADA \
	 R8000 CONFIG_CPU_R8000	\
	 R10000 CONFIG_CPU_R10000" R4x00
endmenu

mainmenu_option next_comment
comment 'General setup'
if [ "$CONFIG_DECSTATION" = "y" ]; then
  bool 'Compile the kernel into the ECOFF object format' CONFIG_ECOFF_KERNEL
  define_bool CONFIG_CPU_LITTLE_ENDIAN y
else
  define_bool CONFIG_ELF_KERNEL y
  bool 'Generate little endian code' CONFIG_CPU_LITTLE_ENDIAN
fi

if [ "$CONFIG_CPU_LITTLE_ENDIAN" = "n" ]; then
  define_bool CONFIG_BINFMT_IRIX y
  define_bool CONFIG_FORWARD_KEYBOARD y
fi
define_bool CONFIG_BINFMT_AOUT n
define_bool CONFIG_BINFMT_ELF y
tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
  tristate 'Kernel support for MISC binaries' CONFIG_BINFMT_MISC
  tristate 'Kernel support for JAVA binaries (obsolete)' CONFIG_BINFMT_JAVA
fi

bool 'Networking support' CONFIG_NET
bool 'System V IPC' CONFIG_SYSVIPC
bool 'Sysctl support' CONFIG_SYSCTL

if [ "$CONFIG_SGI" != "y" ]; then
  tristate 'Parallel port support' CONFIG_PARPORT
fi
endmenu

mainmenu_option next_comment
comment 'Loadable module support'
bool 'Enable loadable module support' CONFIG_MODULES
if [ "$CONFIG_MODULES" = "y" ]; then
  bool 'Set version information on all symbols for modules' CONFIG_MODVERSIONS
  bool 'Kernel daemon support (e.g. autoload of modules)' CONFIG_KERNELD
fi
endmenu

source drivers/block/Config.in

if [ "$CONFIG_NET" = "y" ]; then
  source net/Config.in
fi

mainmenu_option next_comment
comment 'SCSI support'

tristate 'SCSI support' CONFIG_SCSI

if [ "$CONFIG_SCSI" != "n" ]; then
	if [ "$CONFIG_SGI" = "y" ]; then
		comment 'SCSI support type (disk, tape, CDrom)'

		dep_tristate 'SCSI disk support' CONFIG_BLK_DEV_SD $CONFIG_SCSI
		dep_tristate 'SCSI tape support' CONFIG_CHR_DEV_ST $CONFIG_SCSI
		dep_tristate 'SCSI CDROM support' CONFIG_BLK_DEV_SR $CONFIG_SCSI
		dep_tristate 'SCSI generic support' CONFIG_CHR_DEV_SG $CONFIG_SCSI

		comment 'Some SCSI devices (e.g. CD jukebox) support multiple LUNs'

		bool 'Probe all LUNs on each SCSI device' CONFIG_SCSI_MULTI_LUN

		bool 'Verbose SCSI error reporting' CONFIG_SCSI_CONSTANTS

		#mainmenu_option next_comment
		comment 'SCSI low-level drivers'

		dep_tristate 'SGI wd93 Scsi Driver' CONFIG_SCSI_SGIWD93 $CONFIG_SCSI
	else
		source drivers/scsi/Config.in
	fi
fi
endmenu

if [ "$CONFIG_NET" = "y" ]; then
  mainmenu_option next_comment
  comment 'Network device support'

  bool 'Network device support' CONFIG_NETDEVICES
  if [ "$CONFIG_NETDEVICES" = "y" ]; then
    if [ "$CONFIG_SGI" != "y" ]; then
	source drivers/net/Config.in
    else
	tristate 'Dummy net driver support' CONFIG_DUMMY
	tristate 'SLIP (serial line) support' CONFIG_SLIP
	if [ "$CONFIG_SLIP" != "n" ]; then
	  bool ' CSLIP compressed headers' CONFIG_SLIP_COMPRESSED
	  bool ' Keepalive and linefill' CONFIG_SLIP_SMART
	fi
	tristate 'PPP (point-to-point) support' CONFIG_PPP
	if [ ! "$CONFIG_PPP" = "n" ]; then
	  comment 'CCP compressors for PPP are only built as modules.'
	fi
	bool 'SGI Seeq ethernet controller support' CONFIG_SGISEEQ
    fi
  fi
  endmenu
fi

if [ "$CONFIG_SGI" != "y" ]; then
	source drivers/net/hamradio/Config.in

	mainmenu_option next_comment
	comment 'ISDN subsystem'

	tristate 'ISDN support' CONFIG_ISDN
	if [ "$CONFIG_ISDN" != "n" ]; then
	  source drivers/isdn/Config.in
	fi
	endmenu

	mainmenu_option next_comment
	comment 'CD-ROM drivers (not for SCSI or IDE/ATAPI drives)'

	bool 'Support non-SCSI/IDE/ATAPI drives' CONFIG_CD_NO_IDESCSI
	if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
	  source drivers/cdrom/Config.in
	fi
	endmenu
fi

# Conditionally compile in the Uniform CD-ROM driver
if [ "$CONFIG_BLK_DEV_IDECD" = "y" -o "$CONFIG_BLK_DEV_SR" = "y" -o "$CONFIG_SBPCD" = "y" -o "$CONFIG_MCD" = "y" -o "$CONFIG_CM206" = "y" -o "$CONFIG_CDU31A" = "y" ]; then
  define_bool CONFIG_CDROM y
else
  if [ "$CONFIG_BLK_DEV_IDECD" = "m" -o "$CONFIG_BLK_DEV_SR" = "m" -o "$CONFIG_SBPCD" = "m" -o "$CONFIG_MCD" = "m" -o "$CONFIG_CM206" = "m" -o "$CONFIG_CDU31A" = "m" ]; then
    define_bool CONFIG_CDROM m
  else
    define_bool CONFIG_CDROM n
  fi
fi

source fs/Config.in

source fs/nls/Config.in

source drivers/char/Config.in

mainmenu_option next_comment
comment 'Sound'

tristate 'Sound card support' CONFIG_SOUND
if [ "$CONFIG_SOUND" != "n" ]; then
  source drivers/sound/Config.in
fi
endmenu

if [ "$CONFIG_SGI" = "y" ]; then
  source drivers/sgi/char/Config.in
fi

mainmenu_option next_comment
comment 'Kernel hacking'

#bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
bool 'Are you using a crosscompiler' CONFIG_CROSSCOMPILE
if [ "$CONFIG_MODULES" = "y" ]; then
  bool ' Build fp execption handler module' CONFIG_MIPS_FPE_MODULE
fi
bool 'Remote GDB kernel debugging' CONFIG_REMOTE_DEBUG
bool 'Kernel profiling support' CONFIG_PROFILE
if [ "$CONFIG_PROFILE" = "y" ]; then
  int ' Profile shift count' CONFIG_PROFILE_SHIFT 2
fi
endmenu