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