# 	$NetBSD: INSTALL,v 1.75 2020/01/20 18:38:21 thorpej Exp $
#
# Distribution	install kernel (any model)
#    netbsd:	cut-down kernel for miniroots.
#    nfsnetbsd:	root on NFS to boot diskless for installation,
#	disk drivers for labelling disks and installation on local disk.
#
#    Kernel must be under 1Mbyte to net-boot on 3100s with old PROMs.
#
#
include		"arch/pmax/conf/std.pmax"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

makeoptions	COPTS="-Os -mmemcpy"	# Optimise for space. Implies -O2

maxusers	8

# CPU options
options 	MIPS1			# R2000/R3000 support
options 	MIPS3			# R4000/R4400 support


# Support for specific models of DECstation
options 	DEC_3100		# kn01: DECstation 2100, 3100
options 	DEC_5100		# kn230: DECsystem 5100
options 	DEC_MAXINE		# kn02ca: 5000/xx (Personal DECstation)
options 	DEC_3MIN		#  5000/1xx (kn02ba), 5000/150 (kn04)
options 	DEC_3MAX		# kn02: 5000/200 support
options 	DEC_3MAXPLUS		#  5000/240 (kn03), 5000/260 (kn05)

#options 	DEC_5400
#options 	DEC_5800
#options 	DEC_5500

# Standard system options
#options 	DIAGNOSTIC		# extra kernel debugging checks
#options 	DEBUG			# extra kernel debugging support
#options 	KTRACE			# system call tracing support
options 	USERCONF		# userconf(4) support
options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

#options 	NTP			# network time protocol


# File systems
file-system 	FFS			# BSD fast filesystem
file-system 	NFS			# Sun NFS-compatible filesystem (client)
file-system 	CD9660			# ISO 9660 + Rock Ridge file system
file-system 	KERNFS			# kernel data-structure filesystem
#file-system	PTYFS			# /dev/pts/N support

# Filesystem options
#options 	NFS_V2_ONLY		# Exclude NFS3 code to save space
options 	FFS_NO_SNAPSHOT		# No FFS snapshot support
options 	WAPBL			# File system journaling support


# Networking options
options 	INET			# Internet protocols
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

# JIT compiler for bpfilter
#options	SLJIT
#options	BPFJIT


# Workstation console options
options 	FONT_BOLD8x16		# Font for fb devices
options 	FONT_GALLANT12x22

options		WSEMUL_VT100
options 	WSDISPLAY_DEFAULTSCREENS=1
#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
options		WS_KERNEL_FG=WSCOL_GREEN
options		WS_KERNEL_BG=WSCOL_BLACK

# Disable kernel security levels.  Needed for X with a PX or PXG.
#options       INSECURE

# pmax specific
options 	HZ=256		# RTC rate required

options 	NFS_BOOT_DHCP	# superset of BOOTP

config		netbsd		root on ? type ?
config		nfsnetbsd	root on ? type nfs

mainbus0	at root
cpu*		at mainbus0

## Peripheral Bus Support (for devices to attach to)
## ----------------------------------------------------------------------------

# TURBOchannel bus support
tc*	at	mainbus0

# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
ioasic0	at	tc?
mcclock* at	ioasic? offset ?	# DS1287 RTC
le*	at	ioasic? offset ?	# LANCE
dt*	at      ioasic? offset ?        # MAXINE kbd and mouse
#bba*	at	ioasic? offset ?	# MAXINE baseboard audio
#fdc	at	ioasic? offset ?	# MAXINE floppy disk (not supported)
zsc0	at	ioasic? offset 0x100000 # Z85C30
zsc1	at	ioasic? offset 0x180000 # Z85C30
asc*	at	ioasic? offset ?	# NCR53C94 SCSI with IOASIC

zstty*	at	zsc? channel ?		# serial ports on B/A channels
lkkbd*	at	zsc1 channel ?		# keyboard port on A channels
#vsms*	at	zsc0 channel ?		# mouse port on A channels   

#audio*	at	bba?

#spkr*	at	audio?			# PC speaker (synthesized)

dtkbd*	at	dt? addr ?
#dtms*	at	dt? addr ?

# 3MAX has TURBOchannel but no IOASIC
ibus0	at	tc? slot ? offset ?	# 3MAX system slot

# PMAX, 3MAX and MIPSMATE common devices
mcclock* at	ibus0 addr ?		# DS1287 RTC
dz*	at	ibus0 addr ?		# DC7085 quad line serial device

lkkbd*	at	dz? line 0		# Keyboard
#vsms*	at	dz? line 1		# Mouse

# TURBOchannel devices
mfb*	at	tc? slot ? offset ?	# PMAG-A MX Monochrome Framebuffer
cfb*	at	tc? slot ? offset ?	# PMAG-B CX Color Framebuffer
tfb*	at	tc? slot ? offset ?	# PMAG-RO TX True Color Framebuffer
sfb*	at	tc? slot ? offset ?	# PMAGB-B HX Smart Framebuffer
px*	at	tc? slot ? offset ?	# PMAG-C 2D accelerator
pxg*	at	tc? slot ? offset ?	# PMAG-D,E,F 3D accelerator
#sfbp*	at	tc? slot ? offset ?	# PMAGD HX+ Smart Framebuffer
xcfb*	at	tc? slot ? offset ?	# PMAG-DV Color Framebuffer at MAXINE
asc*	at	tc? slot ? offset ?	# PMAZ-A single channel SCSI
le*	at	tc? slot ? offset ?	# PMAD-A LANCE
tcds*	at	tc? slot ? offset ?	# PMAZB/PMAZC dual channel SCSI
asc*	at	tcds? chip ?

# PMAX and MIPSMATE
ibus0	at	mainbus0
pm*	at	ibus0 addr ?		# 3100 onboard fb
le*	at	ibus0 addr ?		# 3100, 5100 onboard LANCE
sii*	at	ibus0 addr ?		# DC7061 onboard SCSI

# Workstation console

wskbd*		at	lkkbd? console ?
wskbd*		at	dtkbd? console ?
#wsmouse*	at	vsms?
#wsmouse*	at	dtms?

wsdisplay*	at	mfb?
wsdisplay*	at	cfb?
wsdisplay*	at	px?
wsdisplay*	at	pxg?
wsdisplay*	at	sfb?
#wsdisplay*	at	sfbp?
wsdisplay*	at	tfb?
wsdisplay*	at	xcfb?
wsdisplay*	at	pm?


#########################################################################
# SCSI configuration							#
#########################################################################

scsibus* at sii?
scsibus* at asc?
sd*	at scsibus? target ? lun ?	# SCSI disks
st*	at scsibus? target ? lun ?	# SCSI tapes
cd*	at scsibus? target ? lun ?	# SCSI CD-ROMs

#########################################################################
# Pseudo-devices							#
#########################################################################

pseudo-device	pty			# pseudo-terminals
pseudo-device	bpfilter		# packet filter ports
pseudo-device	loop
pseudo-device	ccd		 	# concatenated disks
#pseudo-device	fss		 	# file system snapshot device
#pseudo-device	wsfont			# wsfont control device
pseudo-device	wsmux			# wsmux control device
