# 	$NetBSD: GENERIC,v 1.37.2.3 2004/07/15 20:15:32 he Exp $
#
#	GENERIC --- NetBSD/acorn32 complete configuration
#
# 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/acorn32/conf/std.acorn32"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident		"GENERIC-$Revision: 1.37.2.3 $"

# 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
options 	CPU_ARM6	# Support the ARM6 core
options 	CPU_ARM7	# Support the ARM7 core
#options 	CPU_ARM8	# Support the ARM8 core
#options 	ARM6_LATE_ABORT	# ARM6XX late abort support

# For StrongARM only kernels
#makeoptions	COPTS="-O2 -march=armv3m -mtune=strongarm"

# 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		# Network file system
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 	OVERLAY		# overlay filesystem
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 options
options 	QUOTA		# UFS quotas
#options 	FFS_EI		# FFS Endian Independant support
options 	SOFTDEP		# FFS soft updates support.
options 	NFSSERVER

# Networking options

options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
options 	CCITT,LLC,HDLC	# X.25
options 	NETATALK	# AppleTalk networking
options 	PFIL_HOOKS	# pfil(9) packet filter hooks
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

#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

# Compatibility options

options 	COMPAT_43	# 4.3BSD compatibility.
options 	COMPAT_16	# NetBSD 1.6 compatibility.
options		COMPAT_15	# NetBSD 1.5 compatibility.
options 	COMPAT_14	# NetBSD 1.4 compatibility.
options 	COMPAT_13	# NetBSD 1.3 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.

# 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
options 	SHMMAXPGS=1024	# 1024 pages is the default
options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support

# Device options

options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=4100	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
options 	SYSTRACE	# system call vetting via systrace(1)
options 	IRQSTATS	# manage IRQ statistics
options 	LKM		# loadable kernel modules
options 	KMEMSTATS	# kernel memory statistics
#options 	SCSIVERBOSE	# Verbose SCSI errors
options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Enable experimental buffer queue strategy for better responsiveness under 
# high disk I/O load. Use it with caution - it's not proven to be stable yet.
#options 	NEW_BUFQ_STRATEGY

# Development and Debugging options

#options 	ARM700BUGTRACK	# track the ARM700 swi bug
#options 	PORTMASTER	# Enable PortMaster only options
options 	DIAGNOSTIC	# internal consistency checks
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
options 	DDB		# in-kernel debugger
#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#makeoptions	DEBUG="-g"	# compile full symbol table

config		netbsd	root on ? type ?

# serial console ... the conaddr is hardcoded as the pioc address + 4*com offset
# this really be fixed some day
#options 	COMCONSOLE,CONADDR="0x210000+4*0x3f8",CONUNIT=0,CONSPEED=9600

# The main bus device
mainbus0 at root

# The boot CPU
cpu0 at mainbus?

# The IOMD
iomd0	at mainbus?

# system clock via IOMD
clock*	at iomd?

# IIC bus device
iomdiic* at iomd?
iic0 at iomdiic?

# RTC device via IIC bus
pcfrtc*	at iic? addr 0x50

# VIDC device
vidc0		at mainbus?

# WSCONS
# ws console uses DUMB, SUN or VT100 terminal emulation
#options 	WSEMUL_NODUMB
#options 	WSEMUL_SUN
#options 	WSEMUL_VT100

#options 	WSDISPLAY_COMPAT_RAWKBD

#options 	FONT_BOLD8x16
#options 	FONT_GALLANT12x22	# Very nice font
#options 	FONT_LUCIDA16x29
#options 	FONT_OMRON12x20		# looks funny
#options 	FONT_QVSS8x15		# broken ?
#options 	FONT_SONY12x25		# looks like VT220 font
#options 	FONT_SONY8x16		# not tested
#options 	FONT_VT220L8x8		# 8x8 font as in Arch. cons
#options 	FONT_VT220L8x16		# 8x(2x8) font as in Arch. cons
#options 	FONT_VT220L8x10		# not tested
#options 	FONT_VT220L8x20		# not tested

#vidcvideo0	at vidc?		# wscons driver for VIDC
#wsdisplay*	at vidcvideo? console ?	# display itself

iomdkbc*	at iomd?		# IOMD keyboard/mouse interface

#pckbd*		at iomdkbc? slot ?	# PS/2 keyboard
#options 	PCKBD_LAYOUT=KB_UK
#wskbd*		at pckbd?

pms*		at iomdkbc? slot ?	# PS/2 mouse
wsmouse*	at pms?

#rpckbd*	at iomd?		# based on old `kbd' driver
#wskbd*		at rpckbd?		# wskbd on RiscPC keyboard

qms*		at iomd?		# ws quadmouse driver
wsmouse*	at qms?			# wsmouse on ws quadmouse

pseudo-device	wsmux

# The origional vidcconsole :
# vidcconsole kbd at IOMD
# vidcconsole PS2 mouse at IOMD
vidcconsole0	at vidc?		# display + vt100 emulation
kbd*		at iomd?		# PS/2 keyboard for vidcconsole

# generic VT console device
vt0	at vidc?
vt1	at vidc?
vt2	at vidc?
vt3	at vidc?
vt4	at vidc?
vt5	at vidc?

# Peripheral IO Controller
pioc0	at mainbus? base 0x00210000

# IDE disk controller
wdc0	at pioc? offset 0x01f0 irq 9

# ATA (IDE) bus support
atabus* at ata?

wd*	at atabus? drive ?
atapibus* at atapi?
cd*	at atapibus? drive ?
sd*	at atapibus? drive ?

# Floppy disk controller
fdc*	at pioc? offset 0x03f0 irq 12 dack 0x2000
fd0	at fdc? drive ?

# Serial ports
com*	at pioc? offset 0x03f8 irq 10

# Parallel ports
lpt*	at pioc? offset 0x0278 irq 0	# Old driver
#atppc*	at pioc? offset 0x0278 irq 0	# New driver
#ppbus*	at atppc?
#lpt*	at ppbus?		# Parallel printer
#plip*	at ppbus?		# Parallel line IP

# Audio device
vidcaudio0	at vidc?
audio*		at vidcaudio0

# Podule bus device
podulebus0	at root

asc*	at podulebus?			# Acorn SCSI card
scsibus* at asc?

cosc*	at podulebus?			# MCS Connect32 SCSI II card
scsibus* at cosc?

ptsc*	at podulebus?			# Power-Tec SCSI II card
scsibus* at ptsc?

csc*	at podulebus?			# Cumana SCSI II card
scsibus* at csc?

oak*	at podulebus?			# Oak SCSI I card
scsibus* at oak?

csa*	at podulebus?			# Cumana SCSI I adpater
scsibus* at csa?

hcsc*	at podulebus0 slot ?		# HCCS 8-bit SCSI interface
scsibus* at hcsc?

sd*	at scsibus? target ? lun ?	# SCSI disk drives
st*	at scsibus? target ? lun ?	# SCSI tape drives
cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
ch*	at scsibus? target ? lun ?	# SCSI auto-changers
uk*	at scsibus? target ? lun ?	# SCSI unknown device
ss*	at scsibus? target ? lun ?	# SCSI scanner

dtide*	at podulebus?			# D.T. Software IDE card

hcide*	at podulebus?			# HCCS IDE card

icside*	at podulebus?			# ICS IDE card

rapide*	at podulebus?			# Yellowstone RapIDE card

simide*	at podulebus?			# Simtec IDE card

amps*	at podulebus?			# Atomwide Multi-Port Serial card
com*	at amps?

ie*	at podulebus?			# Ether1 podules
ea*	at podulebus?			# Ether3 podules
eb0	at podulebus?			# EtherB network slot cards
ne*	at podulebus?			# NE2000 clone cards

pseudo-device	loop	1		# network loopback
pseudo-device	bpfilter 8		# packet filter
pseudo-device	sl	2		# CSLIP
pseudo-device	ppp	2		# PPP
pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
pseudo-device	tun	2		# network tunneling over tty
#pseudo-device	gre	2		# generic L3 over IP tunnel
#pseudo-device	ipfilter 1		# ip filter
pseudo-device	gif	4		# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith	1		# IPv[46] tcp relay translation i/f
#pseudo-device	stf	1		# 6to4 IPv6 over IPv4 encapsulation
#pseudo-device	strip	4		# STarmode Radio IP (Metricon Ricochet)
pseudo-device	vlan			# IEEE 802.1q encapsulation
pseudo-device	bridge			# simple inter-network bridging
#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
pseudo-device	pty			# pseudo-terminals
pseudo-device	tb	1		# tablet line discipline
pseudo-device	vnd	4		# disk-like interface to files
pseudo-device	ccd	2		# concatenated disk devices
#pseudo-device	cgd	4		# cryptographic disk devices
pseudo-device	raid	8		# RAIDframe disk driver
options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
# options	RF_INCLUDE_EVENODD=1
# options	RF_INCLUDE_RAID5_RS=1
# options	RF_INCLUDE_PARITYLOGGING=1
# options	RF_INCLUDE_CHAINDECLUSTER=1
# options	RF_INCLUDE_INTERDECLUSTER=1
# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device	md	1		# Ramdisk driver
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem

makeoptions	MONITOR="Taxan875+LR"
#makeoptions	MONITOR="AKF60"
makeoptions	MODES="1024,768,60 1024,768,70 800,600,60 640,480,60 1280,1024 1152,900"
pseudo-device	ksyms			# /dev/ksyms
