GENERIC revision 1.2
1# 	$NetBSD: GENERIC,v 1.2 1998/06/26 01:54:09 lukem Exp $
2
3include "arch/sparc64/conf/std.sparc64"
4
5maxusers	32
6
7## System kernel configuration.  See options(4) for more detail.
8
9
10# Options for variants of the Sun SPARC architecure.
11# We currently support three architecture types; at least one is required.
12options		SUN4U		# sun4u - Ultra 140 and 170
13options		TRAPWIN
14
15## System options specific to the sparc machine type
16
17## Use a faster console than the PROM's slow drawing routines.  Not needed
18## for headless (no framebuffer) machines.
19options 	RASTERCONSOLE	# fast rasterop console
20
21
22#### System options that are the same for all ports
23
24## Root device configuration: change the ?'s if you are going to use a
25## nonstandard root partition (other than where the kernel is booted from)
26## and/or nonstandard root type (not ffs or nfs).  Normally this can be
27## automagically determined at boot time.
28
29config		netbsd	root on ? type ?
30
31## Virtual memory configuration.  There are two choices, the old Mach
32## based VM system, or the new UVM system.
33options 	OLDVM		# MACH VM
34#options 	UVM		# UVM VM
35
36## System call tracing (see ktrace(1)).
37options 	KTRACE
38
39## Collect statistics on kernel malloc's and free's.  This does have a
40## significant performance hit on slower machines, so it is intended for
41## diagnostic use only.
42#options 	KMEMSTATS
43
44## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
45options 	SYSVMSG		# System V message queues
46options 	SYSVSEM		# System V semaphores
47options 	SYSVSHM		# System V shared memory
48#options 	SHMMAXPGS=1024	# 1024 pages is the default
49
50## Loadable kernel module support; still under development.
51options 	LKM
52
53## NFS boot options; default on sparc is the bootparam protocol
54options 	NFS_BOOT_BOOTPARAM
55#options 	NFS_BOOT_BOOTP
56#options 	NFS_BOOT_DHCP
57
58#### Debugging options
59
60## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
61## serial console break or keyboard reset, where the PROM would normally
62## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
63#options 	DDB			# kernel dynamic debugger
64#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
65#options 	DDB_ONPANIC		# see also sysctl(8): `ddb.onpanic'
66
67## You may also use gdb, on another computer connected to this machine over
68## a serial port.  Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is
69## a dev_t encoded device number of the serial port to use.
70## (0xc01 = ttya, 0xc02 = ttyb.)
71#options 	KGDB		# support for kernel gdb
72#options 	KGDBDEV=0xc01	# kgdb device number (this sample is `ttyb')
73#options 	KGDBRATE=38400	# baud rate
74
75
76## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
77## such that gdb(1) can be used on a kernel coredump.
78
79#makeoptions 	DEBUG="-g"
80
81
82## Adds code to the kernel that does internal consistency checks, and will
83## cause the kernel to panic if corruption of internal data structures
84## is detected.
85#options 	DIAGNOSTIC	# extra kernel sanity checking
86
87## Enable (possibly expensive) debugging code that may also display messages
88## on the system console
89#options 	DEBUG
90
91## Make SCSI error messages more verbose when explaining their meanings.
92options 	SCSIVERBOSE
93
94## `INSECURE' turns off the kernel security level (securelevel = 0 always).
95## This allows writing to /dev/mem, loading kernel modules while multi-user,
96## and other insecurities good only for development work.  Do not use this
97## option on a production machine.
98#options 	INSECURE
99
100## Allow non-root users to grab /dev/console with programs such as xconsole.
101## `xconsole' therefore does not need setuid root with this option enabled.
102#options 	UCONSOLE
103
104## `FDSCRIPTS' allows non-readable but executable scripts by providing a
105## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
106## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
107## opaque file mechanism.  Perl calls this "secure setuid scripts."
108
109#options 	FDSCRIPTS
110#options 	SETUIDSCRIPTS
111
112## Options for compatibility with previous releases foreign system binaries.
113## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
114## additional user-level utilities or system configuration files. See
115## compat_sunos(8) and compat_svr4(8).
116
117options 	COMPAT_43	# 4.3BSD system interfaces
118options 	COMPAT_10	# NetBSD 1.0 binary compatibility
119options 	COMPAT_11	# NetBSD 1.1 binary compatibility
120options 	COMPAT_12	# NetBSD 1.2 binary compatibility
121options 	COMPAT_13	# NetBSD 1.3 binary compatibility
122options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
123options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
124options 	EXEC_ELF32	# Exec module for SunOS 5.x binaries.
125#options		EXEC_ELF64	# Exec module for SunOS 5.x binaries.
126options		__ELF__
127
128## File systems.  You probably need at least one of FFS or NFS.
129file-system	FFS		# Berkeley Fast Filesystem
130file-system	NFS		# Sun NFS-compatible filesystem client
131file-system	KERNFS		# kernel data-structure filesystem
132file-system	NULLFS		# NULL layered filesystem
133file-system	MFS		# memory-based filesystem
134file-system	FDESC		# user file descriptor filesystem
135file-system	UMAPFS		# uid/gid remapping filesystem
136file-system	LFS		# Log-based filesystem (still experimental)
137file-system	PORTAL		# portal filesystem (still experimental)
138file-system	PROCFS		# /proc
139file-system	CD9660		# ISO 9660 + Rock Ridge file system
140file-system	UNION		# union file system
141file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
142
143## File system options.
144options 	NFSSERVER	# Sun NFS-compatible filesystem server
145options 	QUOTA		# FFS quotas
146#options 	FFS_EI		# FFS Endian Independent support
147
148## Network protocol support.  In most environments, INET is required.
149options 	INET		# IP (Internet Protocol) v4
150options 	TCP_COMPAT_42	# 4.2BSD IP implementation compatibility
151#options 	GATEWAY		# packet forwarding ("router switch")
152#options 	MROUTING	# packet forwarding of multicast packets
153#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
154options 	NS		# Xerox NS networking
155#options 	NSIP		# Xerox NS tunneling over IP
156options 	ISO,TPIP	# OSI networking
157options 	EON		# OSI tunneling over IP
158#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
159options 	NETATALK	# AppleTalk (over Ethernet) protocol
160#options 	NTP		# Network Time Protocol in-kernel support
161#options 	PPS_SYNC	# Add serial line synchronization for NTP
162#options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
163#options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
164#options 	PPP_BSDCOMP	# Add BSD compression to ppp device
165#options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
166#options 	PPP_FILTER	# Add active filters for ppp (via bpf)
167
168
169
170#### Main bus and CPU .. all systems.
171mainbus0 at root
172cpu0	at mainbus0
173
174#### Bus types found on SPARC systems.
175
176sbus0	at mainbus0				# sun4c and sun4u
177#upa0	at mainbus0				# Ultra 1E, Ultra 2, Ex0000
178#pci0	at mainbus0				# Darwin
179
180#### Standard system devices -- all required for a given architecture
181
182## Auxiliary system registers on sun4c and sun4m
183auxreg0 at sbus0
184
185# We also need:
186# bpp0 at sbus0					# parallel port
187
188## Power status and control register on Sun4m systems
189power0 at sbus0
190
191## Mostek clock found on 4/300, sun4c, and sun4m systems.
192## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
193clock0	at sbus0
194
195## Timer chip found on 4/300, sun4c, and sun4m systems.
196timer0	at mainbus0				# sun4c
197
198#### Serial port configuration
199
200## Zilog 8530 serial chips.  Each has two-channels.
201## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
202zs0	at sbus0
203zstty0	at zs0 channel 0	# ttya
204zstty1	at zs0 channel 1	# ttyb
205
206zs1	at sbus0
207kbd0	at zs1 channel 0	# keyboard
208ms0	at zs1 channel 1	# mouse
209
210#### Disk controllers and disks
211
212#
213
214## The following flags may be set for the NCR53c94 based esp driver:
215##	bits 0-7:  disable disconnect/reselect for the corresponding target
216##	bits 8-15: disable synchronous negotiation for target [bit-8]
217
218## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
219## Both `dma' and `esp' are needed in all cases.
220## Two kinds of additional SBus SCSI interfaces are available.  One uses
221## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
222
223## sun4/300 SCSI - an NCR53c94 or equivalent behind
224## an LSI Logic DMA controller
225
226dma0	at sbus0 slot ? offset ?			# sun4c/sun4m
227esp0	at dma0 flags 0x0000				# sun4m
228
229# FSBE/S SCSI
230dma*	at sbus? slot ? offset ?			# SBus
231esp*	at dma? flags 0x0000				# SBus
232
233scsibus* at esp?
234
235## Qlogic ISP SBus SCSI Card
236#isp*	at sbus? slot ? offset ?
237#scsibus* at isp?
238
239## These entries find devices on all SCSI busses and assign
240## unit numbers dynamically.
241sd*	at scsibus? target ? lun ?		# SCSI disks
242st*	at scsibus? target ? lun ?		# SCSI tapes
243cd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
244ch*	at scsibus? target ? lun ?		# SCSI changer devices
245ss*	at scsibus? target ? lun ?		# SCSI scanners
246uk*	at scsibus? target ? lun ?		# unknown SCSI
247
248
249## Floppy controller and drive found on SPARCstations.
250
251#fdc0	at sbus0
252#fd*	at fdc0					# the drive itself
253
254## A disk-like interface to files.  Can be used to create floppy, CD,
255## miniroot images, etc.
256
257pseudo-device	vnd	4
258
259## Concatenated and striped disks; with this, you can create a software-based
260## disk array similar to a "RAID 0" setup.  See ccd(4).
261
262pseudo-device	ccd	4
263
264## Memory disk device, used on boot floppies with compressed
265## kernel-plus-root-disk images.
266
267#pseudo-device	md	1
268
269
270#### Network interfaces
271
272## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
273## Three flavors of additional SBus ethernets are available.  One attaches
274## directly like the sun4c on-board, one uses the ledma device like the
275## sun4m on-board, and one uses the lebuffer device.
276
277ledma0		at sbus0 slot ? offset ?		# sun4m on-board
278le0		at ledma0				# sun4m on-board
279le*		at sbus? slot ? offset ?		# SBus
280ledma*		at sbus? slot ? offset ?		# SBus
281le*		at ledma?				# SBus
282lebuffer0	at sbus? slot ? offset ?		# SBus
283le0		at lebuffer?				# SBus
284lebuffer*	at sbus? slot ? offset ?		# SBus
285le*		at lebuffer?				# SBus
286
287
288## Loopback network interface; required
289pseudo-device	loop
290
291## SLIP and CSLIP interfaces, for IP over a serial line.
292pseudo-device	sl		2
293
294## PPP, the successor to SLIP.  See pppd(8).
295pseudo-device	ppp		2
296
297## Starmode Radio IP, a special hardware network device.
298#pseudo-device	strip		1
299
300## Network "tunnel" device, allowing protocol stacks to run in the userland.
301## This is used by the third-party user-mode "ppp" program, and others.
302pseudo-device	tun		4
303
304## Berkeley Packet Filter, required to run RARPD.  A generic C-language
305## interface that allows selective examining of incoming packets.
306pseudo-device	bpfilter	8
307
308## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
309## one example of the use of the IP Filter.
310pseudo-device	ipfilter
311
312
313#### Audio and video devices
314
315## /dev/audio support (`audioamd' plus `audio')
316##
317#audioamd0	at mainbus0				# sun4c
318#audioamd0	at obio0				# sun4m
319#audioamd0	at sbus0 slot ? offset ?		# sun4m
320#audio*		at audioamd0
321
322
323## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
324## systems.  If your sun4 system has a cgfour installed in the P4 slot,
325## the P4 entries for "bwtwo" will attach to the overlay plane of the
326## "cgfour".
327
328bwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
329bwtwo*		at sbus? slot ? offset ?		#
330
331## Sun "cgthree" Sbus color framebuffer
332cgthree0	at sbus? slot ? offset ?
333cgthree*	at sbus? slot ? offset ?
334
335## Sun "cgsix" accelerated color framebuffer.
336cgsix0		at sbus? slot ? offset ?
337cgsix*		at sbus? slot ? offset ?
338
339## Sun "tcx" accelerated color framebuffer.
340tcx0		at sbus? slot ? offset ?
341tcx*		at sbus? slot ? offset ?
342
343# Sun "cgfourteen" accelerated 24-bit framebuffer.
344cgfourteen0	at obio0			# sun4m
345
346
347#### Other device configuration
348
349## Pseudo ttys, required for network logins and programs like screen.
350## 32 is a good number for average systems; you may have as many as you
351## like, though 256 is more or less the upper limit.  Increasing this
352## number still requires you to run /dev/MAKEDEV to create the files
353## for the ptys.
354
355pseudo-device	pty		32	# pseudo-ttys (for network, etc.)
356
357## Random device, used to implement /dev/random (a source of random noise),
358## and generate randomness for some kernel formulae.
359## THIS DEVICE IS EXPERIMENTAL; use at your own risk.
360
361#pseudo-device	rnd
362