#       $NetBSD: T_SH7706LAN,v 1.16 2022/08/07 02:52:25 simonb Exp $
#
#       TAC T-SH7706LAN Rev.3 config file
#

include "arch/evbsh3/conf/std.evbsh3.el"
include "arch/evbsh3/conf/std.t_sh7706lan"

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

maxusers        32

# kloader-related
options         KLOADER
options         KLOADER_KERNEL_PATH="\"/netbsd\""
#options        KLOADER_DEBUG

# Standard system options

options         RTC_OFFSET=0    # hardware clock is this many mins. west of GMT
options         NTP             # NTP phase/frequency locked loop

options         KTRACE          # system call tracing via ktrace(1)

options         SYSVMSG         # System V-like message queues
options         SYSVSEM         # System V-like semaphores
options         SYSVSHM         # System V-like memory sharing

options         USERCONF        # userconf(4) support
#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

# Development and Debugging options
options         DIAGNOSTIC      # expensive kernel consistency checks
#options        DEBUG           # expensive debugging checks/support
#options        LOCKDEBUG       # expensive locking checks/support
options         DDB             # in-kernel debugger
#options        DDB_ONPANIC=1   # see also sysctl(7): `ddb.onpanic'
options         DDB_HISTORY_SIZE=512    # enable history editing in DDB
#options        DDB_VERBOSE_HELP
#makeoptions    DEBUG="-g"      # compile full symbol table
makeoptions     COPY_SYMTAB=1

# Compatibility options
include         "conf/compat_netbsd14.config"

# File systems
file-system     FFS             # UFS
file-system     KERNFS          # /kern
file-system     MSDOSFS         # MS-DOS file system
file-system     NFS             # Network File System client
file-system     PTYFS           # /dev/ptm support
file-system     PROCFS          # /proc
file-system     TMPFS           # Efficient memory file-system

# File system options
options         FFS_NO_SNAPSHOT # No FFS snapshot support
#options        UFS_DIRHASH     # UFS Large Directory Hashing
#options        UFS_EXTATTR     # Extended attribute support for UFS1
options         WAPBL           # File system journaling support

# Networking options
options         INET            # IP + ICMP + TCP + UDP
options         INET6           # IPV6

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

options         NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM

#
# Device configuration
#
mainbus0 at root
cpu* at mainbus?
shb* at mainbus?
wdog0 at shb?
options         SCIFCONSOLE,SCIFCN_SPEED=115200
scif0 at shb?

# Network interface
ne0 at mainbus?                         # Realtek RTL8019AS

# Serial pheripheral interface for MMC
scimci0 at shb?
sdmmc* at scimci?
#options        SCIMCI_DEBUG
#options        SDMMC_DEBUG
#options        SDMMC_DUMP_CSD
ld* at sdmmc?                           # MMC card

# Pseudo-Devices

# disk/mass storage pseudo-devices
pseudo-device   md                      # memory disk device (ramdisk)

pseudo-device   vnd                     # disk-like interface to files
options         VND_COMPRESSION         # compressed vnd(4)

# network pseudo-devices
pseudo-device   bpfilter                # Berkeley packet filter
pseudo-device   carp                    # Common Address Redundancy Protocol
pseudo-device   npf                     # NPF packet filter
pseudo-device   loop                    # network loopback

# miscellaneous pseudo-devices
pseudo-device   pty                     # pseudo-terminals
pseudo-device   clockctl                # user control of clock subsystem
pseudo-device   ksyms                   # /dev/ksyms

# userland interface to drivers, including autoconf and properties retrieval
pseudo-device   drvctl

include "dev/veriexec.config"