MMTA revision 1.39
1#	$NetBSD: MMTA,v 1.39 2008/11/12 12:36:04 ad Exp $
2#
3#	GENERIC -- everything that's currently supported
4#
5
6include "arch/mmeye/conf/std.mmeye"
7
8#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10# Enable the hooks used for initializing the root memory-disk.
11#options 	MEMORY_DISK_HOOKS
12#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
13#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
14#options 	MEMORY_DISK_ROOT_SIZE=3074	# size of memory disk, in blocks
15
16maxusers	32			# estimated number of users
17
18# Standard system options
19options		SH3
20options 	SH7708R			# 100MHz
21options 	PCLOCK=33330000		# 33.33MHz
22options 	INITTODR_ALWAYS_USE_RTC
23
24options 	INSECURE	# disable kernel security levels
25
26options 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
27options 	HZ=50		# clock interrupt generates every 1/HZ sec
28#options 	NTP		# NTP phase/frequency locked loop
29
30#options 	KTRACE		# system call tracing via ktrace(1)
31
32options 	SYSVMSG		# System V-like message queues
33options 	SYSVSEM		# System V-like semaphores
34options 	SYSVSHM		# System V-like memory sharing
35#options 	SHMMAXPGS=1024	# 1024 pages is the default
36
37
38#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
39#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
40
41# Diagnostic/debugging support options
42#options 	DIAGNOSTIC	# cheap kernel consistency checks
43#options 	DEBUG		# expensive debugging checks/support
44#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
45#options 	DDB		# in-kernel debugger
46#options 	KGDB		# remote debugger
47#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
48#makeoptions	DEBUG="-g"	# compile full symbol table
49options 	SYSCALL_DEBUG
50
51# Compatibility options
52options 	COMPAT_43	# and 4.3BSD
53#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
54options 	BSDDISKLABEL_EI	# endian independent disklabel support
55options 	COMPAT_MMEYE_OLDLABEL	# old mmeye's disklabel support
56options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
57
58# Executable format options
59options 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
60
61# File systems
62file-system 	FFS		# UFS
63#file-system 	EXT2FS		# second extended file system (linux)
64#file-system 	LFS		# log-structured file system
65file-system 	MFS		# memory file system
66file-system 	NFS		# Network File System client
67#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
68#file-system 	MSDOSFS		# MS-DOS file system
69file-system 	FDESC		# /dev/fd
70file-system 	KERNFS		# /kern
71file-system 	NULLFS		# loopback file system
72#file-system 	PORTAL		# portal filesystem (still experimental)
73file-system 	PROCFS		# /proc
74file-system 	UMAPFS		# NULLFS + uid and gid remapping
75#file-system 	UNION		# union file system
76file-system	PTYFS		# /dev/pts/N support
77
78# File system options
79#options 	QUOTA		# UFS quotas
80options 	NFSSERVER	# Network File System server
81#options 	FIFO		# FIFOs; RECOMMENDED
82options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
83#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
84				# immutable) behave as system flags.
85
86# Networking options
87#options 	GATEWAY		# packet forwarding
88options 	INET		# IP + ICMP + TCP + UDP
89#options 	MROUTING	# IP multicast routing
90#options 	PIM		# Protocol Independent Multicast
91#options 	ISO,TPIP	# OSI
92#options 	EON		# OSI tunneling over IP
93#options 	NETATALK	# AppleTalk networking protocols
94#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
95#options 	PPP_DEFLATE	# Deflate compression support for PPP
96#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
97#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
98#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
99
100# These options enable verbose messages for several subsystems.
101# Warning, these may compile large string tables into the kernel!
102options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
103options 	MIIVERBOSE	# verbose PHY autoconfig messages
104#options 	SCSIVERBOSE	# human readable SCSI error messages
105
106# Kernel root file system and dump configuration.
107#config		netbsd	root on ? type ?
108#config		netbsd	root on sd0a type ffs
109#config		netbsd	root on ? type nfs
110config		netbsd	root on wd0a type ffs
111
112#
113# Device configuration
114#
115
116mainbus0 at root
117
118shb* at mainbus?
119
120rtc*	at shb?
121
122com0	at mainbus?
123com1	at mainbus?
124
125# SH PCMCIA controllers
126mmeyepcmcia0	at mainbus?
127mmeyepcmcia1	at mainbus?
128
129# PCMCIA bus support
130pcmcia*	at mmeyepcmcia? controller ? socket ?
131
132# Console Devices
133
134# XXX
135
136# PCMCIA serial interfaces
137com*	at pcmcia? function ?		# Modems and serial cards
138
139
140# SCSI Controllers and Devices
141
142# PCMCIA SCSI controllers
143#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
144
145# SCSI bus support
146#scsibus* at aic?
147
148# SCSI devices
149#sd*	at scsibus? target ? lun ?	# SCSI disk drives
150#st*	at scsibus? target ? lun ?	# SCSI tape drives
151#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
152#ch*	at scsibus? target ? lun ?	# SCSI autochangers
153#ss*	at scsibus? target ? lun ?	# SCSI scanners
154#uk*	at scsibus? target ? lun ?	# SCSI unknown
155
156
157# IDE and Related Devices
158
159wdc* at pcmcia? function ?
160
161# ATA (IDE) bus support
162atabus* at ata?
163
164# IDE drives
165wd*	at atabus? drive ?
166
167# ATAPI bus support
168#atapibus* at atapi?
169
170# ATAPI devices
171#cd*	at atapibus? drive ?		# ATAPI CD-ROM drives
172
173
174# Miscellaneous mass storage devices
175
176
177# Network Interfaces
178
179# PCMCIA network interfaces
180ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
181ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
182#sm*	at pcmcia? function ?		# Megahertz Ethernet
183
184# MII/PHY support
185exphy*	at mii? phy ?			# 3Com internal PHYs
186icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
187inphy*	at mii? phy ?			# Intel 82555 PHYs
188lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
189nsphy*	at mii? phy ?			# NS83840 PHYs
190qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
191sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
192#tlphy*	at mii? phy ?			# ThunderLAN PHYs
193ukphy*	at mii? phy ?			# generic unknown PHYs
194
195
196# Pull in optional local configuration
197cinclude "arch/mmeye/conf/GENERIC.local"
198
199
200# Pseudo-Devices
201
202# disk/mass storage pseudo-devices
203pseudo-device	ccd		4	# concatenated/striped disk devices
204#pseudo-device	fss		4	# file system snapshot device
205pseudo-device	md		1	# memory disk device (ramdisk)
206pseudo-device	vnd			# disk-like interface to files
207
208# network pseudo-devices
209#pseudo-device	bpfilter		# Berkeley packet filter
210#pseudo-device	ipfilter		# IP filter (firewall) and NAT
211pseudo-device	loop			# network loopback
212pseudo-device	ppp			# Point-to-Point Protocol
213#pseudo-device	sl			# Serial Line IP
214#pseudo-device	strip			# Starmode Radio IP (Metricom)
215pseudo-device	tun			# network tunneling over tty
216
217# miscellaneous pseudo-devices
218pseudo-device	pty			# pseudo-terminals
219pseudo-device	clockctl		# user control of clock subsystem
220
221# rnd is EXPERIMENTAL at this point.
222#pseudo-device	rnd			# /dev/random and in-kernel generator
223#options 	RND_COM			# use "com" randomness as well (BROKEN)
224