# $NetBSD: GENERIC,v 1.24.4.1 2002/08/01 04:18: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/dreamcast/conf/std.dreamcast"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

maxusers	16		# estimated number of users

# Enable the hooks used for initializing the root memory-disk.
options 	MEMORY_DISK_HOOKS
options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
options 	MEMORY_DISK_ROOT_SIZE=2880	# size of memory disk, in blocks
#options 	MEMORY_DISK_ROOT_SIZE=6000

# Standard system options
#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
#options 	INSECURE	# disable kernel security levels

#options 	RTC_OFFSET=-540
options 	HZ=100		# clock interrupt generates every 1/HZ sec
#options 	NTP		# NTP phase/frequency locked loop

#options 	KTRACE		# system call tracing via ktrace(1)

#options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

#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

# Diagnostic/debugging support options
#options 	DIAGNOSTIC	# cheap kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
#options 	DDB		# in-kernel debugger
#options 	KGDB			# remote debugger
#options 	"KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
#makeoptions	DEBUG="-g"	# compile full symbol table
#options 	SYSCALL_DEBUG
#options 	UVMHIST
#options 	UVMHIST_PRINT

# Compatibility options
options 	COMPAT_43	# and 4.3BSD

# Executable format options
options 	EXEC_COFF	# COFF executables
options 	EXEC_ELF32	# 32-bit ELF executables

# File systems
file-system 	FFS		# UFS
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
file-system 	PROCFS		# /proc
file-system 	KERNFS		# /kern
#file-system 	NULLFS		# loopback file system
#file-system 	UMAPFS		# NULLFS + uid and gid remapping
file-system	CD9660		# CD-ROM file system

# File system options
#options 	QUOTA		# UFS quotas
#options 	NFSSERVER	# Network File System server

# Networking options
options 	INET		# IP + ICMP + TCP + UDP
options 	NFS_BOOT_DHCP	# Support DHCP NFS root

#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space

# Kernel root file system and dump configuration.
#config		netbsd	root on ? type nfs
#config		netbsd	root on wd0a type ffs
config		netbsd	root on ? type ?


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

#
# Device configuration
#

mainbus0 at root

cpu*		at mainbus?
shb*		at mainbus?

# Serial Devices
#options		SCIFCONSOLE
options 	SCIFCN_SPEED=57600
scif0		at shb?

pvr0		at shb?
wsdisplay*	at pvr? console ?

maple0		at shb?
mkbd*		at maple? port ? subunit ?
wskbd*		at mkbd? console ?

gdrom0		at shb?

g2bus0		at shb?
gapspci*	at g2bus?			# GAPS PCI bridge
pci*		at gapspci?
rtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
ukphy*		at mii? phy ?

#pseudo-device	vnd		4	# disk-like interface to files
#pseudo-device	bpfilter	8	# Berkeley packet filter
#pseudo-device	bridge			# simple inter-network bridging
#pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
pseudo-device	pty			# pseudo-terminals
#pseudo-device	ppp		2	# Point-to-Point Protocol
#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
#pseudo-device	tun		2	# network tunneling over tty
pseudo-device	rnd			# /dev/random and in-kernel generator
pseudo-device	md		1	# memory disk device (ramdisk)
pseudo-device	clockctl		# user control of clock subsystem
