GENERIC revision 1.79
1# $NetBSD: GENERIC,v 1.79 2001/06/30 11:00:37 darcy Exp $
2
3# GENERIC Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E)
4# Supports root on: ie0, le0, sd*, ...
5
6include "arch/sun3/conf/std.sun3"
7
8#ident 		"GENERIC-$Revision: 1.79 $"
9
10# Machines to be supported by this kernel
11options 	FPU_EMULATE
12options 	HAVECACHE		# Sun3/260 VAC
13
14# Needs to be set per system.  i.e change these as you see fit
15maxusers	4
16
17# Standard system options
18options 	KTRACE		# system call tracing
19options 	SYSVMSG		# System V message queues
20options 	SYSVSEM		# System V semaphores
21#options	SEMMNI=10	# number of semaphore identifiers
22#options	SEMMNS=60	# number of semaphores in system
23#options	SEMUME=10	# max number of undo entries per process
24#options	SEMMNU=30	# number of undo structures in system
25options 	SYSVSHM		# System V shared memory
26#options 	SHMMAXPGS=1024	# 1024 pages is the default
27options 	LKM		# loadable kernel modules
28#options 	INSECURE	# disable kernel security level
29#options 	UCONSOLE	# Allow non-root TIOCCONS
30
31# Which kernel debugger?  Uncomment either this:
32options 	DDB
33# ... or these for KGDB (gdb remote target)
34#makeoptions DEBUG="-g"		# debugging symbols for gdb
35#options 	KGDB
36#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
37
38# Other debugging options
39#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
40#options 	DEBUG		# kernel debugging code
41#options 	DIAGNOSTIC	# extra kernel sanity checking
42#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
43#options 	PMAP_DEBUG
44#options 	SCSIDEBUG
45#options 	SCSIVERBOSE		# Verbose SCSI errors
46
47# Compatibility options
48options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
49#options 	COMPAT_SVR4	# can run SVR4 executables
50options 	COMPAT_43	# and 4.3BSD and ...
51options 	COMPAT_10	# NetBSD 1.0
52options 	COMPAT_11	# NetBSD 1.1
53options 	COMPAT_12	# NetBSD 1.2
54options 	COMPAT_13	# NetBSD 1.3
55options 	COMPAT_14	# NetBSD 1.4
56options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
57#options 	COMPAT_LINUX	# can run Linux/m68k executables
58options 	EXEC_AOUT	# support for a.out executables
59
60# Filesystem options
61file-system	FFS		# Berkeley Fast Filesystem
62file-system	NFS		# Sun NFS client support
63file-system	CD9660		# ISO 9660 + Rock Ridge file system
64file-system	FDESC		# /dev/fd/*
65file-system	KERNFS		# /kern
66file-system	NULLFS		# loopback file system
67file-system 	OVERLAY		# overlay file system
68file-system	PROCFS		# /proc
69file-system	UNION		# union file system
70file-system	MFS		# memory-based filesystem
71
72options 	NFSSERVER	# nfs server support
73options 	QUOTA		# FFS quotas
74#options 	FFS_EI		# FFS Endian Independant support
75options 	SOFTDEP         # FFS soft updates support.
76
77# Networking options
78options 	INET		# IP prototol stack support
79options 	INET6		# IPV6
80#options 	IPSEC		# IP security
81#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
82#options 	IPSEC_DEBUG	# debug for IP security
83options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
84#options 	GATEWAY		# IP packet forwarding
85#options 	ISO,TPIP	# OSI networking
86#options 	EON		# OSI tunneling over IP
87#options 	CCITT,LLC,HDLC	# X.25
88options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
89
90# Work-around for root on slow servers (insurance...)
91options 	NFS_BOOT_RWSIZE=1024
92options 	NFS_BOOT_BOOTPARAM
93
94config		netbsd root on ? type ?
95
96# On-board I/O space (required)
97include "arch/sun3/conf/obio.sun3"
98
99# On-board memory (optional)
100# See frame-buffers
101obmem0 at mainbus?
102
103# VME bus support (optional)
104# One unit for each address space
105vme0 at mainbus? # A16/D16
106vme1 at mainbus? # A16/D32
107vme2 at mainbus? # A24/D16
108vme3 at mainbus? # A24/D32
109vme4 at mainbus? # A32/D16
110vme5 at mainbus? # A32/D32
111
112#
113# Serial ports
114#
115zstty0	at zsc1 channel 0	# ttya
116zstty1	at zsc1 channel 1	# ttyb
117
118kbd0	at zsc0 channel 0	# keyboard
119ms0	at zsc0 channel 1	# mouse
120
121#
122# Network devices
123#
124
125# Intel Ethernet (onboard, or VME)
126ie0 at obio0 addr 0x0C0000 ipl 3
127ie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
128
129# Lance Ethernet (only onboard)
130le0 at obio0 addr 0x120000 ipl 3
131
132# All Sun3 machines with an "le" (3/50, 3/60) should be
133# presumed to have the old, buggy LANCE chip. (Rev. C)
134options 	LANCE_REVC_BUG
135
136#
137# Disk and tape devices
138#
139
140# Sun3 "si" SCSI controller (NCR 5380)
141# This driver has several flags which may be enabled using
142# the "flags" directive.  Valid flags are:
143#
144# 0x000ff	Set (1<<target) to disable disconnect/reselect
145# 0x0ff00	Set (1<<(target+8)) to disable parity checking
146# 0x10000	Set this bit to disable DMA interrupts (poll)
147# 0x20000	Set this bit to disable DMA entirely (use PIO)
148#
149# For example: "flags 0x1000f" would disable DMA interrupts,
150# and disable disconnect/reselect for targets 0-3
151si0 at obio0 addr 0x140000 ipl 2
152si0 at vme2  addr 0x200000 ipl 2 vect 0x40
153si1 at vme2  addr 0x204000 ipl 2 vect 0x41
154
155# Xylogics 450/451 controllers (VME A16/D16)
156xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
157xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
158xy* at xyc? drive ?
159
160# Xylogics 7053 controllers (VME A16/D32)
161xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
162xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
163xd* at xdc? drive ?
164
165# Xylogics 472 tape controllers?
166
167# Sun3/E SCSI+Ethernet board (VME A24/D16)
168# Note: the board uses vect and vect+1
169sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
170sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
171si* at sebuf?
172ie* at sebuf?
173
174#
175# Frame buffer devices
176#
177
178include "arch/sun3/conf/bw2.sun3"
179include "arch/sun3/conf/cg4.sun3"
180
181# 3/60 P4 accelerated 8-bit color frame buffer
182# cgsix0 at obmem0 addr 0xff000000
183
184# 3/60 P4 24-bit color frame buffer
185# cgeight0 at obmem0 addr 0xff300000
186
187# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
188cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
189
190# Support for the CG9 24-bit frame buffer (VME A32/D32).
191# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
192
193#
194# SCSI infrastructure
195#
196scsibus* at scsi?
197
198sd* at scsibus? target ? lun ?		# SCSI disks
199st* at scsibus? target ? lun ?		# SCSI tapes
200cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
201ch* at scsibus? target ? lun ?		# SCSI changer devices
202ss* at scsibus? target ? lun ?		# SCSI scanners
203uk* at scsibus? target ? lun ?		# unknown SCSI devices
204
205# Memory-disk drivers
206pseudo-device	md		2
207
208# Misc.
209pseudo-device	loop		1	# network loopback
210pseudo-device	bpfilter	8	# packet filter
211pseudo-device	sl		2	# CSLIP
212pseudo-device	ppp		2	# PPP
213pseudo-device	tun		2	# network tunneling over tty
214#pseudo-device	gre		2	# generic L3 over IP tunnel
215#pseudo-device	ipfilter		# ip filter
216pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
217#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
218#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
219pseudo-device	vlan			# IEEE 802.1q encapsulation
220pseudo-device	rnd			# /dev/random and in-kernel generator
221
222pseudo-device	pty			# pseudo-terminals
223pseudo-device	vnd		4	# paging to files
224#pseudo-device	ccd		4	# concatenated disks
225#pseudo-device	raid		4	# RAIDframe disk driver
226#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
227