# $NetBSD: GENERIC,v 1.47.4.2 2002/10/24 09:34:34 lukem Exp $
#
# GENERIC 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/newsmips/conf/std.newsmips"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident 		"GENERIC-$Revision: 1.47.4.2 $"

maxusers	16

options 	news3400
options 	news5000
options 	MIPS1			# R2000/R3000 support
options 	MIPS3			# R4000 support
options 	CPU_SINGLE		# no I/O processor

# Standard system options
options 	KTRACE			# system call tracing support
options 	SYSVMSG			# System V message queues
options 	SYSVSEM			# System V 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 shared memory
#options 	SHMMAXPGS=1024		# 1024 pages is the default
options 	LKM			# loadable kernel modules
#options 	NTP			# network time protocol
#options 	UCONSOLE		# users can redirect console (unsafe)
#options 	USERCONF		# userconf(4) support
#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)

# Debugging options
#options 	DDB			# kernel dynamic debugger
#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
#options 	DEBUG			# extra kernel debugging support
#options 	DIAGNOSTIC		# extra kernel sanity checking
#options 	SCSIVERBOSE		# Verbose SCSI errors

# Compatibility options
options 	COMPAT_43	# compatibility with 4.3BSD binaries
options 	COMPAT_10	# NetBSD 1.0 binary compatibility
options 	COMPAT_11	# NetBSD 1.1 binary compatibility
options 	COMPAT_12	# NetBSD 1.2 binary compatibility
options 	COMPAT_13	# NetBSD 1.3 binary compatibility
options 	COMPAT_14	# NetBSD 1.4 binary compatibility
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
#options 	EXEC_AOUT	# exec a.out binaries
#options 	EXEC_ECOFF	# exec ecoff binaries

# Filesystem options
file-system	FFS		# Berkeley Fast Filesystem
file-system	NFS		# Sun NFS-compatible filesystem client
file-system	KERNFS		# kernel data-structure filesystem
file-system	NULLFS		# NULL layered filesystem
file-system 	OVERLAY		# overlay file system
file-system	MFS		# memory-based filesystem
file-system	FDESC		# user file descriptor filesystem
file-system	UMAPFS		# uid/gid remapping filesystem
file-system	LFS		# Log-based filesystem (still experimental)
file-system	PORTAL		# portal filesystem (still experimental)
file-system	PROCFS		# /proc
file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	UNION		# union file system
file-system	MSDOSFS		# MS-DOS FAT filesystem(s).

options 	NFSSERVER	# Sun NFS-compatible filesystem server
options 	QUOTA		# FFS quotas
#options 	FFS_EI		# FFS Endian Independant support
options 	SOFTDEP		# FFS soft updates support.

# Networking options
options 	INET		# Internet protocols
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 	GATEWAY		# IP packet forwarding
#options 	MROUTING	# packet forwarding of multicast packets
options 	NS		# Xerox NS networking
#options 	NSIP		# Xerox NS tunneling over IP
#options 	ISO,TPIP	# OSI networking
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
options 	NETATALK	# AppleTalk (over Ethernet) protocol
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 	PFIL_HOOKS	# pfil(9) packet filter hooks
options 	IPFILTER_LOG	# ipmon(8) log support
#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

options 	NFS_BOOT_BOOTPARAM

# wscons options
options 	WSEMUL_VT100		# VT100 / VT220 emulation
options 	FONT_GALLANT12x22

config	netbsd	root on ? type ?

mainbus0 at root

cpu0	at mainbus0
hb0	at mainbus0			# Hyper-bus
ap0	at mainbus0			# APbus

mkclock0 at hb0 addr 0xbff407f8		# MK48T02 realtime clock
mkclock0 at ap?

le0	at hb0 addr 0xbff80000 level 1	# built-in LANCE ethernet
le1	at hb0 addr 0xb8c30000 level 0

sn*	at ap?				# SONIC Ethernet
tlp*	at ap?

kb0	at hb0 addr 0xbfd00000 level 2	# keyboard
ms0	at hb0 addr 0xbfd00004 level 2	# mouse

zsc0	at hb0 addr 0xbfec0000 level 1 flags 0x0	# on-board
zsc1	at hb0 addr 0xb8c40100 level 1 flags 0x1	# expansion board
zsc2	at hb0 addr 0xb8c40104 level 1 flags 0x1
zsc0	at ap?

zstty0	at zsc0 channel 0		# tty00
zstty1	at zsc0 channel 1		# tty01
zstty2	at zsc1 channel 0		# tty02
zstty3	at zsc1 channel 1		# tty03
zstty4	at zsc2 channel 0		# tty04
zstty5	at zsc2 channel 1		# tty05

fb0	at hb0 addr 0x88000000		# frame buffer

sc0	at hb0 addr 0xbfe00100 level 0	# on-board cxd1185 SCSI controller
scsibus0 at sc0

dmac*	at ap?				# dmac3
spifi*	at ap?				# SPIFI SCSI
scsibus* at spifi?

xafb*	at ap?
kb0	at ap?
ms0	at ap?

sd*	at scsibus? target ? lun ?	# SCSI disks
st*	at scsibus? target ? lun ?	# SCSI tapes
cd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
ch*	at scsibus? target ? lun ?	# SCSI changer devices

wsdisplay0 at fb? console ?
wsdisplay0 at xafb? console ?
wskbd0	at kb? console ?
wsmouse0 at ms?

pseudo-device	loop			# loopback interface; required
pseudo-device	pty			# pseudo-terminals
pseudo-device	sl		2	# SLIP interfaces
pseudo-device	ppp		2	# PPP interfaces
pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
pseudo-device	tun		4	# Network "tunnel" device
#pseudo-device	gre		2	# generic L3 over IP tunnel
pseudo-device	bpfilter	16	# Berkeley Packet 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	vlan			# IEEE 802.1q encapsulation
pseudo-device	bridge			# simple inter-network bridging
pseudo-device	vnd		4	# disk-like interface to files
pseudo-device	ccd		4	# concatenated and striped disks
#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	strip		1	# radio clock
#pseudo-device	ipfilter		# ip filter
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	clockctl		# user control of clock subsystem
