#	$NetBSD: INSTALL,v 1.57.20.1 2023/01/07 15:00:54 martin Exp $
#
# INSTALL

include	"arch/mac68k/conf/std.mac68k"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

makeoptions	COPTS="-Os -fno-omit-frame-pointer"
	# Optimise for space. Implies -O2. -fno-omit-frame-pointer is
	# necessary for backtraces in DDB.

maxusers	8		# estimated number of users

# Enable the hooks used for initializing the ram-disk.
options 	MEMORY_DISK_HOOKS
options 	MEMORY_DISK_IS_ROOT 	# Force root on ram-disk
options 	MEMORY_DISK_ROOT_SIZE=5120	# 2.5 MB
options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode

# CPU support.  At least one is REQUIRED.
options 	M68040
options 	M68030
options 	M68020		# Note:  must have 68851 PMMU

# CPU-related options.
options 	FPSP
options 	FPU_EMULATE

# Standard system options

options 	INSECURE	# disable kernel security levels

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT

options 	USERCONF	# userconf(4) support
options		PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Diagnostic/debugging support options - XXX remove these at some point
#options 	DIAGNOSTIC	# cheap kernel consistency checks
options 	DDB		# in-kernel debugger
pseudo-device	ksyms
#options 	ADB_DEBUG	# ADB debugging

# Compatibility options
include 	"conf/compat_netbsd10.config"

# File systems
file-system 	FFS		# UFS
file-system 	NFS		# Network File System client
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
file-system 	KERNFS		# /kern
#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		# IP + ICMP + TCP + UDP

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options 	SCSIVERBOSE	# human readable SCSI error messages

# wscons options
#options 	WSEMUL_SUN		# sun terminal emulation
options 	WSEMUL_VT100		# VT100 / VT220 emulation
options 	WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
options 	WSDISPLAY_DEFAULTSCREENS=1
#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling

# rcons options; note that 1-bit and 8-bit displays are supported by default.
options 	RCONS_2BPP		# Support for 2-bit display
options 	RCONS_4BPP		# Support for 4-bit display
options 	RCONS_16BPP		# Support for 16-bit display

# Mac-specific options
#options 	DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache
#options 	MRG_ADB		# Use ROM-based ADB driver
options 	ZS_CONSOLE_ABORT

options 	NFS_BOOT_DHCP

# Kernel root file system and dump configuration.
config		netbsd	root on ? type ?

#
# Device configuration
#

mainbus0 at root


# Basic Bus Support

# On-board I/O bus support
obio0 at mainbus?

# NuBus support
nubus0 at mainbus?


# Console Devices

# Apple Desktop Bus interface
adb0	at obio?
aed*	at adb?				# ADB event device
akbd*	at adb?				# ADB keyboard
ams*	at adb?				# ADB mouse

# Basic frame buffer support
intvid0	at obio?			# Internal video hardware
macvid*	at nubus?			# NuBus video card

# Device-independent frame buffer interface
macfb*	at intvid?
macfb*	at macvid?

# Workstation Console devices
wsdisplay0 at macfb? console ?
wskbd0	at akbd? console ?
wsmouse0 at ams?


# Serial Devices

# On-board serial interface
zsc0	at obio?
zstty*	at zsc? channel ?


# SCSI Controllers and Devices

# SCSI controllers
# XXX - use only one of ncrscsi or sbc
ncrscsi0 at obio? addr 0		# SCSI NCR 5380
#sbc0	at obio? addr 0 flags 0x1	# MI SCSI NCR 5380
esp0	at obio? addr 0			# SCSI NCR 53C9x
esp1	at obio? addr 1			# SCSI NCR 53C9x

# SCSI bus support
scsibus* at scsi?

# SCSI devices
sd*	at scsibus? target ? lun ?	# SCSI disk drives
cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
st*	at scsibus? target ? lun ?	# SCSI tape drives

# IDE controller and devices
wdc*	at obio? flags 0x1000
atabus* at ata?
wd*	at atabus? drive ?


# Miscellaneous mass storage devices

# IWM floppy disk controller
iwm0	at obio?			# Sony driver (800K GCR)
fd*	at iwm? drive ?


# Network Interfaces

# On-board Ethernet controllers
sn*	at obio?			# SONIC-based (DP83932, DP83916)
mc*	at obio?			# MACE-based

# NuBus Ethernet controllers
ae*	at nubus?			# DP8390-based
sn*	at nubus?			# SONIC-based (DP83932, DP83916)
sm*	at nubus?			# SMC-based
netdock*	at nubus?		# Asante NetDock, Newer Ether MicroDock

nsphy*	at mii? phy ?
ukphy*	at mii? phy ?

# Audio Devices

# On-board audio hardware
asc0	at obio?			# ASC/EASC audio

# Pseudo-Devices

# disk/mass storage pseudo-devices
pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	fss			# file system snapshot device

# network pseudo-devices
pseudo-device	loop 		 	# network loopback
pseudo-device	ppp		 	# Point-to-Point Protocol
pseudo-device	sl		 	# Serial Line IP

# miscellaneous pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	pty			# pseudo-terminals

