MMTAICE revision 1.57
11.57Smaxv#	$NetBSD: MMTAICE,v 1.57 2018/08/01 20:04:12 maxv Exp $
21.1Sitojun#
31.1Sitojun#	GENERIC -- everything that's currently supported
41.1Sitojun#
51.1Sitojun
61.1Sitojuninclude "arch/mmeye/conf/std.mmeye"
71.15Satatat
81.15Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.1Sitojun
101.1Sitojun# Enable the hooks used for initializing the root memory-disk.
111.1Sitojun#options 	MEMORY_DISK_HOOKS
121.1Sitojun#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
131.1Sitojun#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
141.13Slukem#options 	MEMORY_DISK_ROOT_SIZE=3074	# size of memory disk, in blocks
151.1Sitojun
161.1Sitojunmaxusers	32		# estimated number of users
171.1Sitojun
181.1Sitojun# CPU support.  At least one is REQUIRED.
191.11Suchoptions		SH3
201.8Slukemoptions 	SH7708		# 60MHz
211.8Slukem#options 	SH7708R		# 100MHz
221.8Slukemoptions 	PCLOCK=33330000		# 33.33MHz
231.8Slukemoptions 	INITTODR_ALWAYS_USE_RTC
241.1Sitojun
251.46Skiyoharaoptions 	IOM_RAM_SIZE=0x01000000	# 16MB
261.46Skiyoharaoptions 	IOM_RAM_BEGIN=0x0c000000
271.46Skiyoharamakeoptions	DEFTEXTADDR="0x8c010000"
281.46Skiyohara
291.1Sitojun# CPU-related options.
301.1Sitojun# eliminate delay no-ops in I/O; recommended on all but very old machines
311.1Sitojun#options 	DUMMY_NOPS
321.1Sitojun
331.1Sitojun# Misc. i386-specific options
341.1Sitojun#options 	XSERVER		# X server support in console drivers
351.1Sitojun
361.1Sitojun# This option allows you to force a serial console at the specified
371.1Sitojun# I/O address.   see console(4) for details.
381.8Slukem#options 	CONSDEVNAME="\"com\""
391.1Sitojun
401.1Sitojun# The following options override the memory sizes passed in from the boot
411.1Sitojun# block.  Use them *only* if the boot block is unable to determine the correct
421.1Sitojun# values.  Note that the BIOS may *correctly* report less than 640k of base
431.1Sitojun# memory if the extended BIOS data area is located at the top of base memory
441.1Sitojun# (as is the case on most recent systems).
451.1Sitojun#options 	REALBASEMEM=...	# size of base memory
461.1Sitojun#options 	REALEXTMEM=...	# size of extended memory
471.1Sitojun
481.1Sitojun# Standard system options
491.1Sitojun
501.1Sitojunoptions 	INSECURE	# disable kernel security levels
511.1Sitojun
521.1Sitojunoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
531.8Slukemoptions 	HZ=10		# clock interrupt generates every 1/10 sec
541.1Sitojun				# for Debug
551.1Sitojun#options 	NTP		# NTP phase/frequency locked loop
561.1Sitojun
571.1Sitojun#options 	KTRACE		# system call tracing via ktrace(1)
581.1Sitojun
591.1Sitojunoptions 	SYSVMSG		# System V-like message queues
601.1Sitojunoptions 	SYSVSEM		# System V-like semaphores
611.1Sitojunoptions 	SYSVSHM		# System V-like memory sharing
621.9Sjdolecek
631.20Slukemoptions 	USERCONF	# userconf(4) support
641.9Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
651.24Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
661.1Sitojun
671.1Sitojun# Diagnostic/debugging support options
681.1Sitojun#options 	DIAGNOSTIC	# cheap kernel consistency checks
691.1Sitojun#options 	DEBUG		# expensive debugging checks/support
701.1Sitojun#options 	DDB		# in-kernel debugger
711.1Sitojun#options 	KGDB		# remote debugger
721.7Slukem#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
731.1Sitojun#makeoptions	DEBUG="-g"	# compile full symbol table
741.8Slukemoptions 	SYSCALL_DEBUG
751.1Sitojun
761.1Sitojun# Compatibility options
771.55Smrginclude 	"conf/compat_netbsd70.config"
781.19Stsutsuioptions 	BSDDISKLABEL_EI	# endian independent disklabel support
791.19Stsutsuioptions 	COMPAT_MMEYE_OLDLABEL	# old mmeye's disklabel support
801.1Sitojun
811.1Sitojun# Executable format options
821.3Smsaitohoptions 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
831.1Sitojun
841.1Sitojun# File systems
851.1Sitojunfile-system 	FFS		# UFS
861.1Sitojun#file-system 	EXT2FS		# second extended file system (linux)
871.1Sitojun#file-system 	LFS		# log-structured file system
881.1Sitojunfile-system 	MFS		# memory file system
891.1Sitojunfile-system 	NFS		# Network File System client
901.1Sitojun#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
911.1Sitojun#file-system 	MSDOSFS		# MS-DOS file system
921.1Sitojunfile-system 	FDESC		# /dev/fd
931.1Sitojunfile-system 	KERNFS		# /kern
941.1Sitojunfile-system 	NULLFS		# loopback file system
951.1Sitojunfile-system 	PROCFS		# /proc
961.1Sitojunfile-system 	UMAPFS		# NULLFS + uid and gid remapping
971.1Sitojun#file-system 	UNION		# union file system
981.32Schristosfile-system	PTYFS		# /dev/pts/N support
991.1Sitojun
1001.1Sitojun# File system options
1011.47Sbouyer#options 	QUOTA		# legacy UFS quotas
1021.47Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
1031.1Sitojunoptions 	NFSSERVER	# Network File System server
1041.1Sitojun#options 	FIFO		# FIFOs; RECOMMENDED
1051.33Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1061.1Sitojun#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1071.1Sitojun				# immutable) behave as system flags.
1081.1Sitojun
1091.1Sitojun# Networking options
1101.1Sitojun#options 	GATEWAY		# packet forwarding
1111.1Sitojunoptions 	INET		# IP + ICMP + TCP + UDP
1121.1Sitojun#options 	MROUTING	# IP multicast routing
1131.25Smanu#options 	PIM		# Protocol Independent Multicast
1141.1Sitojun#options 	NETATALK	# AppleTalk networking protocols
1151.1Sitojun#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1161.1Sitojun#options 	PPP_DEFLATE	# Deflate compression support for PPP
1171.1Sitojun#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1181.6Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1191.1Sitojun
1201.1Sitojun# These options enable verbose messages for several subsystems.
1211.1Sitojun# Warning, these may compile large string tables into the kernel!
1221.1Sitojunoptions 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1231.1Sitojun#options 	SCSIVERBOSE	# human readable SCSI error messages
1241.1Sitojun
1251.1Sitojun# Kernel root file system and dump configuration.
1261.1Sitojun#config		netbsd	root on ? type ?
1271.1Sitojun#config		netbsd	root on sd0a type ffs
1281.1Sitojun#config		netbsd	root on ? type nfs
1291.1Sitojunconfig		netbsd	root on wd0a type ffs
1301.1Sitojun
1311.1Sitojun#
1321.1Sitojun# Device configuration
1331.1Sitojun#
1341.1Sitojun
1351.1Sitojunmainbus0 at root
1361.1Sitojun
1371.1Sitojunshb* at mainbus?
1381.1Sitojun
1391.38Suwertc*	at shb?
1401.38Suwe
1411.46Skiyoharacom0	at mainbus? addr1 0xa4000000 irq1 11
1421.46Skiyoharacom1	at mainbus? addr1 0xa4000008 irq1 12
1431.1Sitojun
1441.18Sjdolecek# SH PCMCIA controllers
1451.46Skiyoharammeyepcmcia0 at mainbus? addr1 0xb000000a addr2 0xb8000000 irq1 3 irq2 10
1461.46Skiyoharammeyepcmcia1 at mainbus? addr1 0xb000000c addr2 0xb9000000 irq1 4 irq2 9
1471.1Sitojun
1481.1Sitojun# PCMCIA bus support
1491.18Sjdolecekpcmcia*	at mmeyepcmcia? controller ? socket ?
1501.1Sitojun
1511.1Sitojun# PCMCIA serial interfaces
1521.1Sitojuncom*	at pcmcia? function ?		# Modems and serial cards
1531.1Sitojun
1541.1Sitojun
1551.1Sitojun# SCSI Controllers and Devices
1561.1Sitojun
1571.1Sitojun# PCMCIA SCSI controllers
1581.1Sitojun#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
1591.1Sitojun
1601.1Sitojun# SCSI bus support
1611.1Sitojun#scsibus* at aic?
1621.1Sitojun
1631.1Sitojun# SCSI devices
1641.1Sitojun#sd*	at scsibus? target ? lun ?	# SCSI disk drives
1651.1Sitojun#st*	at scsibus? target ? lun ?	# SCSI tape drives
1661.1Sitojun#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1671.1Sitojun#ch*	at scsibus? target ? lun ?	# SCSI autochangers
1681.1Sitojun#ss*	at scsibus? target ? lun ?	# SCSI scanners
1691.1Sitojun#uk*	at scsibus? target ? lun ?	# SCSI unknown
1701.1Sitojun
1711.1Sitojun
1721.1Sitojun# IDE and Related Devices
1731.1Sitojun
1741.1Sitojunwdc* at pcmcia? function ?
1751.1Sitojun
1761.23Slukem# ATA (IDE) bus support
1771.23Slukematabus* at ata?
1781.22Sbouyer
1791.1Sitojun# IDE drives
1801.22Sbouyerwd*	at atabus? drive ?
1811.1Sitojun
1821.1Sitojun# ATAPI bus support
1831.23Slukem#atapibus* at atapi?
1841.1Sitojun
1851.1Sitojun# ATAPI devices
1861.1Sitojun#cd*	at atapibus? drive ?		# ATAPI CD-ROM drives
1871.1Sitojun
1881.1Sitojun
1891.1Sitojun# Miscellaneous mass storage devices
1901.1Sitojun
1911.1Sitojun
1921.1Sitojun# Network Interfaces
1931.1Sitojun
1941.1Sitojun# PCMCIA network interfaces
1951.1Sitojunep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
1961.1Sitojunne*	at pcmcia? function ?		# NE2000-compatible Ethernet
1971.1Sitojun#sm*	at pcmcia? function ?		# Megahertz Ethernet
1981.1Sitojun
1991.1Sitojun# MII/PHY support
2001.1Sitojunexphy*	at mii? phy ?			# 3Com internal PHYs
2011.10Swizicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
2021.1Sitojuninphy*	at mii? phy ?			# Intel 82555 PHYs
2031.1Sitojunlxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
2041.1Sitojunnsphy*	at mii? phy ?			# NS83840 PHYs
2051.1Sitojunqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
2061.1Sitojunsqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
2071.18Sjdolecek#tlphy*	at mii? phy ?			# ThunderLAN PHYs
2081.1Sitojunukphy*	at mii? phy ?			# generic unknown PHYs
2091.1Sitojun
2101.1Sitojun
2111.1Sitojun# Pull in optional local configuration
2121.40Sjmmvcinclude "arch/mmeye/conf/GENERIC.local"
2131.1Sitojun
2141.1Sitojun
2151.1Sitojun# Pseudo-Devices
2161.1Sitojun
2171.1Sitojun# disk/mass storage pseudo-devices
2181.50Schristospseudo-device	ccd			# concatenated/striped disk devices
2191.44Spooka#pseudo-device	fss			# file system snapshot device
2201.45Shannkenpseudo-device	md			# memory disk device (ramdisk)
2211.36Scubepseudo-device	vnd			# disk-like interface to files
2221.1Sitojun
2231.1Sitojun# network pseudo-devices
2241.35Srpaulo#pseudo-device	bpfilter		# Berkeley packet filter
2251.57Smaxv#pseudo-device	npf			# NPF packet filter
2261.1Sitojunpseudo-device	loop			# network loopback
2271.36Scubepseudo-device	ppp			# Point-to-Point Protocol
2281.36Scube#pseudo-device	sl			# Serial Line IP
2291.36Scube#pseudo-device	strip			# Starmode Radio IP (Metricom)
2301.36Scubepseudo-device	tun			# network tunneling over tty
2311.1Sitojun
2321.1Sitojun# miscellaneous pseudo-devices
2331.4Sjdolecekpseudo-device	pty			# pseudo-terminals
2341.16Slukempseudo-device	clockctl		# user control of clock subsystem
2351.1Sitojun
2361.1Sitojun# rnd is EXPERIMENTAL at this point.
2371.1Sitojun#options 	RND_COM			# use "com" randomness as well (BROKEN)
238