MRCOFFEE revision 1.7 1 1.7 dsl # $NetBSD: MRCOFFEE,v 1.7 2005/02/18 21:05:54 dsl Exp $
2 1.2 uwe # From: NetBSD: GENERIC,v 1.160 2004/07/10 12:05:35 uwe 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.7 dsl #ident "MRCOFFEE-$Revision: 1.7 $"
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.1 martin # XXX: uwe: TCX driver doesn't support RASTERCONSOLE, so don't bother
33 1.1 martin ## Use a faster console than the PROM's slow drawing routines. Not needed
34 1.1 martin ## for headless (no framebuffer) machines.
35 1.1 martin #options RASTERCONSOLE # fast rasterop console
36 1.1 martin #options FONT_GALLANT12x22 # the console font
37 1.1 martin #options FONT_BOLD8x16 # a somewhat smaller font
38 1.1 martin ## default console colors: black-on-white; this can be changed
39 1.1 martin ## using the following two options.
40 1.1 martin #options RASTERCONSOLE_FGCOL=WSCOL_BLACK
41 1.1 martin #options RASTERCONSOLE_BGCOL=WSCOL_WHITE
42 1.1 martin
43 1.1 martin #### System options that are the same for all ports
44 1.1 martin
45 1.1 martin ## Root device configuration: change the ?'s if you are going to use a
46 1.1 martin ## nonstandard root partition (other than where the kernel is booted from)
47 1.1 martin ## and/or nonstandard root type (not ffs or nfs). Normally this can be
48 1.1 martin ## automagically determined at boot time.
49 1.1 martin
50 1.1 martin config netbsd root on ? type ?
51 1.1 martin
52 1.1 martin ## System call tracing (see ktrace(1)).
53 1.1 martin options KTRACE
54 1.1 martin options SYSTRACE # system call vetting via systrace(1)
55 1.1 martin
56 1.1 martin ## Collect statistics on kernel malloc's and free's. This does have a
57 1.1 martin ## significant performance hit on slower machines, so it is intended for
58 1.1 martin ## diagnostic use only.
59 1.1 martin #options KMEMSTATS
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 #options SHMMAXPGS=1024 # 1024 pages is the default
70 1.2 uwe options P1003_1B_SEMAPHORE # p1003.1b semaphore support
71 1.1 martin
72 1.1 martin ## Loadable kernel module support; still under development.
73 1.1 martin options LKM
74 1.1 martin
75 1.1 martin options USERCONF # userconf(4) support
76 1.1 martin #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
77 1.3 atatat options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
78 1.1 martin
79 1.1 martin # Enable experimental buffer queue strategy for better responsiveness under
80 1.1 martin # high disk I/O load. Use it with caution - it's not proven to be stable yet.
81 1.1 martin #options NEW_BUFQ_STRATEGY
82 1.1 martin
83 1.1 martin ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
84 1.1 martin options NFS_BOOT_BOOTPARAM
85 1.1 martin #options NFS_BOOT_BOOTP
86 1.1 martin options NFS_BOOT_DHCP
87 1.1 martin
88 1.1 martin #### Debugging options
89 1.1 martin
90 1.1 martin ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
91 1.1 martin ## serial console break or keyboard reset, where the PROM would normally
92 1.1 martin ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
93 1.1 martin #options DDB # kernel dynamic debugger
94 1.1 martin #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
95 1.1 martin #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
96 1.1 martin
97 1.1 martin ## You may also use gdb, on another computer connected to this machine over
98 1.1 martin ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
99 1.1 martin ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
100 1.1 martin ## the minor device number encodes the PROM enumeration of the serial ports,
101 1.1 martin ## i.e.:
102 1.1 martin ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
103 1.1 martin ## (Note: ttyc and ttyd are available only on some sun4 models)
104 1.1 martin #options KGDB # support for kernel gdb
105 1.1 martin #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
106 1.1 martin #options KGDB_DEVRATE=38400 # baud rate
107 1.1 martin
108 1.1 martin
109 1.1 martin ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
110 1.1 martin ## such that gdb(1) can be used on a kernel coredump.
111 1.1 martin
112 1.1 martin #makeoptions DEBUG="-g"
113 1.1 martin makeoptions COPTS="-pipe -mcpu=supersparc -O2"
114 1.1 martin
115 1.1 martin
116 1.1 martin
117 1.1 martin ## Adds code to the kernel that does internal consistency checks, and will
118 1.1 martin ## cause the kernel to panic if corruption of internal data structures
119 1.1 martin ## is detected.
120 1.1 martin #options DIAGNOSTIC # extra kernel sanity checking
121 1.1 martin
122 1.1 martin ## Enable (possibly expensive) debugging code that may also display messages
123 1.1 martin ## on the system console
124 1.1 martin #options DEBUG
125 1.1 martin
126 1.1 martin ## Make SCSI error messages more verbose when explaining their meanings.
127 1.1 martin options SCSIVERBOSE
128 1.1 martin
129 1.1 martin options MIIVERBOSE # verbose PHY autoconfig messages
130 1.1 martin
131 1.1 martin ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
132 1.1 martin ## This allows writing to /dev/mem, loading kernel modules while multi-user,
133 1.1 martin ## and other insecurities good only for development work. Do not use this
134 1.1 martin ## option on a production machine.
135 1.1 martin #options INSECURE
136 1.1 martin
137 1.1 martin ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
138 1.1 martin ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
139 1.1 martin ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
140 1.1 martin ## opaque file mechanism. Perl calls this "secure setuid scripts."
141 1.1 martin
142 1.1 martin #options FDSCRIPTS
143 1.1 martin #options SETUIDSCRIPTS
144 1.1 martin
145 1.1 martin ## Options for compatibility with previous releases foreign system binaries.
146 1.1 martin ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
147 1.1 martin ## additional user-level utilities or system configuration files. See
148 1.1 martin ## compat_sunos(8) and compat_svr4(8).
149 1.1 martin
150 1.1 martin options COMPAT_43 # 4.3BSD system interfaces
151 1.1 martin options COMPAT_10 # NetBSD 1.0 binary compatibility
152 1.1 martin options COMPAT_11 # NetBSD 1.1 binary compatibility
153 1.1 martin options COMPAT_12 # NetBSD 1.2 binary compatibility
154 1.1 martin options COMPAT_13 # NetBSD 1.3 binary compatibility
155 1.1 martin options COMPAT_14 # NetBSD 1.4 binary compatibility
156 1.1 martin options COMPAT_16 # NetBSD 1.6 binary compatibility
157 1.2 uwe options COMPAT_20 # NetBSD 2.0 binary compatibility
158 1.1 martin options COMPAT_SUNOS # SunOS 4.x binary compatibility
159 1.1 martin options COMPAT_SVR4 # SunOS 5.x binary compatibility
160 1.5 christos options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
161 1.1 martin
162 1.1 martin ## File systems. You probably need at least one of FFS or NFS.
163 1.2 uwe file-system FFS # Berkeley Fast Filesystem
164 1.1 martin file-system NFS # Sun NFS-compatible filesystem client
165 1.1 martin file-system KERNFS # kernel data-structure filesystem
166 1.1 martin file-system NULLFS # NULL layered filesystem
167 1.1 martin file-system OVERLAY # overlay file system
168 1.1 martin file-system MFS # memory-based filesystem
169 1.1 martin file-system FDESC # user file descriptor filesystem
170 1.1 martin file-system UMAPFS # uid/gid remapping filesystem
171 1.1 martin #file-system LFS # Log-based filesystem (still experimental)
172 1.1 martin file-system PORTAL # portal filesystem (still experimental)
173 1.1 martin file-system PROCFS # /proc
174 1.1 martin #file-system CD9660 # ISO 9660 + Rock Ridge file system
175 1.1 martin #file-system UNION # union file system
176 1.1 martin #file-system MSDOSFS # MS-DOS FAT filesystem(s).
177 1.1 martin #file-system CODA # Coda File System; also needs vcoda (below)
178 1.1 martin
179 1.1 martin ## File system options.
180 1.1 martin #options NFSSERVER # Sun NFS-compatible filesystem server
181 1.1 martin #options QUOTA # FFS quotas
182 1.1 martin #options FFS_EI # FFS Endian Independent support
183 1.1 martin #options SOFTDEP # FFS soft updates support.
184 1.7 dsl options FFS_NO_SNAPSHOT # ffs snapshots
185 1.1 martin
186 1.1 martin ## Network protocol support. In most environments, INET is required.
187 1.1 martin options INET # IP (Internet Protocol) v4
188 1.1 martin options INET6 # IPV6
189 1.1 martin #options IPSEC # IP security
190 1.1 martin #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
191 1.1 martin #options IPSEC_DEBUG # debug for IP security
192 1.1 martin #options GATEWAY # packet forwarding ("router switch")
193 1.1 martin #options MROUTING # packet forwarding of multicast packets
194 1.4 manu #options PIM # Protocol Independent Multicast
195 1.1 martin #options DIRECTED_BROADCAST # allow broadcasts through routers
196 1.1 martin options NS # Xerox NS networking
197 1.1 martin #options NSIP # Xerox NS tunneling over IP
198 1.1 martin options ISO,TPIP # OSI networking
199 1.1 martin #options EON # OSI tunneling over IP
200 1.1 martin #options CCITT,LLC,HDLC # X.25 packet switched protocol
201 1.1 martin #options NETATALK # AppleTalk (over Ethernet) protocol
202 1.1 martin options NTP # Network Time Protocol in-kernel support
203 1.1 martin #options PPS_SYNC # Add serial line synchronization for NTP
204 1.1 martin #options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
205 1.1 martin #options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
206 1.1 martin #options IPFILTER_DEFAULT_BLOCK # block all packets by default
207 1.1 martin #options PPP_BSDCOMP # Add BSD compression to ppp device
208 1.1 martin #options PPP_DEFLATE # Add deflate (libz) compression to ppp device
209 1.1 martin #options PPP_FILTER # Add active filters for ppp (via bpf)
210 1.1 martin
211 1.1 martin
212 1.1 martin
213 1.1 martin #### Main bus and CPU .. all systems.
214 1.1 martin mainbus0 at root
215 1.1 martin cpu0 at mainbus0
216 1.1 martin
217 1.1 martin #### Bus types found on SPARC systems.
218 1.1 martin
219 1.1 martin obio0 at mainbus0 # sun4 and sun4m
220 1.1 martin
221 1.1 martin iommu0 at mainbus0 # sun4m
222 1.1 martin sbus0 at iommu0 # sun4m
223 1.1 martin
224 1.1 martin
225 1.1 martin #### Standard system devices -- all required for a given architecture
226 1.1 martin
227 1.1 martin ## Auxiliary system registers on sun4c and sun4m
228 1.1 martin auxreg0 at obio0 # sun4m
229 1.1 martin
230 1.2 uwe ## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems.
231 1.1 martin clock0 at obio0 # sun4m
232 1.1 martin
233 1.1 martin ## Timer chip found on 4/300, sun4c, and sun4m systems.
234 1.1 martin timer0 at obio0 # sun4m
235 1.1 martin
236 1.1 martin
237 1.1 martin #### Serial port configuration
238 1.1 martin
239 1.1 martin ## NS16x50 serial chips and clones. Present on the
240 1.1 martin ## Sun JavaStation-1 and Tadpole SPARCbook 3
241 1.1 martin com0 at obio0 # sun4m
242 1.1 martin
243 1.1 martin
244 1.1 martin #### Keyboard and mouse
245 1.1 martin
246 1.1 martin pckbc0 at obio0
247 1.1 martin kbd0 at pckbc0
248 1.1 martin ms0 at pckbc0
249 1.1 martin
250 1.1 martin
251 1.1 martin #### Disk controllers and disks
252 1.1 martin
253 1.1 martin ## A disk-like interface to files. Can be used to create floppy, CD,
254 1.1 martin ## miniroot images, etc.
255 1.1 martin
256 1.1 martin #pseudo-device vnd 4
257 1.1 martin
258 1.1 martin
259 1.1 martin #### Network interfaces
260 1.1 martin
261 1.1 martin ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
262 1.1 martin ledma0 at sbus0 slot ? offset ? # sun4m on-board
263 1.1 martin le0 at ledma0 # sun4m on-board
264 1.1 martin
265 1.1 martin
266 1.1 martin ## Loopback network interface; required
267 1.1 martin pseudo-device loop
268 1.1 martin
269 1.1 martin ## SLIP and CSLIP interfaces, for IP over a serial line.
270 1.1 martin #pseudo-device sl 2
271 1.1 martin
272 1.1 martin ## PPP, the successor to SLIP. See pppd(8).
273 1.1 martin #pseudo-device ppp 2
274 1.1 martin
275 1.1 martin ## PPP over Ethernet (RFC 2516)
276 1.1 martin #pseudo-device pppoe
277 1.1 martin
278 1.1 martin ## Network "tunnel" device, allowing protocol stacks to run in the userland.
279 1.1 martin ## This is used by the third-party user-mode "ppp" program, and others.
280 1.1 martin #pseudo-device tun 4
281 1.1 martin
282 1.1 martin ## Generic L3 over IP tunnel
283 1.1 martin #pseudo-device gre 2 # generic L3 over IP tunnel
284 1.1 martin
285 1.1 martin ## Berkeley Packet Filter, required to run RARPD. A generic C-language
286 1.1 martin ## interface that allows selective examining of incoming packets.
287 1.1 martin pseudo-device bpfilter 8
288 1.1 martin
289 1.1 martin ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
290 1.1 martin ## one example of the use of the IP Filter.
291 1.1 martin #pseudo-device ipfilter
292 1.1 martin
293 1.1 martin ## for IPv6
294 1.1 martin #pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
295 1.1 martin #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
296 1.1 martin #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
297 1.1 martin
298 1.1 martin ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
299 1.1 martin #pseudo-device vlan
300 1.1 martin
301 1.1 martin #### Audio and video devices
302 1.1 martin
303 1.1 martin ## /dev/audio support (`audiocs' plus `audio')
304 1.1 martin ##
305 1.1 martin audiocs0 at sbus0 slot ? offset ? # SUNW,CS4231
306 1.1 martin audio0 at audiocs0
307 1.1 martin
308 1.1 martin ## Sun "tcx" accelerated color framebuffer.
309 1.1 martin tcx0 at sbus? slot ? offset ?
310 1.1 martin
311 1.1 martin
312 1.1 martin #### Other device configuration
313 1.1 martin
314 1.1 martin ## Pseudo ttys, required for network logins and programs like screen.
315 1.1 martin
316 1.1 martin pseudo-device pty # pseudo-terminals
317 1.1 martin
318 1.1 martin ## Random device, used to implement /dev/random (a source of random noise),
319 1.1 martin ## and generate randomness for some kernel formulae.
320 1.1 martin
321 1.1 martin pseudo-device rnd
322 1.1 martin
323 1.1 martin # a pseudo device needed for Coda # also needs CODA (above)
324 1.1 martin #pseudo-device vcoda 4 # coda minicache <-> venus comm.
325 1.1 martin
326 1.1 martin pseudo-device clockctl # user control of clock subsystem
327 1.1 martin pseudo-device ksyms # /dev/ksyms
328