MRCOFFEE revision 1.36 1 # $NetBSD: MRCOFFEE,v 1.36 2012/03/11 06:18:46 nakayama Exp $
2 # From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
3 #
4 # Mr.Coffee (JavaStation 1) machine description file
5 #
6 # This configuration is for machines using Open Boot Prom only!
7 # The OpenFirmware-variants of JavaStation 1 should use the MRCOFFEE_OFW
8 # kernel.
9 #
10
11 include "arch/sparc/conf/std.sparc"
12
13 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
14
15 #ident "MRCOFFEE-$Revision: 1.36 $"
16
17 maxusers 32
18
19 ## System kernel configuration. See options(4) for more detail.
20
21
22 # Options for variants of the Sun SPARC architecure.
23 # We currently support three architecture types; at least one is required.
24 options SUN4M # sun4m - SS10, SS20, Classic, etc.
25
26
27 ## System options specific to the sparc machine type
28
29 # Blink the power LED on some machines to indicate the system load.
30 #options BLINK
31
32 # builtin terminal emulations
33 options WSEMUL_SUN # sun terminal emulation
34 options WSEMUL_VT100 # VT100 / VT220 emulation
35 options WSEMUL_DEFAULT="\"vt100\""
36
37 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
38 options WSDISPLAY_COMPAT_RAWKBD
39 options WSDISPLAY_CUSTOM_OUTPUT
40 options WS_DEFAULT_FG=WSCOL_BLACK
41 options WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
42 options WS_KERNEL_FG=WSCOL_GREEN
43 options WS_KERNEL_BG=WSCOL_LIGHT_WHITE
44 options WSDISPLAY_SCROLLSUPPORT
45 options FONT_GALLANT12x22 # the console font
46
47
48 #### System options that are the same for all ports
49
50 ## Root device configuration: change the ?'s if you are going to use a
51 ## nonstandard root partition (other than where the kernel is booted from)
52 ## and/or nonstandard root type (not ffs or nfs). Normally this can be
53 ## automagically determined at boot time.
54
55 config netbsd root on ? type ?
56
57 ## System call tracing (see ktrace(1)).
58 options KTRACE
59
60 ## Collect statistics on kernel malloc's and free's. This does have a
61 ## significant performance hit on slower machines, so it is intended for
62 ## diagnostic use only.
63 #options KMEMSTATS
64
65 ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
66 options SYSVMSG # System V message queues
67 options SYSVSEM # System V semaphores
68 #options SEMMNI=10 # number of semaphore identifiers
69 #options SEMMNS=60 # number of semaphores in system
70 #options SEMUME=10 # max number of undo entries per process
71 #options SEMMNU=30 # number of undo structures in system
72 options SYSVSHM # System V shared memory
73
74 options USERCONF # userconf(4) support
75 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
76 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
77
78 # Enable experimental buffer queue strategy for better responsiveness under
79 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
80 #options BUFQ_READPRIO
81 #options BUFQ_PRIOCSCAN
82
83 ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
84 options NFS_BOOT_BOOTPARAM
85 #options NFS_BOOT_BOOTP
86 options NFS_BOOT_DHCP
87
88 #### Debugging options
89
90 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
91 ## serial console break or keyboard reset, where the PROM would normally
92 ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
93 options DDB # kernel dynamic debugger
94 options DDB_HISTORY_SIZE=100 # enable history editing in DDB
95 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
96
97 ## You may also use gdb, on another computer connected to this machine over
98 ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
99 ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
100 ## the minor device number encodes the PROM enumeration of the serial ports,
101 ## i.e.:
102 ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
103 ## (Note: ttyc and ttyd are available only on some sun4 models)
104 #options KGDB # support for kernel gdb
105 #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
106 #options KGDB_DEVRATE=38400 # baud rate
107
108
109 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
110 ## such that gdb(1) can be used on a kernel coredump.
111
112 #makeoptions DEBUG="-g"
113 makeoptions COPTS="-pipe -mcpu=supersparc -O2"
114
115
116
117 ## Adds code to the kernel that does internal consistency checks, and will
118 ## cause the kernel to panic if corruption of internal data structures
119 ## is detected.
120 #options DIAGNOSTIC # extra kernel sanity checking
121
122 ## Enable (possibly expensive) debugging code that may also display messages
123 ## on the system console
124 #options DEBUG
125 #options LOCKDEBUG
126 #options SYSCALL_DEBUG
127
128 ## Make SCSI error messages more verbose when explaining their meanings.
129 options SCSIVERBOSE
130
131 options MIIVERBOSE # verbose PHY autoconfig messages
132
133 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
134 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
135 ## and other insecurities good only for development work. Do not use this
136 ## option on a production machine.
137 #options INSECURE
138
139 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
140 ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
141 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
142 ## opaque file mechanism. Perl calls this "secure setuid scripts."
143
144 #options FDSCRIPTS
145 #options SETUIDSCRIPTS
146
147 ## Options for compatibility with previous releases foreign system binaries.
148 ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
149 ## additional user-level utilities or system configuration files. See
150 ## compat_sunos(8) and compat_svr4(8).
151
152 options COMPAT_43 # 4.3BSD system interfaces
153 options COMPAT_10 # NetBSD 1.0 binary compatibility
154 options COMPAT_11 # NetBSD 1.1 binary compatibility
155 options COMPAT_12 # NetBSD 1.2 binary compatibility
156 options COMPAT_13 # NetBSD 1.3 binary compatibility
157 options COMPAT_14 # NetBSD 1.4 binary compatibility
158 options COMPAT_15 # NetBSD 1.5 binary compatibility
159 options COMPAT_16 # NetBSD 1.6 binary compatibility
160 options COMPAT_20 # NetBSD 2.0 binary compatibility
161 options COMPAT_30 # NetBSD 3.0 binary compatibility
162 options COMPAT_40 # NetBSD 4.0 binary compatibility
163 options COMPAT_50 # NetBSD 5.0 binary compatibility
164 options COMPAT_SUNOS # SunOS 4.x binary compatibility
165 options COMPAT_SVR4 # SunOS 5.x binary compatibility
166 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
167
168 ## File systems. You probably need at least one of FFS or NFS.
169 file-system FFS # Berkeley Fast Filesystem
170 file-system NFS # Sun NFS-compatible filesystem client
171 file-system KERNFS # kernel data-structure filesystem
172 file-system NULLFS # NULL layered filesystem
173 file-system OVERLAY # overlay file system
174 file-system MFS # memory-based filesystem
175 file-system FDESC # user file descriptor filesystem
176 file-system UMAPFS # uid/gid remapping filesystem
177 #file-system LFS # Log-based filesystem (still experimental)
178 file-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs)
179 file-system PROCFS # /proc
180 #file-system CD9660 # ISO 9660 + Rock Ridge file system
181 #file-system UNION # union file system
182 #file-system MSDOSFS # MS-DOS FAT filesystem(s).
183 #file-system CODA # Coda File System; also needs vcoda (below)
184 file-system PTYFS # /dev/pts/N support
185 #file-system TMPFS # Efficient memory file-system
186 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
187
188 ## File system options.
189 #options NFSSERVER # Sun NFS-compatible filesystem server
190 #options QUOTA # legacy UFS quotas
191 #options QUOTA2 # new, in-filesystem UFS quotas
192 #options FFS_EI # FFS Endian Independent support
193 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
194 options FFS_NO_SNAPSHOT # No FFS snapshot support
195
196 ## Network protocol support. In most environments, INET is required.
197 options INET # IP (Internet Protocol) v4
198 options INET6 # IPV6
199 #options IPSEC # IP security
200 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
201 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
202 #options IPSEC_DEBUG # debug for IP security
203 #options GATEWAY # packet forwarding ("router switch")
204 #options MROUTING # packet forwarding of multicast packets
205 #options PIM # Protocol Independent Multicast
206 #options DIRECTED_BROADCAST # allow broadcasts through routers
207 options ISO,TPIP # OSI networking
208 #options EON # OSI tunneling over IP
209 #options NETATALK # AppleTalk (over Ethernet) protocol
210 options NTP # Network Time Protocol in-kernel support
211 #options PPS_SYNC # Add serial line synchronization for NTP
212 #options PFIL_HOOKS # Add pfil(9) packet filter hooks
213 #options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
214 #options IPFILTER_LOOKUP # ippool(8) support
215 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
216 #options PPP_BSDCOMP # Add BSD compression to ppp device
217 #options PPP_DEFLATE # Add deflate (libz) compression to ppp device
218 #options PPP_FILTER # Add active filters for ppp (via bpf)
219
220
221
222 #### Main bus and CPU .. all systems.
223 mainbus0 at root
224 cpu0 at mainbus0
225
226 #### Bus types found on SPARC systems.
227
228 obio0 at mainbus0 # sun4 and sun4m
229
230 iommu0 at mainbus0 # sun4m
231 sbus0 at iommu0 # sun4m
232
233
234 #### Standard system devices -- all required for a given architecture
235
236 ## Auxiliary system registers on sun4c and sun4m
237 auxreg0 at obio0 # sun4m
238
239 ## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems.
240 clock0 at obio0 # sun4m
241
242 ## Timer chip found on 4/300, sun4c, and sun4m systems.
243 timer0 at obio0 # sun4m
244
245
246 #### Serial port configuration
247
248 ## NS16x50 serial chips and clones. Present on the
249 ## Sun JavaStation-1 and Tadpole SPARCbook 3
250 com0 at obio0 # sun4m
251
252
253 #### Keyboard and mouse
254
255 pckbc0 at obio0
256 #kbd0 at pckbc0
257 #ms0 at pckbc0
258 #wskbd* at kbd? console ?
259 #wsmouse* at ms? mux 0
260 pckbd* at pckbc? # PC keyboard
261 pms* at pckbc? # PS/2 mouse for wsmouse
262 wskbd* at pckbd? console ?
263 wsmouse* at pms? mux 0
264
265 #### Disk controllers and disks
266
267 ## A disk-like interface to files. Can be used to create floppy, CD,
268 ## miniroot images, etc.
269
270 #pseudo-device vnd
271 #options VND_COMPRESSION # compressed vnd(4)
272
273 #### Network interfaces
274
275 ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
276 ledma0 at sbus0 slot ? offset ? # sun4m on-board
277 le0 at ledma0 # sun4m on-board
278
279
280 ## Loopback network interface; required
281 pseudo-device loop
282
283 ## SLIP and CSLIP interfaces, for IP over a serial line.
284 #pseudo-device sl
285
286 ## PPP, the successor to SLIP. See pppd(8).
287 #pseudo-device ppp
288
289 ## PPP over Ethernet (RFC 2516)
290 #pseudo-device pppoe
291
292 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
293 ## This is used by the third-party user-mode "ppp" program, and others.
294 #pseudo-device tun
295 #pseudo-device tap # virtual Ethernet
296
297 ## Generic L3 over IP tunnel
298 #pseudo-device gre # generic L3 over IP tunnel
299
300 ## Berkeley Packet Filter, required to run RARPD. A generic C-language
301 ## interface that allows selective examining of incoming packets.
302 pseudo-device bpfilter
303
304 #pseudo-device carp # Common Address Redundancy Protocol
305
306 ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
307 ## one example of the use of the IP Filter.
308 #pseudo-device ipfilter
309
310 ## for IPv6
311 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
312 #pseudo-device faith # IPv[46] tcp relay translation i/f
313 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
314
315 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
316 #pseudo-device vlan
317
318 #### Audio and video devices
319
320 ## /dev/audio support (`audiocs' plus `audio')
321 ##
322 audiocs0 at sbus0 slot ? offset ? # SUNW,CS4231
323 audio0 at audiocs0
324
325 ## Sun "tcx" accelerated color framebuffer.
326 tcx0 at sbus? slot ? offset ?
327 wsdisplay0 at tcx0
328
329 #### Other device configuration
330
331 ## Pseudo ttys, required for network logins and programs like screen.
332
333 pseudo-device pty # pseudo-terminals
334
335 ## Random device, used to implement /dev/random (a source of random noise),
336 ## and generate randomness for some kernel formulae.
337
338
339 # a pseudo device needed for Coda # also needs CODA (above)
340 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
341
342 pseudo-device clockctl # user control of clock subsystem
343 pseudo-device ksyms # /dev/ksyms
344 pseudo-device putter # for puffs and pud
345
346 pseudo-device wsmux # mouse and keyboard multiplexor
347 pseudo-device wsfont
348