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