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