GENERIC3X revision 1.64
1# $NetBSD: GENERIC3X,v 1.64 2004/07/15 03:53:52 atatat Exp $
2
3# GENERIC Sun3X (3/80, 3/470)
4# Supports root on: ie0, le0, sd*, ...
5
6include "arch/sun3/conf/std.sun3x"
7
8options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# Machines to be supported by this kernel
11# options 	FPU_EMULATE	# XXX - Ever needed?
12# options 	HAVE_IOCACHE	# XXX - Not yet supported.
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 	SYSTRACE	# system call vetting via systrace(1)
20options 	SYSVMSG		# System V message queues
21options 	SYSVSEM		# System V semaphores
22#options 	SEMMNI=10	# number of semaphore identifiers
23#options 	SEMMNS=60	# number of semaphores in system
24#options 	SEMUME=10	# max number of undo entries per process
25#options 	SEMMNU=30	# number of undo structures in system
26options 	SYSVSHM		# System V shared memory
27#options 	SHMMAXPGS=1024	# 1024 pages is the default
28options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
29options 	LKM		# loadable kernel modules
30#options 	INSECURE	# disable kernel security level
31options 	USERCONF	# userconf(4) support
32#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
33options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
34
35# Enable experimental buffer queue strategy for better responsiveness under 
36# high disk I/O load. Use it with caution - it's not proven to be stable yet.
37#options 	NEW_BUFQ_STRATEGY
38
39# Which kernel debugger?  Uncomment either this:
40options 	DDB
41# ... or these for KGDB (gdb remote target)
42#makeoptions	DEBUG="-g"	# debugging symbols for gdb
43#options 	KGDB
44#options 	KGDB_DEV=0x0C01	# ttya=0C00 ttyb=0C01
45
46# Other debugging options
47#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
48#options 	DEBUG		# kernel debugging code
49#options 	DIAGNOSTIC	# extra kernel sanity checking
50#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
51#options 	PMAP_DEBUG
52#options 	SCSIDEBUG
53#options 	SCSIVERBOSE		# Verbose SCSI errors
54
55# Compatibility options
56options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
57#options 	COMPAT_SVR4	# can run SVR4 executables
58options 	COMPAT_43	# and 4.3BSD and ...
59options 	COMPAT_10	# NetBSD 1.0
60options 	COMPAT_11	# NetBSD 1.1
61options 	COMPAT_12	# NetBSD 1.2
62options 	COMPAT_13	# NetBSD 1.3
63options 	COMPAT_14	# NetBSD 1.4
64options 	COMPAT_15	# NetBSD 1.5
65options 	COMPAT_16	# NetBSD 1.6
66options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
67#options 	COMPAT_LINUX	# can run Linux/m68k executables
68options 	EXEC_AOUT	# support for a.out executables
69#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
70
71# Filesystem options
72file-system	FFS		# Berkeley Fast Filesystem
73file-system	NFS		# Sun NFS client support
74file-system	CD9660		# ISO 9660 + Rock Ridge file system
75file-system	MSDOSFS		# MS-DOS FAT file system
76file-system	FDESC		# /dev/fd/*
77file-system	KERNFS		# /kern
78file-system	NULLFS		# loopback file system
79file-system	OVERLAY		# overlay file system
80file-system	PROCFS		# /proc
81file-system	UNION		# union file system
82file-system	MFS		# memory-based filesystem
83
84options 	NFSSERVER	# nfs server support
85options 	QUOTA		# FFS quotas
86#options 	FFS_EI		# FFS Endian Independant support
87options 	SOFTDEP		# FFS soft updates support.
88
89# Networking options
90options 	INET		# IP prototol stack support
91options 	INET6		# IPV6
92#options 	IPSEC		# IP security
93#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
94#options 	IPSEC_DEBUG	# debug for IP security
95#options 	GATEWAY		# IP packet forwarding
96#options 	ISO,TPIP	# OSI networking
97#options 	EON		# OSI tunneling over IP
98#options 	CCITT,LLC,HDLC	# X.25
99#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
100#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
101
102#options 	ALTQ		# Manipulate network interfaces' output queues
103#options 	ALTQ_BLUE	# Stochastic Fair Blue
104#options 	ALTQ_CBQ	# Class-Based Queueing
105#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
106#options 	ALTQ_FIFOQ	# First-In First-Out Queue
107#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
108#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
109#options 	ALTQ_LOCALQ	# Local queueing discipline
110#options 	ALTQ_PRIQ	# Priority Queueing
111#options 	ALTQ_RED	# Random Early Detection
112#options 	ALTQ_RIO	# RED with IN/OUT
113#options 	ALTQ_WFQ	# Weighted Fair Queueing
114
115# Work-around for root on slow servers (insurance...)
116options 	NFS_BOOT_RWSIZE=1024
117options 	NFS_BOOT_BOOTPARAM
118
119config		netbsd root on ? type ?
120
121# On-board I/O space (required)
122include "arch/sun3/conf/obio.sun3x"
123
124# On-board memory (optional)
125# See frame-buffers
126obmem0 at mainbus?
127
128# VME bus support (optional)
129# One unit for each address space
130vme0 at mainbus? # A16/D16
131vme1 at mainbus? # A16/D32
132vme2 at mainbus? # A24/D16
133vme3 at mainbus? # A24/D32
134vme4 at mainbus? # A32/D16
135vme5 at mainbus? # A32/D32
136
137#
138# Serial ports
139#
140zstty0	at zsc1 channel 0	# ttya
141zstty1	at zsc1 channel 1	# ttyb
142
143kbd0	at zsc0 channel 0	# keyboard
144ms0	at zsc0 channel 1	# mouse
145
146#
147# Network devices
148#
149
150# Intel Ethernet (onboard, or VME)
151ie0 at obio0 addr 0x65000000 ipl 3
152ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
153
154# Lance Ethernet (only onboard)
155le0 at obio0 addr 0x65002000 ipl 3
156
157#
158# Disk and tape devices
159#
160
161# Emulex SCSI (3/80 only)
162# Both `dma' and `esp' are needed.
163# The following flags may be set for the NCR53c94 based esp driver:
164#	bits 0-7:  disable disconnect/reselect for the corresponding target
165#	bits 8-15: disable synchronous negotiation for target [bit-8]
166#
167dma0 at obio0 addr 0x66001000 ipl 2
168esp0 at obio0 addr 0x66000000 ipl 2 flags 0xff0f
169
170# Floppy drive
171fdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40
172fd0	at fdc0	# First (and only) floppy drive.
173
174# Sun3 "si" SCSI controller (NCR 5380)
175# This driver has several flags which may be enabled using
176# the "flags" directive.  Valid flags are:
177#
178# 0x000ff	Set (1<<target) to disable disconnect/reselect
179# 0x0ff00	Set (1<<(target+8)) to disable parity checking
180# 0x10000	Set this bit to disable DMA interrupts (poll)
181# 0x20000	Set this bit to disable DMA entirely (use PIO)
182#
183# For example: "flags 0x1000f" would disable DMA interrupts,
184# and disable disconnect/reselect for targets 0-3
185si0 at vme2 addr 0x200000 ipl 2 vect 0x40
186si1 at vme2 addr 0x204000 ipl 2 vect 0x41
187
188# Xylogics 450/451 controllers (VME A16/D16)
189xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
190xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
191xy* at xyc? drive ?
192
193# Xylogics 7053 controllers (VME A16/D32)
194xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
195xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
196xd* at xdc? drive ?
197
198# Xylogics 472 tape controllers?
199
200#
201# Frame buffer devices
202#
203
204# P4 Monochrome frame buffer.
205bwtwo0	at obmem0 addr 0x50300000
206
207# P4 8-bit color frame buffer
208cgfour0 at obmem0 addr 0x50300000
209
210# P4 accelerated 8-bit color frame buffer
211# cgsix0 at obmem0 addr 0x50000000
212
213# P4 24-bit color frame buffer
214# cgeight0 at obmem0 addr 0x50300000
215
216# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
217# This driver is going to need work in its mmap function.
218# cgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
219
220# Support for the CG9 24-bit frame buffer (VME A32/D32).
221# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
222
223#
224# SCSI infrastructure
225#
226scsibus* at scsi?
227
228sd* at scsibus? target ? lun ?		# SCSI disks
229st* at scsibus? target ? lun ?		# SCSI tapes
230cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
231ch* at scsibus? target ? lun ?		# SCSI changer devices
232ss* at scsibus? target ? lun ?		# SCSI scanners
233uk* at scsibus? target ? lun ?		# unknown SCSI devices
234
235# Memory-disk drivers
236pseudo-device	md		2
237
238# Misc.
239pseudo-device	loop		1	# network loopback
240pseudo-device	bpfilter	8	# packet filter
241pseudo-device	sl		2	# CSLIP
242pseudo-device	ppp		2	# PPP
243pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
244pseudo-device	tun		2	# network tunneling over tty
245#pseudo-device	gre		2	# generic L3 over IP tunnel
246#pseudo-device	ipfilter		# ip filter
247pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
248#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
249#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
250pseudo-device	vlan			# IEEE 802.1q encapsulation
251pseudo-device	bridge			# simple inter-network bridging
252#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
253pseudo-device	rnd			# /dev/random and in-kernel generator
254
255pseudo-device	pty			# pseudo-terminals
256pseudo-device	vnd		4	# paging to files
257#pseudo-device	ccd		4	# concatenated disks
258#pseudo-device	cgd		4	# cryptographic disk devices
259#pseudo-device	raid		4	# RAIDframe disk driver
260#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
261# Options to enable various other RAIDframe RAID types.
262# options	RF_INCLUDE_EVENODD=1
263# options	RF_INCLUDE_RAID5_RS=1
264# options	RF_INCLUDE_PARITYLOGGING=1
265# options	RF_INCLUDE_CHAINDECLUSTER=1
266# options	RF_INCLUDE_INTERDECLUSTER=1
267# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
268# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
269pseudo-device	clockctl		# user control of clock subsystem
270pseudo-device	ksyms			# /dev/ksyms
271#pseudo-device	pf			# PF packet filter
272#pseudo-device	pflog			# PF log if
273