# 	$NetBSD: INSTALL,v 1.52.2.1 2004/07/15 20:15:50 he 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"
include		"arch/pmax/conf/files.pmax_rcons"

#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 	LKM			# loadable kernel modules
options 	USERCONF		# userconf(4) support
options		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
options 	MALLOC_NOINLINE		# Not inlining MALLOC saves memory

#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

# Filesystem options
#options 	NFS_V2_ONLY		# Exclude NFS3 and NQNFS code to save space
options 	VNODE_OP_NOINLINE	# Not inlining vnode op calls saves mem


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


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

# 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
scc*	at	ioasic? offset ?	# Z85C30
#bba*	at	ioasic? offset ?	# MAXINE baseboard audio
#audio*	at	bba?
dtop*	at	ioasic? offset ?	# MAXINE kbd and mouse
#fdc	at	ioasic? offset ?	# MAXINE floppy disk (not supported)
asc*	at	ioasic? offset ?	# NCR53C94 SCSI with IOASIC

# 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
dc*	at	ibus0 addr ?		# DC7085 quad line serial device

# 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
px0	at	tc? slot ? offset ?	# PMAG-C,D,E,F PX family
#sfbp*	at	tc? slot ? offset ?	# PMAGD HX+ Smart Framebuffer
xcfb0	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
fta*	at	tc? slot ? offset ?	# PMAF-F FDDI
#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 onboard LANCE
sii*	at	ibus0 addr ?		# DC7061 onboard SCSI

#########################################################################
# 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		2	# pseudo-terminals (Sysinst needs two)
pseudo-device	bpfilter	16	# packet filter ports
pseudo-device	loop
pseudo-device	ccd		 4	# concatenated disks

pseudo-device	rasterconsole	 1 	# NB: raster console requires "fb"
pseudo-device	fb		 1	# only 1 framebuffer supported

pseudo-device	rnd			# /dev/random and in-kernel generator
