#	$NetBSD: COMPUTEXEVB,v 1.4.4.3 2000/11/05 01:06:55 tv Exp $
#
#	GENERIC -- everything that's currently supported
#

include "arch/evbsh3/conf/std.evbsh3"

# 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 	MINIROOTSIZE=3074	# size of memory disk, in blocks

maxusers	32		# estimated number of users

# CPU support.  At least one is REQUIRED.
options		SH7709A,SH7709A_BROKEN_IPR	# 100MHz
options		PCLOCK=25000000		# 25.000MHz
options		IOM_ROM_BEGIN=0x00000000
options		IOM_ROM_SIZE=0x00100000	# 1MB
options		IOM_RAM_BEGIN=0x8c000000
options		IOM_RAM_SIZE=0x01000000	# 16MB
options		LED_ADDR=0xb8000000

options		COMPUTEXEVB	# don't forget.

options		BSC_BCR1_VAL	=0x0008
options		BSC_BCR2_VAL	=0x3fd0
options		BSC_WCR1_VAL	=0x3ff3
options		BSC_WCR2_VAL	=0xffdf
options		BSC_MCR_VAL	=0x0004
options		BSC_SDMR3_VAL	=0xffffe088
options		BSC_RTCSR_VAL	=0xa508
options		BSC_RTCNT_VAL	=0xa500
options		BSC_RTCOR_VAL	=0xa582
options		FRQCR_VAL	=0x0122
options		PFC_SCPCR_VAL	=0x00aa

makeoptions 	LDSCRIPTBASE="sh.x"	# for big endian
#makeoptions 	LDSCRIPTBASE="shl.x"	# for little endian

# CPU-related options.
#options 	MATH_EMULATE	# floating point emulation

# This option allows you to force a serial console at the specified
# I/O address.   see console(4) for details.
#options 	"CONSDEVNAME=\"com\""

# Standard system options

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

options 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
options 	HZ=50		# clock interrupt generates every 1/HZ sec 
#options 	NTP		# NTP phase/frequency locked loop

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

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

#options 	LKM		# loadable kernel modules

# Diagnostic/debugging support options
#options 	DIAGNOSTIC	# cheap kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
#options 	DDB		# in-kernel debugger
#options 	KGDB		# remote debugger
#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
makeoptions	DEBUG="-g"	# compile full symbol table
options		SYSCALL_DEBUG

# Compatibility options
options 	COMPAT_13	# NetBSD 1.3,
options 	COMPAT_14	# NetBSD 1.4,
options 	COMPAT_43	# and 4.3BSD

# Executable format options
#options 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
options 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)

# File systems
file-system 	FFS		# UFS
#file-system 	EXT2FS		# second extended file system (linux)
#file-system 	LFS		# log-structured file system
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
#file-system 	MSDOSFS		# MS-DOS file system
file-system 	FDESC		# /dev/fd
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 options
#options 	QUOTA		# UFS quotas
#options 	NFSSERVER	# Network File System server
#options 	FIFO		# FIFOs; RECOMMENDED
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
				# immutable) behave as system flags.

# Networking options
options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
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 protocols
#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

# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
#options 	TCP_COMPAT_42

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages

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

#
# Device configuration
#

mainbus0 at root

shb* at mainbus?

# WatchDog Timer
wdog0 at shb? port 0xffffff84

# Serial Devices

# 115200bps (3.2%)
#  57600bps (3.2%)
#  38400bps (1.7%)
#  19200bps (0.8%)
#   9600bps (0.6%)

#options	SCICONSOLE,SCICN_SPEED=115200
#sci0 at shb? port 0xa4000008 irq 12

options	SCIFCONSOLE,SCIFCN_SPEED=115200
scif0 at shb? port 0xa4000008 irq 12

# Miscellaneous mass storage devices

# Network Interfaces

# MII bus support
#mii*	at tl?

# MII PHY network interfaces
#tlphy*	at mii? dev ?			# ThunderLAN PHYs
#nsphy*	at mii? dev ?			# NS and compatible PHYs


# Pull in optional local configuration
include	"arch/evbsh3/conf/GENERIC.local"


# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	ccd		4	# concatenated/striped disk devices
pseudo-device	md		1	# memory disk device (ramdisk)
pseudo-device	vnd		4	# disk-like interface to files

# network pseudo-devices
#pseudo-device	bpfilter	8	# Berkeley packet filter
#pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	loop			# network loopback
pseudo-device	ppp		2	# Point-to-Point Protocol
#pseudo-device	sl		2	# Serial Line IP
#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
pseudo-device	tun		2	# network tunneling over tty

# miscellaneous pseudo-devices
pseudo-device	pty		64	# pseudo-terminals
#pseudo-device	tb		1	# tablet line discipline

# rnd is EXPERIMENTAL at this point.
#pseudo-device	rnd			# /dev/random and in-kernel generator
#options 	RND_COM			# use "com" randomness as well (BROKEN)
