GENERIC revision 1.80
1# $NetBSD: GENERIC,v 1.80 2001/07/08 16:32:25 abs 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.80 $"
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#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
60
61# Filesystem options
62file-system	FFS		# Berkeley Fast Filesystem
63file-system	NFS		# Sun NFS client support
64file-system	CD9660		# ISO 9660 + Rock Ridge file system
65file-system	FDESC		# /dev/fd/*
66file-system	KERNFS		# /kern
67file-system	NULLFS		# loopback file system
68file-system 	OVERLAY		# overlay file system
69file-system	PROCFS		# /proc
70file-system	UNION		# union file system
71file-system	MFS		# memory-based filesystem
72
73options 	NFSSERVER	# nfs server support
74options 	QUOTA		# FFS quotas
75#options 	FFS_EI		# FFS Endian Independant support
76options 	SOFTDEP         # FFS soft updates support.
77
78# Networking options
79options 	INET		# IP prototol stack support
80options 	INET6		# IPV6
81#options 	IPSEC		# IP security
82#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
83#options 	IPSEC_DEBUG	# debug for IP security
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#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
90
91# Work-around for root on slow servers (insurance...)
92options 	NFS_BOOT_RWSIZE=1024
93options 	NFS_BOOT_BOOTPARAM
94
95config		netbsd root on ? type ?
96
97# On-board I/O space (required)
98include "arch/sun3/conf/obio.sun3"
99
100# On-board memory (optional)
101# See frame-buffers
102obmem0 at mainbus?
103
104# VME bus support (optional)
105# One unit for each address space
106vme0 at mainbus? # A16/D16
107vme1 at mainbus? # A16/D32
108vme2 at mainbus? # A24/D16
109vme3 at mainbus? # A24/D32
110vme4 at mainbus? # A32/D16
111vme5 at mainbus? # A32/D32
112
113#
114# Serial ports
115#
116zstty0	at zsc1 channel 0	# ttya
117zstty1	at zsc1 channel 1	# ttyb
118
119kbd0	at zsc0 channel 0	# keyboard
120ms0	at zsc0 channel 1	# mouse
121
122#
123# Network devices
124#
125
126# Intel Ethernet (onboard, or VME)
127ie0 at obio0 addr 0x0C0000 ipl 3
128ie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
129
130# Lance Ethernet (only onboard)
131le0 at obio0 addr 0x120000 ipl 3
132
133# All Sun3 machines with an "le" (3/50, 3/60) should be
134# presumed to have the old, buggy LANCE chip. (Rev. C)
135options 	LANCE_REVC_BUG
136
137#
138# Disk and tape devices
139#
140
141# Sun3 "si" SCSI controller (NCR 5380)
142# This driver has several flags which may be enabled using
143# the "flags" directive.  Valid flags are:
144#
145# 0x000ff	Set (1<<target) to disable disconnect/reselect
146# 0x0ff00	Set (1<<(target+8)) to disable parity checking
147# 0x10000	Set this bit to disable DMA interrupts (poll)
148# 0x20000	Set this bit to disable DMA entirely (use PIO)
149#
150# For example: "flags 0x1000f" would disable DMA interrupts,
151# and disable disconnect/reselect for targets 0-3
152si0 at obio0 addr 0x140000 ipl 2
153si0 at vme2  addr 0x200000 ipl 2 vect 0x40
154si1 at vme2  addr 0x204000 ipl 2 vect 0x41
155
156# Xylogics 450/451 controllers (VME A16/D16)
157xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
158xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
159xy* at xyc? drive ?
160
161# Xylogics 7053 controllers (VME A16/D32)
162xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
163xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
164xd* at xdc? drive ?
165
166# Xylogics 472 tape controllers?
167
168# Sun3/E SCSI+Ethernet board (VME A24/D16)
169# Note: the board uses vect and vect+1
170sebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
171sebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
172si* at sebuf?
173ie* at sebuf?
174
175#
176# Frame buffer devices
177#
178
179include "arch/sun3/conf/bw2.sun3"
180include "arch/sun3/conf/cg4.sun3"
181
182# 3/60 P4 accelerated 8-bit color frame buffer
183# cgsix0 at obmem0 addr 0xff000000
184
185# 3/60 P4 24-bit color frame buffer
186# cgeight0 at obmem0 addr 0xff300000
187
188# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
189cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
190
191# Support for the CG9 24-bit frame buffer (VME A32/D32).
192# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
193
194#
195# SCSI infrastructure
196#
197scsibus* at scsi?
198
199sd* at scsibus? target ? lun ?		# SCSI disks
200st* at scsibus? target ? lun ?		# SCSI tapes
201cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
202ch* at scsibus? target ? lun ?		# SCSI changer devices
203ss* at scsibus? target ? lun ?		# SCSI scanners
204uk* at scsibus? target ? lun ?		# unknown SCSI devices
205
206# Memory-disk drivers
207pseudo-device	md		2
208
209# Misc.
210pseudo-device	loop		1	# network loopback
211pseudo-device	bpfilter	8	# packet filter
212pseudo-device	sl		2	# CSLIP
213pseudo-device	ppp		2	# PPP
214pseudo-device	tun		2	# network tunneling over tty
215#pseudo-device	gre		2	# generic L3 over IP tunnel
216#pseudo-device	ipfilter		# ip filter
217pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
218#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
219#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
220pseudo-device	vlan			# IEEE 802.1q encapsulation
221pseudo-device	rnd			# /dev/random and in-kernel generator
222
223pseudo-device	pty			# pseudo-terminals
224pseudo-device	vnd		4	# paging to files
225#pseudo-device	ccd		4	# concatenated disks
226#pseudo-device	raid		4	# RAIDframe disk driver
227#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
228