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