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