MMTA revision 1.11
1184610Salfred#	$NetBSD: MMTA,v 1.11 2002/02/10 17:37:00 wiz Exp $
2184610Salfred#
3184610Salfred#	GENERIC -- everything that's currently supported
4184610Salfred#
5184610Salfred
6184610Salfredinclude "arch/mmeye/conf/std.mmeye"
7184610Salfred
8184610Salfred# Enable the hooks used for initializing the root memory-disk.
9184610Salfred#options 	MEMORY_DISK_HOOKS
10184610Salfred#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
11184610Salfred#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
12184610Salfred#options 	MINIROOTSIZE=3074	# size of memory disk, in blocks
13184610Salfred
14184610Salfredmaxusers	32			# estimated number of users
15184610Salfred
16184610Salfred# Standard system options
17184610Salfredoptions 	SH7708R			# 100MHz
18184610Salfredoptions 	PCLOCK=33330000		# 33.33MHz
19184610Salfredoptions 	INITTODR_ALWAYS_USE_RTC
20184610Salfred
21184610Salfred#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
22184610Salfredoptions 	INSECURE	# disable kernel security levels
23184610Salfred
24184610Salfredoptions 	RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
25184610Salfredoptions 	HZ=50		# clock interrupt generates every 1/HZ sec
26184610Salfred#options 	NTP		# NTP phase/frequency locked loop
27184610Salfred
28184610Salfred#options 	KTRACE		# system call tracing via ktrace(1)
29184610Salfred
30184610Salfredoptions 	SYSVMSG		# System V-like message queues
31184610Salfredoptions 	SYSVSEM		# System V-like semaphores
32184610Salfredoptions 	SYSVSHM		# System V-like memory sharing
33184610Salfred#options 	SHMMAXPGS=1024	# 1024 pages is the default
34184610Salfred
35184610Salfred#options 	LKM		# loadable kernel modules
36184610Salfred
37184610Salfred#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
38184610Salfred
39184610Salfred# Diagnostic/debugging support options
40184610Salfred#options 	DIAGNOSTIC	# cheap kernel consistency checks
41184610Salfred#options 	DEBUG		# expensive debugging checks/support
42184610Salfred#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
43184610Salfred#options 	DDB		# in-kernel debugger
44184610Salfred#options 	KGDB		# remote debugger
45184610Salfred#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
46184610Salfred#makeoptions	DEBUG="-g"	# compile full symbol table
47184610Salfredoptions 	SYSCALL_DEBUG
48184610Salfred
49184610Salfred# Compatibility options
50184610Salfredoptions 	COMPAT_13	# NetBSD 1.3
51184610Salfredoptions 	COMPAT_43	# and 4.3BSD
52184610Salfred#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
53184610Salfred
54184610Salfred# Executable format options
55184610Salfredoptions 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
56184610Salfredoptions 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
57184610Salfred
58184610Salfred# File systems
59184610Salfredfile-system 	FFS		# UFS
60184610Salfred#file-system 	EXT2FS		# second extended file system (linux)
61184610Salfred#file-system 	LFS		# log-structured file system
62184610Salfredfile-system 	MFS		# memory file system
63184610Salfredfile-system 	NFS		# Network File System client
64184610Salfred#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
65184610Salfred#file-system 	MSDOSFS		# MS-DOS file system
66184610Salfredfile-system 	FDESC		# /dev/fd
67184610Salfredfile-system 	KERNFS		# /kern
68184610Salfredfile-system 	NULLFS		# loopback file system
69184610Salfred#file-system 	PORTAL		# portal filesystem (still experimental)
70184610Salfredfile-system 	PROCFS		# /proc
71184610Salfredfile-system 	UMAPFS		# NULLFS + uid and gid remapping
72184610Salfred#file-system 	UNION		# union file system
73184610Salfred
74184610Salfred# File system options
75184610Salfred#options 	QUOTA		# UFS quotas
76184610Salfredoptions 	NFSSERVER	# Network File System server
77184610Salfred#options 	FIFO		# FIFOs; RECOMMENDED
78184610Salfred#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
79184610Salfred				# immutable) behave as system flags.
80184610Salfred
81184610Salfred# Networking options
82184610Salfred#options 	GATEWAY		# packet forwarding
83184610Salfredoptions 	INET		# IP + ICMP + TCP + UDP
84184610Salfred#options 	MROUTING	# IP multicast routing
85184610Salfredoptions 	NS		# XNS
86184610Salfred#options 	NSIP		# XNS tunneling over IP
87184610Salfred#options 	ISO,TPIP	# OSI
88184610Salfred#options 	EON		# OSI tunneling over IP
89184610Salfred#options 	CCITT,LLC,HDLC	# X.25
90184610Salfred#options 	NETATALK	# AppleTalk networking protocols
91184610Salfred#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
92184610Salfred#options 	PPP_DEFLATE	# Deflate compression support for PPP
93184610Salfred#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
94184610Salfred#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
95184610Salfred#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
96184610Salfred
97184610Salfred# These options enable verbose messages for several subsystems.
98184610Salfred# Warning, these may compile large string tables into the kernel!
99184610Salfredoptions 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
100184610Salfredoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
101184610Salfred#options 	SCSIVERBOSE	# human readable SCSI error messages
102184610Salfred
103184610Salfred# Kernel root file system and dump configuration.
104184610Salfred#config		netbsd	root on ? type ?
105184610Salfred#config		netbsd	root on sd0a type ffs
106184610Salfred#config		netbsd	root on ? type nfs
107184610Salfredconfig		netbsd	root on wd0a type ffs
108184610Salfred
109184610Salfred#
110184610Salfred# Device configuration
111184610Salfred#
112184610Salfred
113184610Salfredmainbus0 at root
114184610Salfred
115184610Salfredshb* at mainbus?
116184610Salfred
117184610Salfred# Basic Bus Support
118184610Salfred
119184610Salfred# PCMCIA bus support
120184610Salfredpcmcia*	at shpcic? controller ? socket ?
121184610Salfred#pcmcia*	at shb?
122184610Salfred
123184610Salfred# SH PCMCIA controllers
124184610Salfredshpcic0	at shb? port 0xb000000a iomem 0xb8000000 iosiz 0x1000000
125187259Sthompsashpcic1	at shb? port 0xb000000c iomem 0xb9000000 iosiz 0x1000000
126187259Sthompsa
127187259Sthompsa
128187259Sthompsa# Console Devices
129187259Sthompsa
130187259Sthompsa# XXX
131187259Sthompsa
132187259Sthompsa
133187259Sthompsa# Serial Devices
134184610Salfred
135184610Salfredcom0 at shb? port 0xa4000000 irq 11
136184610Salfredcom1 at shb? port 0xa4000008 irq 12
137184610Salfred
138184610Salfred# PCMCIA serial interfaces
139184610Salfredcom*	at pcmcia? function ?		# Modems and serial cards
140184610Salfred
141184610Salfred
142184610Salfred# SCSI Controllers and Devices
143184610Salfred
144184610Salfred# PCMCIA SCSI controllers
145184610Salfred#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
146184610Salfred
147184610Salfred# SCSI bus support
148184610Salfred#scsibus* at aic?
149184610Salfred
150184610Salfred# SCSI devices
151184610Salfred#sd*	at scsibus? target ? lun ?	# SCSI disk drives
152184610Salfred#st*	at scsibus? target ? lun ?	# SCSI tape drives
153184610Salfred#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
154184610Salfred#ch*	at scsibus? target ? lun ?	# SCSI autochangers
155184610Salfred#ss*	at scsibus? target ? lun ?	# SCSI scanners
156184610Salfred#uk*	at scsibus? target ? lun ?	# SCSI unknown
157184610Salfred
158184610Salfred
159184610Salfred# IDE and Related Devices
160184610Salfred
161184610Salfredwdc* at pcmcia? function ?
162184610Salfred
163184610Salfred# IDE drives
164184610Salfredwd*	at wdc? drive ?			# the drives themselves
165184610Salfred
166184610Salfred# ATAPI bus support
167184610Salfred#atapibus* at wdc?
168185948Sthompsa
169185948Sthompsa# ATAPI devices
170185948Sthompsa#cd*	at atapibus? drive ?		# ATAPI CD-ROM drives
171185948Sthompsa
172185948Sthompsa
173185948Sthompsa# Miscellaneous mass storage devices
174185948Sthompsa
175185948Sthompsa
176185948Sthompsa# Network Interfaces
177185948Sthompsa
178185948Sthompsa# PCMCIA network interfaces
179185948Sthompsaep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
180185948Sthompsane*	at pcmcia? function ?		# NE2000-compatible Ethernet
181185948Sthompsa#sm*	at pcmcia? function ?		# Megahertz Ethernet
182185948Sthompsa
183185948Sthompsa# MII/PHY support
184184610Salfredexphy*	at mii? phy ?			# 3Com internal PHYs
185184610Salfredicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
186184610Salfredinphy*	at mii? phy ?			# Intel 82555 PHYs
187187259Sthompsalxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
188184610Salfrednsphy*	at mii? phy ?			# NS83840 PHYs
189184610Salfredqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
190184610Salfredsqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
191184610Salfredtlphy*	at mii? phy ?			# ThunderLAN PHYs
192184610Salfredukphy*	at mii? phy ?			# generic unknown PHYs
193184610Salfred
194184610Salfred
195184610Salfred# Pull in optional local configuration
196187259Sthompsainclude	"arch/mmeye/conf/GENERIC.local"
197184610Salfred
198184610Salfred
199184610Salfred# Pseudo-Devices
200184610Salfred
201184610Salfred# disk/mass storage pseudo-devices
202184610Salfredpseudo-device	ccd		4	# concatenated/striped disk devices
203184610Salfredpseudo-device	md		1	# memory disk device (ramdisk)
204184610Salfredpseudo-device	vnd		4	# disk-like interface to files
205187259Sthompsa
206184610Salfred# network pseudo-devices
207184610Salfred#pseudo-device	bpfilter	8	# Berkeley packet filter
208184610Salfred#pseudo-device	ipfilter		# IP filter (firewall) and NAT
209184610Salfredpseudo-device	loop			# network loopback
210184610Salfredpseudo-device	ppp		2	# Point-to-Point Protocol
211184610Salfred#pseudo-device	sl		2	# Serial Line IP
212184610Salfred#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
213184610Salfredpseudo-device	tun		2	# network tunneling over tty
214184610Salfred
215187259Sthompsa# miscellaneous pseudo-devices
216184610Salfredpseudo-device	pty			# pseudo-terminals
217184610Salfred#pseudo-device	tb		1	# tablet line discipline
218184610Salfred
219184610Salfred# rnd is EXPERIMENTAL at this point.
220184610Salfred#pseudo-device	rnd			# /dev/random and in-kernel generator
221184610Salfred#options 	RND_COM			# use "com" randomness as well (BROKEN)
222184610Salfred