GENERIC revision 1.3 1 # $NetBSD: GENERIC,v 1.3 2006/01/05 10:46:57 tsutsui Exp $
2 #
3 # GENERIC machine description file
4 # This machine description file is used to generate the default NetBSD
5 # kernel. The generic kernel does not include all options, subsystems
6 # and device drivers, but should be useful for most applications.
7 #
8 # The machine description file can be customised for your specific
9 # machine to reduce the kernel size and improve its performance.
10 #
11 # For further information on compiling NetBSD kernels, see the config(8)
12 # man page.
13 #
14 # For further information on hardware support for this architecture, see
15 # the intro(4) man page. For further information about kernel options
16 # for this architecture, see the options(4) man page. For an explanation
17 # of each device driver in this file see the section 4 man page for the
18 # device.
19
20 #
21 # kernel config file for EWS4800/350, 360AD, 360ADII
22 #
23
24 include "arch/ews4800mips/conf/std.ews4800mips"
25
26 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
27
28 #ident "GENERIC-$Revision: 1.3 $"
29
30 maxusers 16
31
32 #options MIPS1 # R2000/R3000
33 options MIPS3 # R4000/R4400
34
35 # MIPS3 on-chip timer interrupt is not used on EWS4800,
36 # but the external timer interrupt line is connected to CPU INT5.
37 options MIPS3_ENABLE_CLOCK_INTR
38
39 # Support for specific models
40 options EWS4800_TR2 # 350
41 options EWS4800_TR2A # 360,360AD,360ADII,360SX,360EX
42
43 # Standard system options
44 options NTP # NTP phase/frequency locked loop
45
46 options KTRACE # system call tracing ktrace(1)
47 options SYSTRACE # system call vetting via systrace(1)
48
49 options SYSVMSG # System V-like message queues
50 options SYSVSEM # System V-like semaphores
51 options SEMMNI=10 # number of semaphore identifiers
52 #options SEMMNS=60 # number of semaphores in system
53 #options SEMUME=10 # max number of undo entries per process
54 #options SEMMNU=30 # number of undo structures in system
55 options SYSVSHM # System V shared memory
56 #options SHMMAXPGS=1024 # 1024 pages is the default
57 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
58
59 options LKM # loadable kernel modules
60
61 options USERCONF # userconf(4) support
62 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
63 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
64
65 # Enable experimental buffer queue strategy for better responsiveness under
66 # high disk I/O load. Likely stable but not yet the default.
67 #options BUFQ_READPRIO
68 #options BUFQ_PRIOCSCAN
69
70 # Diagnostic/debugging support options
71 #options DIAGNOSTIC # expensive kernel consistency checks
72 #options DEBUG # extra kernel debugging support
73 #options KMEMSTATS # kernel memory statistics (vmstat -m)
74 options DDB # in-kernel debugger
75 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
76 #options DDB_HISTORY_SIZE=512 # enable history editing in DDB
77 #makeoptions DEBUG="-g" # compile full symbol table
78
79 # Compatibility options
80 #options COMPAT_10 # NetBSD 1.0
81 #options COMPAT_11 # NetBSD 1.1
82 #options COMPAT_12 # NetBSD 1.2
83 options COMPAT_13 # NetBSD 1.3
84 options COMPAT_14 # NetBSD 1.4
85 options COMPAT_16 # NetBSD 1.6
86 options COMPAT_20 # NetBSD 2.0
87 options COMPAT_30 # NetBSD 3.0
88 options COMPAT_43 # 4.3BSD
89 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
90
91 #options COMPAT_LINUX # binary compatibility with Linux
92 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
93
94 # File systems
95 file-system FFS # fast filesystem with user and group quotas
96 file-system EXT2FS # second extended file system (linux)
97 file-system LFS # log-structured file system
98 file-system MFS # memory file system
99 file-system NFS # Network File System client
100 #file-system NTFS # Windows/NT file system (experimental)
101 file-system CD9660 # ISO 9660 + Rock Ridge file system
102 file-system MSDOSFS # MS-DOS file system
103 file-system FDESC # /dev/fd
104 file-system KERNFS # /kern
105 file-system NULLFS # loopback file system
106 file-system OVERLAY # overlay file system
107 file-system PORTAL # portal file system (still exxperimental)
108 file-system PROCFS # /proc
109 file-system UMAPFS # NULLFS + uid and gid remapping
110 file-system UNION # union file system
111 #file-system CODA # Coda file system; also needs vcoda (below)
112 #file-system SMBFS # experimental - CIFS; also needs nsmb (below)
113 file-system SYSVBFS # System V boot filesystem.
114 file-system PTYFS # /dev/pts/N support
115 #file-system TMPFS # experimental - Efficient memory file-system
116
117 # File system options
118 options QUOTA # UFS quotas
119 #options FFS_EI # FFS Endian Indpendent support
120 options SOFTDEP # FFS soft updates support.
121 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
122 options NFSSERVER # Network File System server
123 #options FFS_NO_SNAPSHOT # no FFS snapshot support
124 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
125 # immutable) behave as system flags.
126
127 # Networking options
128 #options GATEWAY # packet forwarding
129 options INET # IP + ICMP + TCP + UDP
130 options INET6 # IPV6
131 #options IPSEC # IP security
132 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
133 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
134 #options IPSEC_DEBUG # debug for IP security
135 #options MROUTING # IP multicast routing
136 #options PIM # Protocol Independent Multicast
137 #options NS # XNS
138 #options NSIP # XNS tunneling over IP
139 #options ISO,TPIP # OSI
140 #options EON # OSI tunneling over IP
141 #options CCITT,LLC,HDLC # X.25
142 options NETATALK # AppleTalk networking protocols
143 options PPP_BSDCOMP # BSD-Compress compression support for PPP
144 options PPP_DEFLATE # Deflate compression support for PPP
145 options PPP_FILTER # Active filter support for PPP (requires bpf)
146 options PFIL_HOOKS # pfil(9) packet filter hooks
147 options IPFILTER_LOG # ipmon(8) log support
148 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
149 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
150
151 #options ALTQ # Manipulate network interfaces' output queues
152 #options ALTQ_BLUE # Stochastic Fair Blue
153 #options ALTQ_CBQ # Class-Based Queueing
154 #options ALTQ_CDNR # Diffserv Traffic Conditioner
155 #options ALTQ_FIFOQ # First-In First-Out Queue
156 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
157 #options ALTQ_HFSC # Hierarchical Fair Service Curve
158 #options ALTQ_LOCALQ # Local queueing discipline
159 #options ALTQ_PRIQ # Priority Queueing
160 #options ALTQ_RED # Random Early Detection
161 #options ALTQ_RIO # RED with IN/OUT
162 #options ALTQ_WFQ # Weighted Fair Queueing
163
164 # These options control the verified exec feature
165 #options VERIFIED_EXEC
166 #
167 # Uncomment the fingerprint methods below that are desired. Note that
168 # removing fingerprint methods will have almost no impact on the kernel
169 # code size.
170 #
171 #options VERIFIED_EXEC_FP_RMD160
172 #options VERIFIED_EXEC_FP_SHA256
173 #options VERIFIED_EXEC_FP_SHA384
174 #options VERIFIED_EXEC_FP_SHA512
175 #options VERIFIED_EXEC_FP_SHA1
176 #options VERIFIED_EXEC_FP_MD5
177
178 # These options enable verbose messages for several subsystems.
179 # Warning, these may compile large string tables into the kernel!
180 options SCSIVERBOSE # human readable SCSI error messages
181
182 options NFS_BOOT_DHCP
183
184
185 # workstation console options
186 options WSEMUL_VT100 # VT100 / VT220 emulation
187 options WS_KERNEL_FG=WSCOL_GREEN
188 options WS_KERNEL_BG=WSCOL_BLACK
189
190 options FONT_GALLANT12x22
191 #options FONT_SONY12x24
192
193 config netbsd root on ? type ?
194
195 #
196 # Device configuration
197 #
198
199 mainbus0 at root
200
201 cpu0 at mainbus?
202
203 sbdio0 at mainbus?
204
205 mkclock0 at sbdio?
206
207 #kbms* at sbdo?
208 #wskbd0 at kbms? console ?
209 #wsmouse0 at kbms?
210
211 ewskbd0 at zsc?
212 wskbd* at ewskbd?
213 ewsms0 at zsc?
214 wsmouse* at ewsms?
215
216 fb* at sbdio?
217 wsdisplay* at fb? console ?
218
219 zsc0 at sbdio?
220 zstty0 at zsc0 channel 0 # SIO ch-A
221 zstty1 at zsc0 channel 1 # SIO ch-B
222
223 # Disk
224 osiop* at sbdio? flags 0x0000
225 scsibus* at scsi?
226
227 sd* at scsibus? target ? lun ? # SCSI disk drives
228 st* at scsibus? target ? lun ? # SCSI tape drives
229 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
230 ch* at scsibus? target ? lun ? # SCSI autochangers
231 ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices
232 ss* at scsibus? target ? lun ? # SCSI scanners
233 uk* at scsibus? target ? lun ? # SCSI unknown
234
235 # Ether
236 iee* at sbdio? # TR2
237 le* at sbdio? # TR2A
238
239
240 # Pseudo-Devices
241
242 # disk/mass strage pseudo-devices
243 pseudo-device ccd 4 # concatenated/striped disk devices
244 #pseudo-device cgd 4 # cryptographic disk devices
245 pseudo-device raid 8 # RAIDframe disk driver
246 options RAID_AUTOCONFIG # auto-configuration of RAID components
247 # Options to enable various other RAIDframe RAID types.
248 #options RF_INCLUDE_EVENODD=1
249 #options RF_INCLUDE_RAID5_RS=1
250 #options RF_INCLUDE_PARITYLOGGING=1
251 #options RF_INCLUDE_CHAINDECLUSTER=1
252 #options RF_INCLUDE_INTERDECLUSTER=1
253 #options RF_INCLUDE_PARITY_DECLUSTERING=1
254 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
255 pseudo-device fss 4 # file system snapshot device
256
257 # Vinum
258 #pseudo-device vinum 8 # Vinum
259 #options VINUMDEBUG
260
261 pseudo-device md 1 # memory disk device (ramdisk)
262 pseudo-device vnd 4 # virtual disk ick
263 options VND_COMPRESSION # compressed vnd(4)
264
265 # network pseudo-devices
266 pseudo-device bpfilter 8 # packet filter ports
267 pseudo-device ipfilter # IP filter, NAT
268 pseudo-device loop # network loopback
269 pseudo-device ppp 2 # Point-to-Point Protocol
270 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
271 pseudo-device sl 2 # Serial Line IP
272 pseudo-device strip 2 # Starmode Radio IP (Metricom)
273 #pseudo-device irframetty # IrDA frame line discipline
274 pseudo-device tap # virtual Ethernet
275 pseudo-device tun 2 # network tunneling over tty
276 pseudo-device gre 2 # generic L3 over IP tunnel
277 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
278 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
279 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
280 pseudo-device vlan # IEEE 802.1q encapsulation
281 pseudo-device bridge # simple inter-network bridging
282 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
283 #pseudo-device pf # PF packet filter
284 #pseudo-device pflog # PF log if
285
286 # miscellaneous pseudo-devices
287 pseudo-device pty # pseudo-terminals
288 #pseudo-device tb 1 # tablet line discipline
289 pseudo-device rnd # /dev/random and in-kernel generator
290 pseudo-device clockctl # user control of clock subsystem
291 pseudo-device ksyms # /dev/ksyms
292
293 # a pseudo device needed for Coda # also needs CODA (above)
294 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
295
296 # a pseudo device needed for SMBFS
297 #pseudo-device nsmb # experimental - SMB requester
298
299 # wscons pseudo-devices
300 pseudo-device wsmux
301
302 # Veriexec
303 #options VERIFIED_EXEC
304
305 # a pseudo device needed for veriexec
306 #pseudo-device veriexec 1
307
308 # Uncomment the fingerprint methods below that are desired. Note that
309 # removing fingerprint methods will have almost no impact on the kernel
310 # code size.
311 #options VERIFIED_EXEC_FP_RMD160
312 #options VERIFIED_EXEC_FP_SHA256
313 #options VERIFIED_EXEC_FP_SHA384
314 #options VERIFIED_EXEC_FP_SHA512
315 #options VERIFIED_EXEC_FP_SHA1
316 #options VERIFIED_EXEC_FP_MD5
317