NetBSD/sys/arch/shark/conf/OFWGENCFG

154 lines
4.6 KiB
Plaintext

# $NetBSD: OFWGENCFG,v 1.30 2008/02/29 14:42:33 jmmv Exp $
#
# OFWGENCFG: 'generic' configuration for Open Firmware boards.
#
# Uses all 'generic' drivers (except for 'ofrom', which is
# close enough to generic).
#
include "arch/shark/conf/std.shark"
include "arch/shark/conf/std.ofwgencfg"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
# estimated number of users
maxusers 32
# Standard system options
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
#options NTP # NTP phase/frequency locked loop
# CPU options
options CPU_SA110 # Support the SA110 core
makeoptions COPTS="-O2 -march=armv4 -mtune=strongarm"
# Architecture options
options OFWGENCFG # Enable Open Firmware bits specific to GENERIC configuration
# FPA options
#options ARMFPE # ARM Ltd FPE
# File systems
file-system FFS # UFS
#file-system LFS # log-structured file system
file-system MFS # memory file system
file-system NFS
#file-system ADOSFS # AmigaDOS-compatible file system
#file-system EXT2FS # second extended file system (linux)
#file-system CD9660 # ISO 9660 + Rock Ridge file system
#file-system MSDOSFS # MS-DOS file system
#file-system FDESC # /dev/fd
#file-system FILECORE # Acorn filecore file system
file-system KERNFS # /kern
#file-system NULLFS # loopback file system
#file-system PORTAL # portal filesystem (still experimental)
#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 options
#options QUOTA # UFS quotas
#options NFSSERVER
options NFS_BOOT_DHCP # NFS booting via DHCP
options NFS_BOOT_RWSIZE=1024 # OFW driver can't cope with more
options FFS_NO_SNAPSHOT # No FFS snapshot support
# Networking options
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
#options ISO,TPIP # OSI
#options EON # OSI tunneling over IP
#options PFIL_HOOKS # pfil(9) packet filter hooks (Required
# if you enable the pseudo-device ipl).
#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
# Compatibility options
options COMPAT_43 # 4.3BSD compatibility.
options COMPAT_30 # NetBSD 3.0 compatibility.
options COMPAT_20 # NetBSD 2.0 compatibility.
options COMPAT_16 # NetBSD 1.6 compatibility.
options COMPAT_12 # NetBSD 1.2 compatibility.
#options COMPAT_11 # NetBSD 1.1 compatibility.
#options COMPAT_10 # NetBSD 1.0 compatibility.
#options COMPAT_09 # NetBSD 0.9 compatibility.
#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
# Shared memory options
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
options SYSVSHM # System V-like memory sharing
options SHMMAXPGS=1024 # 1024 pages is the default
# Device options
#options MEMORY_DISK_HOOKS # boottime setup of ramdisk
#options MEMORY_DISK_ROOT_SIZE=0 # Size in KBytes
# Miscellaneous kernel options
options KTRACE # system call tracing, a la ktrace(1)
options IRQSTATS # manage IRQ statistics
#options LKM # loadable kernel modules
options KMEMSTATS # kernel memory statistics
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 ARM700BUGTRACK # track the ARM700 swi bug
#options PORTMASTER # Enable PortMaster only options
options DIAGNOSTIC # internally consistency checks
options DDB # in-kernel debugger
#makeoptions DEBUG="-g" # compile full symbol table
config netbsd root on ofnet0 type nfs
#config netbsd root nfs swap nfs
# The main bus device
mainbus0 at root
# The boot CPU
cpu0 at mainbus?
# Open Firmware devices
ofbus* at root
ofbus* at ofbus?
ofdisk* at ofbus?
ofnet* at ofbus?
ofcons* at ofbus?
ofrtc* at ofbus?
ofrom* at ofbus?
# Pull in optional local configuration
cinclude "arch/shark/conf/GENERIC.local"
pseudo-device loop 1 # network loopback
pseudo-device bpfilter # packet filter
#pseudo-device sl # CSLIP
#pseudo-device ppp # PPP
#pseudo-device tun # network tunneling over tty
#pseudo-device ipfilter 1 # ip filter
pseudo-device pty # pseudo-terminals
pseudo-device vnd # disk-like interface to files
#pseudo-device ccd 2 # concatenated disk devices
#pseudo-device fss 4 # file system snapshot device
pseudo-device rnd # /dev/random and /dev/urandom
#pseudo-device md 1 # Ramdisk driver
pseudo-device clockctl # user control of clock subsystem
pseudo-device openfirm # /dev/openfirm