include "conf/compat_netbsd50.config"
options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
# Shared memory options
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
#options SEMMNI=10 # number of semaphore identifiers
#options SEMMNS=60 # number of semaphores in system
#options SEMUME=10 # max number of undo entries per process
#options SEMMNU=30 # number of undo structures in system
options SYSVSHM # System V-like memory sharing
# Device options
#options MEMORY_DISK_HOOKS # boottime setup of ramdisk
#options MEMORY_DISK_IS_ROOT # use memory disk as root
#options MEMORY_DISK_DYNAMIC
#options MINIROOTSIZE=1000 # Size in blocks
#options MEMORY_DISK_ROOT_SIZE=22528 # Size in blocks
#options MEMORY_RBFLAGS=RB_AUTOBOOT
# Miscellaneous kernel options
#options KTRACE # system call tracing, a la ktrace(1)
options IRQSTATS # manage IRQ statistics
#options MIIVERBOSE # Verbose MII auto configuration messages
#options PCIVERBOSE # Verbose PCI descriptions
#options SCSIVERBOSE # Verbose SCSI errors
options USBVERBOSE # Verbose USB device auto configuration messages
#options DDB_KEYCODE=0x40
#options USERCONF # userconf(4) support
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
# Development and Debugging options
options DIAGNOSTIC # internal consistency checks
options DEBUG
#options UVMHIST # kernhist for uvm/pmap subsystems
#options VERBOSE_INIT_ARM # verbose bootstraping messages
options DDB # in-kernel debugger
options DDB_ONPANIC=1
#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
#options KGDB
#options DEBUG_KGDB
makeoptions DEBUG="-g" # compile full symbol table
makeoptions COPY_SYMTAB=1
config netbsd root on ? type ?
# The main bus device
mainbus0 at root
# The boot cpu
cpu0 at mainbus?
# Marvell MV88F78260 ARMADA XP System-on-chip
mvsoc0 at mainbus?
options MVSOC_INTERREGS_PBASE=0xd0000000
options MVSOC_FIXUP_DEVID=0x7826
# On-chip Serial-ATA II Host Controller (SATAHC)
mvsata* at mvsoc? offset ? irq ?
# On-chip Gigabit Ethernet Controller Interface (backward compatible mode)
mvgbec* at mvsoc? offset ?
mvgbe* at mvgbec? port ? irq ?
# On-chip Timers
mvsoctmr* at mvsoc? offset ? irq ?
# PCI bus support
options PCI_NETBSD_CONFIGURE
#options PCI_CONFIG_DUMP # verbosely dump PCI config space
pci* at mvpex?
pchb* at pci? dev ? function ? # PCI-Host bridges
#athn* at pci? dev ? function ? # Atheros AR9k (802.11a/g/n)
# ATA (IDE) bus support
atabus* at ata?
#options ATADEBUG
# IDE drives
wd* at atabus? drive ? flags 0x0000
# ATAPI bus support
atapibus* at atapi?
# ATAPI devices
# flags have the same meaning as for IDE drives.
cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
# USB bus support
usb* at ehci?
# USB Hubs
uhub* at usb?
uhub* at uhub? port ?
# USB Mass Storage
umass* at uhub? port ? configuration ? interface ?
scsibus* at scsi?
sd* at scsibus? target ? lun ? # SCSI disk drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives