KZSH401 revision 1.12
11.12Such#	$NetBSD: KZSH401,v 1.12 2002/02/28 01:58:18 uch Exp $
21.1Smsaitoh#
31.1Smsaitoh#	GENERIC -- everything that's currently supported
41.1Smsaitoh#
51.1Smsaitoh
61.9Sitojun# for big endian
71.9Sitojuninclude "arch/evbsh3/conf/std.evbsh3.eb"
81.9Sitojun# for little endian
91.9Sitojun#include "arch/evbsh3/conf/std.evbsh3.el"
101.1Smsaitoh
111.1Smsaitoh# Enable the hooks used for initializing the root memory-disk.
121.1Smsaitohoptions 	MEMORY_DISK_HOOKS
131.1Smsaitohoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
141.1Smsaitohoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
151.1Smsaitohoptions 	MINIROOTSIZE=2880	# size of memory disk, in blocks
161.1Smsaitoh
171.1Smsaitohmaxusers	16		# estimated number of users
181.1Smsaitoh
191.1Smsaitoh# CPU support
201.1Smsaitohoptions 	SH7750
211.10Slukemoptions 	SH4
221.10Slukemoptions 	SH4_PCMCIA
231.1Smsaitohoptions 	EVBSH4
241.1Smsaitohoptions 	MMEYE
251.1Smsaitoh#options 	MMEYE_NEW_INT
261.12Such#options 	CACHE_DISABLE
271.10Slukemoptions 	PCLOCK=33333300			# 33.3333MHz
281.10Slukemoptions 	IOM_ROM_BEGIN=0x00000000
291.10Slukemoptions 	IOM_ROM_SIZE=0x00100000		# 1MB
301.10Slukemoptions 	IOM_RAM_BEGIN=0x88000000
311.10Slukemoptions 	IOM_RAM_SIZE=0x01000000		# 16MB
321.10Slukemoptions 	INITTODR_ALWAYS_USE_RTC
331.10Slukemoptions 	BRAINS
341.10Slukemoptions 	USE_RTCCLK
351.10Slukemoptions 	SYNC_CLOCK_TO_RTC
361.10Slukem
371.10Slukemoptions 	BSC_BCR1_VAL	=0x8000000c
381.10Slukemoptions 	BSC_BCR2_VAL	=0xb538
391.10Slukemoptions 	BSC_WCR1_VAL	=0x00010111
401.10Slukemoptions 	BSC_WCR2_VAL	=0x108a2520
411.10Slukemoptions 	BSC_WCR3_VAL	=0x00000000
421.10Slukemoptions 	BSC_MCR_VAL	=0x10192194
431.10Slukem#options 	BSC_PCR_VAL	=0x08eb
441.10Slukemoptions 	BSC_RTCSR_VAL	=0xa510
451.10Slukem#options 	BSC_RTCNT_VAL	=0xa500
461.10Slukemoptions 	BSC_RTCOR_VAL	=0xa541
471.10Slukemoptions 	BSC_RFCR_VAL	=0xa400
481.10Slukemoptions 	FRQCR_VAL	=0x0e13
491.10Slukemoptions 	BSC_SDMR2_VAL	=0xff90008c
501.1Smsaitoh
511.10Slukemoptions 	LED_ADDR=0xa8000000
521.1Smsaitoh
531.1Smsaitoh# Standard system options
541.1Smsaitoh#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
551.1Smsaitoh#options 	INSECURE	# disable kernel security levels
561.1Smsaitoh
571.10Slukemoptions 	RTC_OFFSET=-540
581.1Smsaitohoptions 	HZ=64		# clock interrupt generates every 1/HZ sec
591.1Smsaitoh#options 	NTP		# NTP phase/frequency locked loop
601.1Smsaitoh
611.1Smsaitoh#options 	KTRACE		# system call tracing via ktrace(1)
621.11Sjdolecek
631.11Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
641.1Smsaitoh
651.1Smsaitoh#options 	SYSVMSG		# System V-like message queues
661.1Smsaitoh#options 	SYSVSEM		# System V-like semaphores
671.1Smsaitoh#options 	SYSVSHM		# System V-like memory sharing
681.1Smsaitoh#options 	SHMMAXPGS=1024	# 1024 pages is the default
691.1Smsaitoh
701.1Smsaitoh# Diagnostic/debugging support options
711.1Smsaitoh#options 	DIAGNOSTIC	# cheap kernel consistency checks
721.1Smsaitoh#options 	DEBUG		# expensive debugging checks/support
731.1Smsaitoh#options 	DDB		# in-kernel debugger
741.1Smsaitoh#makeoptions	DEBUG="-g"	# compile full symbol table
751.1Smsaitoh#options 	SYSCALL_DEBUG
761.1Smsaitoh#options 	UVMHIST
771.10Slukem#options 	UVMHIST_PRINT
781.1Smsaitoh
791.1Smsaitoh# Compatibility options
801.1Smsaitohoptions 	COMPAT_13	# NetBSD 1.3
811.4Smsaitohoptions 	COMPAT_14	# NetBSD 1.4,
821.1Smsaitohoptions 	COMPAT_43	# and 4.3BSD
831.1Smsaitoh
841.1Smsaitoh# Executable format options
851.1Smsaitohoptions 	EXEC_COFF	# COFF executables
861.1Smsaitoh#options 	EXEC_ELF32	# 32-bit ELF executables
871.1Smsaitoh
881.1Smsaitoh# File systems
891.1Smsaitohfile-system 	FFS		# UFS
901.1Smsaitohfile-system 	MFS		# memory file system
911.1Smsaitoh#file-system 	NFS		# Network File System client
921.6Smsaitohfile-system 	PROCFS		# /proc
931.6Smsaitohfile-system 	KERNFS		# /kern
941.6Smsaitoh#file-system 	NULLFS		# loopback file system
951.6Smsaitoh#file-system 	UMAPFS		# NULLFS + uid and gid remapping
961.1Smsaitoh
971.1Smsaitoh# File system options
981.1Smsaitoh#options 	QUOTA		# UFS quotas
991.1Smsaitoh#options 	NFSSERVER	# Network File System server
1001.1Smsaitoh
1011.1Smsaitoh# Networking options
1021.5Smsaitohoptions 	INET		# IP + ICMP + TCP + UDP
1031.1Smsaitoh#options 	NFS_BOOT_DHCP	# Support DHCP NFS root
1041.1Smsaitoh
1051.1Smsaitoh#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1061.2Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1071.1Smsaitoh#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1081.1Smsaitoh
1091.1Smsaitoh# Kernel root file system and dump configuration.
1101.1Smsaitoh#config		netbsd	root on ? type nfs
1111.1Smsaitoh#config		netbsd	root on wd0a type ffs
1121.1Smsaitohconfig		netbsd	root on ? type ffs
1131.1Smsaitoh
1141.1Smsaitoh#
1151.1Smsaitoh# Device configuration
1161.1Smsaitoh#
1171.1Smsaitoh
1181.1Smsaitohmainbus0 at root
1191.1Smsaitoh
1201.1Smsaitohshb*	at mainbus?
1211.1Smsaitoh
1221.1Smsaitoh# Serial Devices
1231.1Smsaitoh
1241.10Slukemoptions 	SCIFCN_SPEED=19200
1251.1Smsaitohscif0 at shb? port 0xffe80000 irq 12
1261.1Smsaitoh
1271.1Smsaitoh#com0	at shb? port 0xa4000000 irq 11
1281.1Smsaitoh#com1	at shb? port 0xa4000008 irq 12
1291.1Smsaitoh
1301.1Smsaitoh# SH PCMCIA controllers
1311.1Smsaitoh#shpcic0	at shb? port 0xb000000a iomem 0xb8000000 iosiz 0x1000000
1321.1Smsaitoh#shpcic1	at shb? port 0xb000000c iomem 0xb9000000 iosiz 0x1000000
1331.1Smsaitoh
1341.1Smsaitoh# PCMCIA bus support
1351.1Smsaitoh#pcmcia*	at shpcic? controller ? socket ?
1361.1Smsaitoh
1371.1Smsaitoh#com*	at pcmcia? function ?		# Modems and serial cards
1381.1Smsaitoh#wdc*	at pcmcia? function ?
1391.1Smsaitoh#wd*	at wdc? drive ?			# the drives themselves
1401.1Smsaitoh
1411.1Smsaitoh#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
1421.1Smsaitoh#mbe*	at pcmcia? function ?		# MB8696x based Ethernet
1431.1Smsaitoh#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
1441.1Smsaitoh#sm*	at pcmcia? function ?		# Megahertz Ethernet
1451.1Smsaitoh
1461.1Smsaitoh#pseudo-device	vnd		4	# disk-like interface to files
1471.1Smsaitoh#pseudo-device	bpfilter	8	# Berkeley packet filter
1481.1Smsaitoh#pseudo-device	ipfilter		# IP filter (firewall) and NAT
1491.5Smsaitohpseudo-device	loop			# network loopback
1501.7Sjdolecekpseudo-device	pty			# pseudo-terminals
1511.1Smsaitoh#pseudo-device	ppp		2	# Point-to-Point Protocol
1521.1Smsaitoh#pseudo-device	tun		2	# network tunneling over tty
1531.1Smsaitoh
1541.1Smsaitoh# Enable the hooks used for initializing the root memory-disk.
1551.1Smsaitoh#options 	MEMORY_DISK_HOOKS
1561.1Smsaitoh#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
1571.1Smsaitoh#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
1581.1Smsaitoh#options 	MINIROOTSIZE=3074	# size of memory disk, in blocks
1591.1Smsaitoh
1601.1Smsaitohpseudo-device	md		1	# memory disk device (ramdisk)
161