#       $NetBSD: INSTALL,v 1.78 2025/05/27 21:00:01 christos Exp $
#
# INSTALL kernel; all supported devices but nothing fancy.
#

include         "arch/vax/conf/std.vax"

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

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

# Here are all different supported CPU types listed.
options         VAX8600
options         VAX8200
options         VAX780
options         VAX750
options         VAX630          # MV II
options         VAX650          # MV III, 3300, 3400, 3500, 3600, 3800, 3900
options         VAX660          # VAX 4000/200
options         VAX670          # VAX 4000/300
options         VAX680          # VAX 4000/[45]00
options         VAX410          # VS 2000, VS 3100/m30,m38,m40,m48
options         VAX43           # VS 3100/76
options         VAX46           # VS 4000/60
options         VAX48           # VS 4000 VLC
options         VAX49           # VS 4000/90
options         VAX53           # VAX 4000/10[058], MicroVAX 3100/m96

# Max users on system; this is just a hint
maxusers        8

# Enable the hooks used for initializing the root memory-disk.
options         MEMORY_DISK_HOOKS
options         MEMORY_DISK_IS_ROOT     # force root on memory disk
options         MEMORY_DISK_SERVER=0    # no userspace memory disk support
options         MEMORY_DISK_ROOT_SIZE=4200      # size of memory disk, in blocks
options         MEMORY_DISK_RBFLAGS=RB_SINGLE   # boot in single-user mode

# Kernel compiled-in symbolic debugger & system call tracer
#options        DDB
#options        DDB_HISTORY_SIZE=512    # enable history editing in DDB
#options        KTRACE
#options        DIAGNOSTIC,DEBUG,PMAPDEBUG,TRAPDEBUG

#options        SCSIVERBOSE             # Verbose SCSI errors

# Networking options
#options        GATEWAY         # packet forwarding
options         INET            # IP + ICMP + TCP + UDP
options         CPU_IN_CKSUM    # optimized checksum routine

# File systems
file-system     FFS
#file-system    LFS
#file-system    MFS
file-system     NFS
#file-system    FDESC
#file-system    KERNFS
#file-system    NULLFS
#file-system    OVERLAY         # overlay file system
#file-system    PROCFS
#file-system    UMAPFS
#file-system    UNION
file-system     CD9660
#file-system    PTYFS           # /dev/pts/N support
#file-system    TMPFS           # Efficient memory file-system
#file-system    UDF             # experimental - OSTA UDF CD/DVD file-system

# Filesystem options
#options        QUOTA           # legacy UFS quotas
#options        QUOTA2          # new, in-filesystem UFS quotas
#options        FFS_EI          # FFS Endian Independent support
#options        NFSSERVER
#options        NFS_V2_ONLY     # Exclude NFS3 code to save space
options         FFS_NO_SNAPSHOT # No FFS snapshot support
options         WAPBL           # File system journaling support

#options        NFS_BOOT_BOOTP,NFS_BOOT_DHCP    # Use bootp <> dhcp
#options        NFS_BOOT_BOOTPARAM      # Use the Sun way for netbooting.

# WS console uses VT100 terminal emulation
options         WSEMUL_VT100
options         WSDISPLAY_DEFAULTSCREENS=1
#options        WSDISPLAY_COMPAT_USL            # wsconscfg VT handling

# System V shared memory & semaphores support.
#options        SYSVMSG
#options        SYSVSEM
#options        SYSVSHM

# Old compat stuff; needed to run 4.3BSD Reno programs.
# Note that if COMPAT_ULTRIX is set, you lose compatibility with
# 4.3BSD Reno programs and get Ultrix compatibility instead.
# (They cannot coexist).
include         "conf/compat_netbsd14.config"
#options        COMPAT_VAX1K    # Must be present to run pre-1.4 binaries.
#options        COMPAT_ULTRIX

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

# Kernel(s) to compile
config          netbsd root on ? type ?

mainbus0        at root

cpu*            at mainbus0

# All buses; from the beginning attached to mainbus.
abus0           at mainbus0             # Master bus on VAX 86x0
sbi0            at mainbus0             # SBI, master bus on 11/78x.
cmi0            at mainbus0             # 11/750 internal bus.
bi0             at mainbus0             # VAX 8200
vsbus0          at mainbus0             # All VAXstations
#nmi0           at mainbus0             # VAX 8800
#xmi0           at mainbus0             # VAX 6000
uba0            at mainbus0             # All MicroVAX
ze0             at mainbus0             # KA48, KA49, KA53
le0             at mainbus0             # LANCE ethernet (MV3400)
#shac0          at mainbus0             # DSSI controller

# NMI (internal bus) on VAX 88xx-series.
#cpu*           at nmi0 slot?           # 1-4 KA88 CPUs
#mem*           at nmi0 slot?
#bi*            at nmi0 slot?           # BI bus adapters

# XMI on VAX 6000 (and higher)
#cpu*           at xmi? node?           # 1-? VAX 6000 CPUs
#mem*           at xmi? node?
#bi*            at xmi? node?           # XMI-BI adapter

# Vsbus, the virtual VAXstation bus, and possible devices.
le0             at vsbus0 csr 0x200e0000 # LANCE ethernet
dz0             at vsbus0 csr 0x200a0000 # DC-367 DZ-11 lookalike ctlr
dz0             at vsbus0 csr 0x25000000 # VS4000/90 and 4000/10x serial line
si0             at vsbus0 csr 0x200c0080 # VS2000/3100 SCSI-ctlr
si1             at vsbus0 csr 0x200c0180 # VS2000/3100 SCSI-ctlr
asc0            at vsbus0 csr 0x200c0080 # VS4000/60 (or VLC) SCSI-ctlr
asc0            at vsbus0 csr 0x26000080 # VS4000/90 and 4000/10x SCSI-ctlr
smg0            at vsbus0 csr 0x200f0000 # Small monochrome display ctlr.
gpx0            at vsbus0 csr 0x3c000000 # VS3100 GPX display option
#clr0           at vsbus0 csr 0x30000000 # 4- or 8-bitplans color graphics
spx0            at vsbus0 csr 0x38000000 # Low Cost SPX on VS4000/90.
#lcg0           at vsbus0 csr 0x21801000 # VS4000/60 (or VLC) graphics
tc0             at vsbus0 csr 0x36800000 # VS4000/60 or 90 TC adapter
tcds*           at tc0 slot ? offset ?   # TC dual SCSI controller
asc*            at tcds? chip ?          # PMAZB/C
asc*            at tc? slot ? offset ?   # PMAZ
le*             at tc? slot ? offset ?   # PMAD

hdc0            at vsbus0 csr 0x200c0000 # HDC9224 MFM/floppy ctlr
rd*             at hdc0 drive?          # RD5x disks
#ry*            at hdc0 drive?          # RX floppies

# Devices connected at VAXBI
cpu*            at bi? node?            # KA820/KA825 CPU
mem*            at bi? node?            # Memory subsystems
#uba*           at bi? node?            # DWBUA BI-Unibus adapter
ni*             at bi? node?            # DEBNA/DEBNT ethernet adapter
kdb*            at bi? node?            # KDB50 MSCP disk ctlr

# CMI (VAX 11/750)
mem*            at cmi? tr?             # Memory subsystems
uba*            at cmi? tr?             # Unibus adapters
mba*            at cmi? tr?             # Massbus adapters

# ABUS (VAX 86x0)
sbi*            at abus0                # VAX 86x0 can have up to 2 SBI's.

# SBI (VAX 11/780, VAX 8600)
mem*            at sbi? tr?             # Memory subsystems
uba*            at sbi? tr?             # Unibus adapters
mba*            at sbi? tr?             # Massbus adapters

# Devices on Massbus adapters
hp*             at mba? drive?          # RM/RP disk drives

# Devices on Unibus/Qbus adapters
uda*            at uba? csr 0172150     # UDA50/RQDX?
uda*            at uba? csr 0160334
mtc*            at uba? csr 0174500     # Tape MSCP ctlr
ts0             at uba? csr 0172520     # TS11/TSV05 tape.
#qd0            at uba? csr 0177400     # 4- or 8-bitplans color graphics
#qv0            at uba? csr 0177400     # Monochrome graphics
de*             at uba? csr 0174510     # DELUA/DEUNA
qe*             at uba? csr 0174440     # DEQNA/DELQA
qe*             at uba? csr 0174460     # DEQNA/DELQA
qt*             at uba? csr 0174440     # DELQA-PLUS in Turbo mode
dhu*            at uba? csr 0160440     # DHU-11
#dmf*           at uba? csr 0160340     # DMF-32
dz*             at uba? csr 0160100     # DZ-11
dl*             at uba? csr 0176500     # DL-11
rlc*            at uba? csr 0174400     # RL11/RLV11 controller
rl*             at rlc? drive?          # RL01/RL02 disk drive
rfc0            at uba? csr 0177170     # RX01/02 controller
rf*             at rfc? drive?          # RX01/RX02 floppy disk drive

# MSCP devices
mscpbus*        at uda?
mscpbus*        at mtc?
mscpbus*        at kdb?

ra*             at mscpbus? drive?      # MSCP disk
racd*           at mscpbus? drive?      # MSCP CD-ROM (RRD40)
rx*             at mscpbus? drive?      # MSCP floppy
mt*             at mscpbus? drive?      # MSCP tape

# SCSI devices
scsibus*        at scsi?

sd*             at scsibus? target? lun?
st*             at scsibus? target? lun?
cd*             at scsibus? target? lun?
#ch*            at scsibus? target? lun?
#ss*            at scsibus? target? lun?
#uk*            at scsibus? target? lun?

# VAXstation graphics support
wsdisplay*      at smg0
wsdisplay*      at gpx0
wsdisplay*      at spx0
#wsdisplay*     at lcg0
#wsdisplay*     at clr0
#wsdisplay*     at qd0
#wsdisplay*     at qv0
lkkbd0          at dz0 line 0
wskbd*          at lkkbd? console ?
#lkms0          at dz0 line 1
#wsmouse*       at lkms?

#
# accept filters
#pseudo-device   accf_data              # "dataready" accept filter
#pseudo-device   accf_http              # "httpready" accept filter

pseudo-device   loop
pseudo-device   pty                     # pseudo-terminals
pseudo-device   bpfilter
#pseudo-device  tun
#pseudo-device  gre                     # generic L3 over IP tunnel
#pseudo-device  vnd
#pseudo-device  ccd
pseudo-device   raid                    # RAIDframe disk driver
#pseudo-device  fss                     # file system snapshot device

pseudo-device   md