#	$NetBSD: CQREEKSH3,v 1.7.4.1 2000/08/08 19:52:41 msaitoh 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=2400	# size of memory disk, in blocks

options		ROMIMAGE

maxusers	32		# estimated number of users

# CPU support.  At least one is REQUIRED.
options		SH7708		# 100MHz
options		PCLOCK=15000000		# 15.000MHz
options		IOM_ROM_BEGIN=0x00000000
options		IOM_ROM_SIZE=0x00200000	# 2MB
options		IOM_RAM_BEGIN=0x8c000000
options		IOM_RAM_SIZE=0x00400000	# 4MB
options		LED_ADDR=0xa8000000

options		BSC_BCR1_VAL	=0x0010
options		BSC_BCR2_VAL	=0x3ddc
options		BSC_WCR1_VAL	=0x2aaa
options		BSC_WCR2_VAL	=0x0246
options		BSC_MCR_VAL	=0x0074
options		BSC_RTCSR_VAL	=0xa510
options		BSC_RTCNT_VAL	=0xa500	# XXX
options		BSC_RTCOR_VAL	=0xa53a
options		FRQCR_VAL	=0x0102

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

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

# Miscellaneous mass storage devices


# Network Interfaces


# 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)
