#       $NetBSD: VME147,v 1.62 2021/01/21 06:51:55 nia Exp $

include         "arch/mvme68k/conf/std.mvme68k"

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

makeoptions     COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk

# Boards this kernel supports; need at lest the correct one
options         MVME147

maxusers        4

#options        DDB
#options        DIAGNOSTIC, DEBUG

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

file-system     FFS
file-system     NFS
file-system     KERNFS
file-system     MFS
file-system     CD9660
#file-system    MSDOSFS
#file-system    UNION
#file-system    PTYFS           # /dev/pts/N support

#options        NFSSERVER
#options        FFS_EI          # FFS Endian Independent support
options         FFS_NO_SNAPSHOT # No FFS snapshot support

# Networking options
options         INET
#options        GATEWAY         # IP packet forwarding
#options        TCP_DEBUG       # Record last TCP_NDEBUG packets with SO_DEBUG

options         COMPAT_AOUT_M68K        # compatibility with NetBSD/m68k a.out
include         "conf/compat_netbsd09.config"
#options        COMPAT_SUNOS
#options        COMPAT_M68K4K   # compatibility with NetBSD/m68k4k binaries
#options        COMPAT_LINUX    # compatibility with Linux/m68k binaries
#options        COMPAT_OSSAUDIO # compatibility with Linux/m68k binaries

## force NFS root and swap
#config netbsd          root on ? type nfs
## "generic" boot (put root on boot device)
config netbsd           root on ? type ?

options         NFS_BOOT_DHCP           # Diskless client w/ dhcp
options         NFS_BOOT_BOOTP          # Diskless client w/ bootp
options         NFS_BOOT_BOOTPARAM      # Diskless client w/ bootparamd


pseudo-device   sl
pseudo-device   ppp
pseudo-device   loop
pseudo-device   bpfilter
pseudo-device   pty
pseudo-device   vnd
#pseudo-device  fss                     # file system snapshot device
pseudo-device   clockctl                # user control of clock subsystem

mainbus0        at root

pcc0            at mainbus0

clock0          at pcc? ipl 5
zsc*            at pcc? ipl 4
le0             at pcc? ipl 3
wdsc0           at pcc? ipl 2
lpt0            at pcc? ipl 1

zstty*          at zsc? channel ?

vmepcc0         at pcc?
vme0            at vmepcc0

# Example VMEbus device
#foo0           at vme0 addr 0x10001000 am 0x0d irq 2 vect 0x80

scsibus*        at wdsc?
sd*             at scsibus? target ? lun ?
st*             at scsibus? target ? lun ?
cd*             at scsibus? target ? lun ?