CQREEKSH3 revision 1.1
11.1Sitojun#	$NetBSD: CQREEKSH3,v 1.1 1999/09/13 10:30:22 itojun Exp $
21.1Sitojun#
31.1Sitojun#	GENERIC -- everything that's currently supported
41.1Sitojun#
51.1Sitojun
61.1Sitojuninclude "arch/evbsh3/conf/std.evbsh3"
71.1Sitojun
81.1Sitojun# Enable the hooks used for initializing the root memory-disk.
91.1Sitojunoptions 	MEMORY_DISK_HOOKS
101.1Sitojunoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
111.1Sitojunoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
121.1Sitojunoptions 	MINIROOTSIZE=2400	# size of memory disk, in blocks
131.1Sitojun
141.1Sitojunoptions		ROMIMAGE
151.1Sitojun
161.1Sitojunmaxusers	32		# estimated number of users
171.1Sitojun
181.1Sitojun# CPU support.  At least one is REQUIRED.
191.1Sitojunoptions		SH7708		# 100MHz
201.1Sitojunoptions		PCLOCK=15000000		# 15.000MHz
211.1Sitojunoptions		IOM_ROM_SIZE=0x00200000	# 2MB
221.1Sitojunoptions		IOM_RAM_SIZE=0x00400000	# 4MB
231.1Sitojunoptions		LED_ADDR=0xa8000000
241.1Sitojun
251.1Sitojunoptions		BSC_BCR1_VAL	=0x0010
261.1Sitojunoptions		BSC_BCR2_VAL	=0x3ddc
271.1Sitojunoptions		BSC_WCR1_VAL	=0x2aaa
281.1Sitojunoptions		BSC_WCR2_VAL	=0x0246
291.1Sitojunoptions		BSC_MCR_VAL	=0x0074
301.1Sitojunoptions		BSC_RTCSR_VAL	=0xa510
311.1Sitojunoptions		BSC_RTCNT_VAL	=0xa500	# XXX
321.1Sitojunoptions		BSC_RTCOR_VAL	=0xa53a
331.1Sitojunoptions		FRQCR_VAL	=0x0102
341.1Sitojun
351.1Sitojun# CPU-related options.
361.1Sitojun#options 	MATH_EMULATE	# floating point emulation
371.1Sitojun
381.1Sitojun# This option allows you to force a serial console at the specified
391.1Sitojun# I/O address.   see console(4) for details.
401.1Sitojun#options 	"CONSDEVNAME=\"com\""
411.1Sitojun
421.1Sitojun# Standard system options
431.1Sitojun
441.1Sitojun#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
451.1Sitojun#options 	INSECURE	# disable kernel security levels
461.1Sitojun
471.1Sitojunoptions 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
481.1Sitojunoptions 	HZ=50		# clock interrupt generates every 1/HZ sec 
491.1Sitojun#options 	NTP		# NTP phase/frequency locked loop
501.1Sitojun
511.1Sitojun#options 	KTRACE		# system call tracing via ktrace(1)
521.1Sitojun
531.1Sitojunoptions 	SYSVMSG		# System V-like message queues
541.1Sitojunoptions 	SYSVSEM		# System V-like semaphores
551.1Sitojunoptions 	SYSVSHM		# System V-like memory sharing
561.1Sitojun#options 	SHMMAXPGS=1024	# 1024 pages is the default
571.1Sitojun
581.1Sitojun#options 	LKM		# loadable kernel modules
591.1Sitojun
601.1Sitojun# Diagnostic/debugging support options
611.1Sitojun#options 	DIAGNOSTIC	# cheap kernel consistency checks
621.1Sitojun#options 	DEBUG		# expensive debugging checks/support
631.1Sitojun#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
641.1Sitojun#options 	DDB		# in-kernel debugger
651.1Sitojun#options 	KGDB		# remote debugger
661.1Sitojun#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
671.1Sitojun#makeoptions	DEBUG="-g"	# compile full symbol table
681.1Sitojunoptions		SYSCALL_DEBUG
691.1Sitojun
701.1Sitojun# Compatibility options
711.1Sitojunoptions 	COMPAT_13	# NetBSD 1.3,
721.1Sitojunoptions 	COMPAT_43	# and 4.3BSD
731.1Sitojun
741.1Sitojun# Executable format options
751.1Sitojun#options 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
761.1Sitojunoptions 	EXEC_COFF	# 32-bit ECOFF executables (sh-compiler)
771.1Sitojun
781.1Sitojun# File systems
791.1Sitojunfile-system 	FFS		# UFS
801.1Sitojun#file-system 	EXT2FS		# second extended file system (linux)
811.1Sitojun#file-system 	LFS		# log-structured file system
821.1Sitojunfile-system 	MFS		# memory file system
831.1Sitojun#file-system 	NFS		# Network File System client
841.1Sitojun#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
851.1Sitojun#file-system 	MSDOSFS		# MS-DOS file system
861.1Sitojunfile-system 	FDESC		# /dev/fd
871.1Sitojunfile-system 	KERNFS		# /kern
881.1Sitojunfile-system 	NULLFS		# loopback file system
891.1Sitojun#file-system 	PORTAL		# portal filesystem (still experimental)
901.1Sitojunfile-system 	PROCFS		# /proc
911.1Sitojun#file-system 	UMAPFS		# NULLFS + uid and gid remapping
921.1Sitojun#file-system 	UNION		# union file system
931.1Sitojun
941.1Sitojun# File system options
951.1Sitojun#options 	QUOTA		# UFS quotas
961.1Sitojun#options 	NFSSERVER	# Network File System server
971.1Sitojun#options 	FIFO		# FIFOs; RECOMMENDED
981.1Sitojun#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
991.1Sitojun				# immutable) behave as system flags.
1001.1Sitojun
1011.1Sitojun# Networking options
1021.1Sitojunoptions 	GATEWAY		# packet forwarding
1031.1Sitojunoptions 	INET		# IP + ICMP + TCP + UDP
1041.1Sitojunoptions 	MROUTING	# IP multicast routing
1051.1Sitojunoptions 	NS		# XNS
1061.1Sitojun#options 	NSIP		# XNS tunneling over IP
1071.1Sitojun#options 	ISO,TPIP	# OSI
1081.1Sitojun#options 	EON		# OSI tunneling over IP
1091.1Sitojun#options 	CCITT,LLC,HDLC	# X.25
1101.1Sitojun#options 	NETATALK	# AppleTalk networking protocols
1111.1Sitojun#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1121.1Sitojun#options 	PPP_DEFLATE	# Deflate compression support for PPP
1131.1Sitojun#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1141.1Sitojun#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1151.1Sitojun
1161.1Sitojun# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1171.1Sitojun#options 	TCP_COMPAT_42
1181.1Sitojun
1191.1Sitojun# These options enable verbose messages for several subsystems.
1201.1Sitojun# Warning, these may compile large string tables into the kernel!
1211.1Sitojun#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1221.1Sitojun
1231.1Sitojun# Kernel root file system and dump configuration.
1241.1Sitojunconfig		netbsd	root on ? type ?
1251.1Sitojun#config		netbsd	root on ? type nfs
1261.1Sitojun#config		netbsd	root on wd0a type ffs
1271.1Sitojun
1281.1Sitojun#
1291.1Sitojun# Device configuration
1301.1Sitojun#
1311.1Sitojun
1321.1Sitojunmainbus0 at root
1331.1Sitojun
1341.1Sitojunshb* at mainbus?
1351.1Sitojun
1361.1Sitojun# Serial Devices
1371.1Sitojun
1381.1Sitojunoptions	SCICN_SPEED=38400
1391.1Sitojunsci0 at shb? port 0xa4000008 irq 12
1401.1Sitojun
1411.1Sitojun# Miscellaneous mass storage devices
1421.1Sitojun
1431.1Sitojun# ISA floppy
1441.1Sitojun#fdc0	at mainbus0 # standard PC floppy controllers
1451.1Sitojun#fdc1	at isa? port 0x370 irq ? drq ?
1461.1Sitojun#fd*	at fdc? drive ?			# the drives themselves
1471.1Sitojun# some machines need you to do this instead of fd*
1481.1Sitojun#fd0	at fdc0 drive 0
1491.1Sitojun
1501.1Sitojun# Network Interfaces
1511.1Sitojun
1521.1Sitojun
1531.1Sitojun# Pull in optional local configuration
1541.1Sitojuninclude	"arch/evbsh3/conf/GENERIC.local"
1551.1Sitojun
1561.1Sitojun
1571.1Sitojun# Pseudo-Devices
1581.1Sitojun
1591.1Sitojun# disk/mass storage pseudo-devices
1601.1Sitojun#pseudo-device	ccd		4	# concatenated/striped disk devices
1611.1Sitojunpseudo-device	md		1	# memory disk device (ramdisk)
1621.1Sitojunpseudo-device	vnd		4	# disk-like interface to files
1631.1Sitojun
1641.1Sitojun# network pseudo-devices
1651.1Sitojun#pseudo-device	bpfilter	8	# Berkeley packet filter
1661.1Sitojun#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1671.1Sitojunpseudo-device	loop			# network loopback
1681.1Sitojunpseudo-device	ppp		2	# Point-to-Point Protocol
1691.1Sitojun#pseudo-device	sl		2	# Serial Line IP
1701.1Sitojun#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
1711.1Sitojunpseudo-device	tun		2	# network tunneling over tty
1721.1Sitojun
1731.1Sitojun# miscellaneous pseudo-devices
1741.1Sitojunpseudo-device	pty		64	# pseudo-terminals
1751.1Sitojun#pseudo-device	tb		1	# tablet line discipline
1761.1Sitojun
1771.1Sitojun# rnd is EXPERIMENTAL at this point.
1781.1Sitojun#pseudo-device	rnd			# /dev/random and in-kernel generator
1791.1Sitojun#options 	RND_COM			# use "com" randomness as well (BROKEN)
180