#
# @(#) GENERIC_SMALL from master 1.28 90/09/21 SMI
#
# This config file describes a generic Sun-3/50 and Sun-3/60 kernel,
# including software options and support for the following hardware:
#	2 ESDI or Embedded SCSI disks, 1 SCSI tape
#
# Some software options are commented out to generate a smaller kernel.
#
machine		"sun3"
cpu		"SUN3_50"	# Sun-3/50
cpu		"SUN3_60"	# Sun-3/60

#
# Name this kernel GENERIC_SMALL.
#
ident		"GENERIC_SMALL"

#
# This kernel supports about 4 users.  Count one user for each
# timesharing user, one for each window that you typically use, and one
# for each diskless client you serve.  This is only an approximation used
# to control the size of various kernel data structures, not a hard limit.
#
maxusers	4

#
# Include all possible software options.
#
# The INET option is not really optional; every kernel must include it.
#
options	INET		# basic networking support - mandatory

#
# The following options are all filesystem related.  You only need
# QUOTA if you have UFS.  You only need UFS if you have a disk.
# Diskless machines can remove QUOTA, UFS, and NFSSERVER.  LOFS and TFS
# are only needed if you're using the Sun Network Software Environment.
# HSFS is only needed if you have a CD-ROM drive and want to access
# ISO-9660 or High Sierra format CD discs.
#
#options	QUOTA		# disk quotas for local disks
options	UFS		# filesystem code for local disks
options	NFSCLIENT	# NFS client side code
options	NFSSERVER	# NFS server side code
#options	TMPFS		# tmp (anonymous memory) file system
options	HSFS		# High Sierra (ISO 9660) CD-ROM file system

#
# The following options are for accounting and auditing.  SYSAUDIT
# should be removed unless you are using the C2 security features.
#
#options	SYSACCT		# process accounting, see acct(2) & sa(8)
#options	SYSAUDIT	# C2 auditing for security

#
# The following options are for various System V IPC facilities.
# Most standard software does not need them, although they are
# used by SunGKS and some third-party software.
#
#options	IPCMESSAGE	# System V IPC message facility
#options	IPCSEMAPHORE	# System V IPC semaphore facility
#options	IPCSHMEM	# System V IPC shared-memory facility

#
# The following option is only needed if you want to use the trpt
# command to debug TCP problems.
#
#options	TCPDEBUG	# TCP debugging, see trpt(8)

#
# The following option includes the software DES support, needed if
# you're using secure NFS or secure RPC and you don't have a DES chip.
#
options	CRYPT		# software encryption

#
# The following two options are needed for asynchronous I/O.
#
#options	LWP		# kernel threads
#options	ASYNCHIO	# asynch I/O (requires LWP)

#
# The following option adds support for loadable kernel modules.
#
options	VDDRV		# loadable modules

#
# The following option adds support for the old SCSI architecture.
#
options	OLDSCSI		# Old SCSI architecture - mandatory

#
# The following option adds support for SunView 1 journaling.
#
#options	WINSVJ		# SunView 1 journaling support

#
# Build one kernel based on this basic configuration.
# It will use the generic swap code so that you can have
# your root filesystem and swap space on any supported device.
# Put the kernel configured this way in a file named "vmunix".
#
config	vmunix_small	swap generic

#
# Include support for all possible pseudo-devices.
#
# The first few are mostly concerned with networking.
# You should probably always leave these in.
#
pseudo-device	pty		# pseudo-tty's, also needed for SunView
pseudo-device	ether		# basic Ethernet support
pseudo-device	loop		# loopback network - mandatory

#
# The next few are for SunWindows support, needed to run SunView 1.
#
pseudo-device	win64		# window devices, allow 64 windows
pseudo-device	dtop2		# desktops (screens), allow 2
pseudo-device	ms		# mouse support

#
# The following is needed to support the Sun keyboard, with or
# without the window system.
#
pseudo-device	kb		# keyboard support

#
# The following is needed to support the Sun dialbox.
#
#pseudo-device	db	# dialbox support

#
# The following are for streams NIT support.  NIT is used by
# etherfind, traffic, rarpd, and ndbootd.  As a rule of thumb,
# NIT is almost always needed on a server and almost never
# needed on a diskless client.
#
pseudo-device	snit		# streams NIT
pseudo-device	pf		# packet filter
pseudo-device	nbuf		# NIT buffering module

#
# The following is for the "clone" device, used with streams devices.
# This is required if you include streams NIT support or RFS.
#
pseudo-device	clone		# clone device

#
# The following sections describe what kinds of buses each cpu type supports.
# You should never need to change this.  (The word "nexus" is historical.)
#
# Controller (bus) descriptions:
#
# virtual	virtually addressed devices
# obmem		memory-like devices on the cpu board
# obio		I/O devices on the cpu board
#

# connections for machine type 2 (SUN3_50)
controller	virtual 2 at nexus ?
controller	obmem 2 at nexus ?
controller	obio 2 at nexus ?

# connections for machine type 7 (SUN3_60)
controller	virtual 7 at nexus ?
controller	obmem 7 at nexus ?
controller	obio 7 at nexus ?

#
# The following (large) section describes the standard devices supported
# by this kernel.
#

#
# Support for the SCSI-3 host adapter and the on-board SCSI controller
# on several machines (e.g. 3/50).
#
controller	si0 at obio ? csr 0x140000 priority 2
tape		st0 at si0 drive 040 flags 1
disk		sr0 at si0 drive 060 flags 2
disk		sd0 at si0 drive 000 flags 0
disk		sd1 at si0 drive 001 flags 0
disk		sd2 at si0 drive 010 flags 0

#
# Support for the 2 tty lines (ttya, ttyb) on the cpu board.
# Needed when using a terminal for the console device.
# Flags=3 says to supply carrier in software for both lines.
# Change flags by changing /etc/ttytab; see ttysoftcar(8).
#
device		zs0 at obio ? csr 0x20000 flags 3 priority 3

#
# Support for the keyboard and mouse interface.  Needed when
# using a frame buffer as the console device or with SunView.
# You can remove this line if you don't use the standard Sun
# Workstation keyboard and mouse, but if you leave it in don't
# change it.
#
device		zs1 at obio ? csr 0x00000 flags 0x103 priority 3
#
# Support for the on-board LANCE Ethernet chip (Am7990) on many machines.
#
device		le0 at obio ? csr 0x120000 priority 3

#
# Support for color frame buffers on various machine types.
#

# 3/60 P4 8-bit color frame buffer
device		cgfour0 at obmem 7 csr 0xff300000 priority 4	# 3/60

# 3/60 plug-in 8-bit color frame buffer
device		cgfour0 at obmem 7 csr 0xff400000 priority 4	# 3/60

# 3/60 P4 accelerated 8-bit color frame buffer
#device		cgsix0 at obmem 7 csr 0xff000000 priority 4	# 3/60

#
# Support for monochrome frame buffers on various machine types.
#
device		bwtwo0 at obmem 2 csr 0x100000 priority 4	# 3/50
device		bwtwo0 at obmem 7 csr 0xff000000 priority 4	# 3/60

# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
device		bwtwo1 at obmem 7 csr 0xff300000 priority 4	# 3/60
# 3/60 plug-in color frame buffer overlay plane
#device		bwtwo1 at obmem 7 csr 0xff400000		# 3/60
