#       $NetBSD: LIBERO,v 1.70 2021/01/21 06:51:55 nia Exp $

#       NEWS1750 config file;
#
#       "The far way to the eventual news68k port"
#
include         "arch/news68k/conf/std.news68k"

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

maxusers        8

options         news1700                # news1[4567]00 support
options         CPU_SINGLE              # Will IOP be supported eventually?
#options        FPU_EMULATE

# Standard system options
options         NTP                     # NTP phase/frequency locked loop
options         KTRACE                  # system call tracing support
options         SYSVMSG                 # System V message queues
options         SYSVSEM                 # System V semaphores
options         SYSVSHM                 # System V shared memory
#options        USERCONF                # userconf(4) support
#options        PIPE_SOCKETPAIR         # smaller, but slower pipe(2)
#options        SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel

# Alternate buffer queue strategies for better responsiveness under high
# disk I/O load.
#options        BUFQ_READPRIO
#options        BUFQ_PRIOCSCAN

# Debugging options
options         DDB                     # kernel dynamic debugger
#options        DDB_HISTORY_SIZE=100    # enable history editing in DDB
#options        DEBUG                   # extra kernel debugging support
options         DIAGNOSTIC              # extra kernel sanity checking
options         SCSIVERBOSE             # Verbose SCSI errors
#options        SCSIDEBUG               #

# Compatibility options
include         "conf/compat_netbsd13.config"
options         COMPAT_AOUT_M68K        # compatibility with NetBSD/m68k a.out

options         COMPAT_SUNOS            # binary compatibility with SunOS
#options        COMPAT_LINUX            # binary compatibllity with Linux/m68k
#options        COMPAT_OSSAUDIO         # binary compatibllity with Linux/m68k

# Filesystem options
file-system     FFS             # Berkeley Fast Filesystem
file-system     NFS             # Sun NFS-compatible filesystem client
file-system     MFS             # memory-based filesystem
file-system     CD9660          # ISO 9660 + Rock Ridge file system
file-system     MSDOSFS         # MS-DOS FAT file system
file-system     KERNFS          # /kern
file-system     PROCFS          # /proc
file-system     FDESC           # /dev/fd/*
file-system     NULLFS          # loopback file system
#file-system    UNION           # union file system
file-system     PTYFS           # /dev/pts/N support

options         NFSSERVER       # nfs server support
#options        QUOTA           # legacy UFS quotas
#options        QUOTA2          # new, in-filesystem UFS quotas
#options        FFS_EI          # ffs endian independent support
options         FFS_NO_SNAPSHOT # FFS snapshot support

# Networking options
options         INET            # Internet protocols
options         INET6           # IPv6
#options        IPSEC           # IP security
#options        IPSEC_DEBUG     # debug for IP security
#options        GATEWAY         # IP packet forwarding
#options        TCP_DEBUG       # Record last TCP_NDEBUG packets with SO_DEBUG
options         NFS_BOOT_BOOTPARAM

config  netbsd root on ? type ?
#config netbsd root on ? type nfs

#
# device declarations
#

mainbus0 at root

# NEWS HYPER-BUS
hb0     at mainbus0 systype NEWS1700

# interval timer
timer0  at hb0 addr 0xe1000000 ipl 6

# MK48T02 TOD clock
mkclock0 at hb0 addr 0xe0d80000

# onboard LANCE ethernet
le0     at hb0 addr 0xe0f00000 ipl 4

# keyboard/mouse
kbc0    at hb0 addr 0xe0d00000 ipl 5
kb0     at kbc0
ms0     at kbc0

wskbd*  at kb?
wsmouse* at ms?

# onboard z8530 SCC
zsc0    at hb0 addr 0xe0d40000 ipl 5 vect 64 flags 0x0
zstty0  at zsc0 channel 0
zstty1  at zsc0 channel 1

# Frame buffer devices; not yet
#fb0    at hb0 addr 0xf0700000                  # NWB225
#fb1    at hb0 addr 0xf0f00000                  # NWB512

# onboard uPD72067 FDC; not yet
#fdc0   at hb0 addr 0xe0c80000 ipl 3
#fd*    at fdc0

# onboard CXD1180 SCSI controller
#
# This driver has several flags which may be enabled using
# the "flags" directive.  Valid flags are:
#
# 0x000ff       Set (1<<target) to disable disconnect/reselect
# 0x0ff00       Set (1<<(target+8)) to disable parity checking
# 0x10000       Set this bit to disable DMA interrupts (poll)
# 0x20000       Set this bit to disable DMA entirely (use PIO)
#
# For example: "flags 0x1000f" would disable DMA interrupts,
# and disable disconnect/reselect for targets 0-3
#
si0     at hb0 addr 0xe0cc0000 ipl 4 flags 0x0
scsibus* at si0

sd*     at scsibus? target ? lun ?              # SCSI disks
st*     at scsibus? target ? lun ?              # SCSI tapes
cd*     at scsibus? target ? lun ?              # SCSI CD-ROMs
#ch*    at scsibus? target ? lun ?              # SCSI changer devices
#ss*    at scsibus? target ? lun ?              # SCSI scanners
#uk*    at scsibus? target ? lun ?              # unknown SCSI devices

# Misc.
pseudo-device   loop                    # loopback interface; required
pseudo-device   pty                     # pseudo-terminals
pseudo-device   md                      # memory disk device
pseudo-device   vnd                     # disk-like interface to files
#pseudo-device  ccd                     # concatenated and striped disks
#pseudo-device  raid                    # RAIDframe disk driver
#pseudo-device  fss                     # file system snapshot device
#pseudo-device  sl                      # SLIP interfaces
#pseudo-device  ppp                     # PPP interfaces
#pseudo-device  tun                     # Network "tunnel" device
#pseudo-device  gre                     # generic L3 over IP tunnel
pseudo-device   bpfilter                # Berkeley Packet Filter
#pseudo-device  npf                     # NPF packet filter
pseudo-device   gif                     # IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device  faith                   # IPv[46] tcp relay translation i/f
pseudo-device   stf                     # 6to4 IPv6 over IPv4 encapsulation
pseudo-device   clockctl                # user control of clock subsystem
pseudo-device   wsmux
pseudo-device   ksyms