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