#       $NetBSD: OPENBLOCKS600,v 1.32 2024/01/29 18:27:12 christos Exp $
#
#       GENERIC -- everything that's currently supported
#

include         "arch/evbppc/conf/std.obs600"

#options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary

#ident          "OPENBLOCKS600-$Revision: 1.32 $"

maxusers        32


#
# Standard system options
#

#options        INSECURE                # disable kernel security levels
#options        NTP                     # NTP phase/frequency locked loop
#options        KTRACE                  # system call tracing via ktrace(1)

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

#options        UVMHIST
#options        UVMHIST_PRINT

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

#
# Diagnostic/debugging support options
#

#options        DIAGNOSTIC              # cheap kernel consistency checks
options         DEBUG                   # expensive debugging checks/support
options         DDB                     # in-kernel debugger
options         DDB_HISTORY_SIZE=512    # enable history editing in DDB
options         TRAP_PANICWAIT
makeoptions     COPY_SYMTAB=1   # size for embedded symbol table

makeoptions     DEBUG="-g"              # compile full symbol table


#
# Compatibility options
#

include         "conf/compat_netbsd13.config"
#options        COMPAT_386BSD_MBRPART   # recognize old partition ID


#
# File systems
#

file-system     FFS             # UFS
file-system     EXT2FS          # second extended file system (linux)
file-system     LFS             # log-structured file system
file-system     MFS             # memory file system
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     FDESC           # /dev/fd
file-system     KERNFS          # /kern
file-system     NULLFS          # loopback file system
file-system     OVERLAY         # overlay file system
file-system     PUFFS           # Userspace file systems (e.g. ntfs-3g & sshfs)
file-system     PROCFS          # /proc
file-system     UMAPFS          # NULLFS + uid and gid remapping
file-system     UNION           # union file system
file-system     PTYFS           # /dev/pts/N support
file-system     TMPFS           # Efficient memory file-system
#file-system    NTFS            # Windows NT file system (experimental)


#
# File system options
#

options         FFS_EI          # FFS Endian Independent support
#options        FFS_NO_SNAPSHOT # No FFS snapshot support
options         QUOTA           # legacy UFS quotas
options         QUOTA2          # new, in-filesystem UFS quotas
options         UFS_DIRHASH     # UFS Large Directory Hashing
#options        UFS_EXTATTR     # Extended attribute support for UFS1
options         WAPBL           # File system journaling support
options         LFS_DIRHASH     # LFS version of UFS_DIRHASH - experimental
#options        DISKLABEL_EI    # disklabel Endian Independent support
options         NFSSERVER       # Network File System server
options         NFS_BOOT_DHCP   # Support DHCP NFS root


#
# Networking options
#

options         GATEWAY         # packet forwarding
options         INET            # IP + ICMP + TCP + UDP
options         INET6           # IPv6
#options        IPSEC           # IP security
#options        IPSEC_DEBUG     # debug for IP security
#options        MROUTING        # IP multicast routing
#options        PIM             # Protocol Independent Multicast
#options        NETATALK        # AppleTalk networking protocols
options         PPP_BSDCOMP     # BSD-Compress compression support for PPP
options         PPP_DEFLATE     # Deflate compression support for PPP
options         PPP_FILTER      # Active filter support for PPP (requires bpf)
#options        TCP_DEBUG       # Record last TCP_NDEBUG packets with SO_DEBUG

# 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
#options        USBVERBOSE      # verbose USB device autoconfig messages

#
# Kernel root file system and dump configuration.
#

config          netbsd  root on ? type ?


#
# Device configuration
#

plb0 at root                            # Processor Local Bus
cpu0    at plb?                         # CPU
ecc0    at plb? irq 17                  # On-chip ECC controller
dwctwo0 at plb? addr 0xef6c0000 irq 94  # On-chip USB controller

# On-chip Peripheral Bus support
opb*    at plb?                         # On-chip Peripheral Bus
wdog*   at opb?                         # Watchdog timer
com*    at opb? addr ? irq ?            # UARTs
emac*   at opb? addr ? irq ?            # Ethernet Media Access Controller
options EMAC_EVENT_COUNTERS
options EMAC_RGMII_PHY

gpiic*  at opb? addr ? irq ?            # On-chip IIC controller
iic*    at gpiic?                       # I2C bus
m41trtc0 at iic? addr 0x68              # Dallas DS1340C Real Time Clock

opbgpio0 at opb? addr ? irq ?           # On-chip GPIO controller
gpio*   at opbgpio?                     # GPIO framework

# USB bus support
usb*    at dwctwo?

# USB Hubs
uhub*   at usb?
uhub*   at uhub? port ?

# USB Mass Storage
umass*  at uhub? port ? configuration ? interface ?
scsibus* at umass?
sd*     at scsibus? target ? lun ?      # SCSI disk drives

# MII/PHY support
brgphy* at mii? phy ?                   # Broadcom BCM5400-family PHYs


#
# Pseudo devices
#

# disk/mass storage pseudo-devices
#pseudo-device  ccd                     # concatenated/striped disk devices
#pseudo-device  cgd                     # cryptographic disk devices
#pseudo-device  raid                    # RAIDframe disk driver
#options        RAID_AUTOCONFIG         # auto-configuration of RAID components
#pseudo-device  fss                     # file system snapshot device
#pseudo-device  md                      # memory disk device
#pseudo-device  vnd                     # disk-like interface to files

# network pseudo-devices
pseudo-device   loop                    # network loopback
pseudo-device   bpfilter                # packet filter
pseudo-device   carp                    # Common Address Redundancy Protocol
pseudo-device   npf                     # NPF packet filter
pseudo-device   ppp                     # Point-to-Point Protocol
pseudo-device   pppoe                   # PPP over Ethernet (RFC 2516)
#options        PPPOE_SERVER            # Enable PPPoE server via link0
pseudo-device   sl                      # Serial Line IP
#pseudo-device  irframetty              # IrDA frame line discipline
pseudo-device   tap                     # virtual ethernet
pseudo-device   tun                     # network tunneling over tty
pseudo-device   gre                     # generic L3 over IP tunnel
pseudo-device   gif                     # IPv[46] over IPv[46] tunnel (RFC 1933)
#pseudo-device  faith                   # IPv[46] TCP relay translation i/f
pseudo-device   stf                     # 6to4 IPv6 over IPv4 encapsulation
pseudo-device   vlan                    # IEEE 802.1q encapsulation
pseudo-device   bridge                  # simple inter-network bridging
pseudo-device   vether                  # Virtual Ethernet for bridge
pseudo-device   agr                     # IEEE 802.3ad link aggregation

# miscellaneous pseudo-devices
pseudo-device   pty                     # pseudo-terminals
pseudo-device   clockctl                # user control of clock subsystem
pseudo-device   ksyms                   # /dev/ksyms
pseudo-device   putter                  # for puffs and pud

include "dev/veriexec.config"