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