# $NetBSD: SANDPOINT,v 1.21 2022/04/07 20:23:44 andvar Exp $
#
# Sandpoint X3/X2 machine description file
#
# This machine description file is used to generate the default NetBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

include         "arch/sandpoint/conf/std.sandpoint"
options         PIC_I8259

options         INCLUDE_CONFIG_FILE     # embed config file in kernel binary

#ident          "SANDPOINT-$Revision: 1.21 $"

maxusers        32

options         ALTIVEC         # Include AltiVec support

#makeoptions    DEBUG="-g"

#options        DEBUG
options         DIAGNOSTIC
options         TRAP_PANICWAIT
options         DDB
#options        DDB_HISTORY_SIZE=100    # Enable history editing in DDB
options         KTRACE
#options        PMAPCHECK
#options        PMAPDEBUG
#options        USERCONF        # userconf(4) support
#options        PIPE_SOCKETPAIR         # smaller, but slower pipe(2)
options         SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel

include         "conf/compat_netbsd09.config"
options         COMPAT_386BSD_MBRPART   # recognize old partition ID
#options        COMPAT_LINUX            # Linux binary compatibility
#options        COMPAT_OSSAUDIO         # Linux binary compatibility

options         MSGBUFSIZE=65536
file-system     FFS
file-system     MFS
file-system     NFS
#file-system    CD9660
file-system     MSDOSFS
file-system     FDESC
file-system     KERNFS
file-system     NULLFS
#file-system    OVERLAY
file-system     PROCFS
#file-system    UMAPFS
#file-system    UNION
file-system     PTYFS           # /dev/pts/N support

#options        DISKLABEL_EI    # disklabel Endian Independent support
#options        FFS_EI          # FFS Endian Independent support
#options        FFS_NO_SNAPSHOT # No FFS snapshot support

options         INET
#options        TCP_DEBUG       # Record last TCP_NDEBUG packets with SO_DEBUG

#options        ALTQ            # Manipulate network interfaces' output queues
#options        ALTQ_BLUE       # Stochastic Fair Blue
#options        ALTQ_CBQ        # Class-Based Queueing
#options        ALTQ_CDNR       # Diffserv Traffic Conditioner
#options        ALTQ_FIFOQ      # First-In First-Out Queue
#options        ALTQ_FLOWVALVE  # RED/flow-valve (red-penalty-box)
#options        ALTQ_HFSC       # Hierarchical Fair Service Curve
#options        ALTQ_LOCALQ     # Local queueing discipline
#options        ALTQ_PRIQ       # Priority Queueing
#options        ALTQ_RED        # Random Early Detection
#options        ALTQ_RIO        # RED with IN/OUT
#options        ALTQ_WFQ        # Weighted Fair Queueing

options         NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP

config          netbsd  root on ? type ?

# network pseudo-devices
pseudo-device   bpfilter                # packet filter
pseudo-device   vlan                    # IEEE 802.1q encapsulation
#pseudo-device  pppoe                   # PPP over Ethernet (RFC 2516)
#pseudo-device  bridge                  # simple inter-network bridging
#pseudo-device  vether                  # Virtual Ethernet for bridge
#pseudo-device  npf                     # NPF packet filter
pseudo-device   loop

# mouse & keyboard multiplexor pseudo-devices
#pseudo-device  wsmux

# miscellaneous pseudo-devices
#pseudo-device  vnd
#options        VND_COMPRESSION         # compressed vnd(4)
#pseudo-device  cgd                     # cryptographic disk devices
pseudo-device   pty
pseudo-device   clockctl                # user control of clock subsystem
pseudo-device   ksyms                   # /dev/ksyms
pseudo-device   fss                     # file system snapshot device

#
# device
#
options         RTC_OFFSET=0    # hardware clock is this many mins. west of GMT

#options        PCIVERBOSE      # verbose PCI device messages
#options        PCI_CONFIG_DUMP # verbosely dump PCI config space
#options        PCI_NETBSD_CONFIGURE    # Have NetBSD configure PCI I/O & Mem

mainbus0 at root

cpu*    at mainbus0
pci*    at mainbus0 bus ?

ppb*    at pci? dev ? function ?        # PCI-PCI bridges
pci*    at ppb? bus ?

pchb*   at pci? dev ? function ?        # PCI host bridge
pcib*   at pci? dev ? function ?        # WinBond 83C533F PCI-ISA bridges

eumb*   at mainbus0
#com*   at eumb?
ociic*  at eumb?
iic*    at ociic?

slide* at pci? dev ? function ?         # WB/Symphony IDE controllers
atabus* at ata?

fxp*    at pci? dev ? function ?        # Intel EtherExpress PRO 10+/100B
inphy*  at mii? phy ?                   # Intel 82555 PHYs

isa*    at pcib?                        # ISA on PCI-ISA bridge

pckbc0          at isa?                 # PS/2 keyboard controller
pckbd*          at pckbc?               # PC keyboard
pms*            at pckbc?               # PS/2 mouse for wsmouse
wskbd*          at pckbd? console ?
wsmouse*        at pms? mux 0

com0    at isa? port 0x3f8 irq 4        # standard PC serial ports
com1    at isa? port 0x2f8 irq 3

lpt0    at isa? port 0x278 irq 7        # standard PC parallel ports

wd*     at atabus? drive ? flags 0x0000