G1IDE revision 1.2
1# $NetBSD: G1IDE,v 1.2 2017/07/25 23:20:57 nat Exp $
2
3include 	"arch/dreamcast/conf/std.dreamcast"
4
5options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
6
7maxusers	16		# estimated number of users
8
9# Standard system options
10#options 	INSECURE	# disable kernel security levels
11
12#options 	RTC_OFFSET=-540
13options 	HZ=100		# clock interrupt generates every 1/HZ sec
14options 	NTP		# NTP phase/frequency locked loop
15
16options 	KTRACE		# system call tracing via ktrace(1)
17
18options 	USERCONF	# userconf(4) support
19#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
20options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
21
22options 	SYSVMSG		# System V-like message queues
23options 	SYSVSEM		# System V-like semaphores
24options 	SYSVSHM		# System V-like memory sharing
25
26#options 	MODULAR		# new style module(7) framework
27#options 	MODULAR_DEFAULT_AUTOLOAD
28
29# Alternate buffer queue strategies for better responsiveness under high
30# disk I/O load.
31#options 	BUFQ_READPRIO
32options 	BUFQ_PRIOCSCAN
33
34# Diagnostic/debugging support options
35options 	DIAGNOSTIC	# cheap kernel consistency checks
36#options 	DEBUG		# expensive debugging checks/support
37options 	DDB		# in-kernel debugger
38#options 	KGDB			# remote debugger
39#options 	"KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
40#makeoptions	DEBUG="-g"	# compile full symbol table
41makeoptions	COPY_SYMTAB=1
42#options 	SYSCALL_DEBUG
43#options 	UVMHIST
44#options 	UVMHIST_PRINT
45
46# Compatibility options
47options 	COMPAT_16	# NetBSD 1.6,
48options 	COMPAT_20	# NetBSD 2.0,
49options 	COMPAT_30	# NetBSD 3.0,
50options 	COMPAT_40	# NetBSD 4.0,
51options 	COMPAT_50	# NetBSD 5.0,
52options 	COMPAT_60	# NetBSD 6.0, and
53options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
54options 	COMPAT_43	# and 4.3BSD
55#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
56options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
57
58# Executable format options
59options 	EXEC_COFF	# COFF executables
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
67file-system	CD9660		# CD-ROM file system
68file-system	MSDOSFS		# MS-DOS file system
69file-system	FDESC		# /dev/fd
70file-system 	KERNFS		# /kern
71file-system 	PROCFS		# /proc
72file-system 	NULLFS		# loopback file system
73#file-system	OVERLAY		# overlay file system
74#file-system 	UMAPFS		# NULLFS + uid and gid remapping
75file-system	UNION		# union file system
76file-system	PTYFS		# /dev/pts/N support
77file-system	TMPFS		# Efficient memory file-system
78#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
79
80# File system options
81#options 	QUOTA		# legacy UFS quotas
82#options 	QUOTA2		# new, in-filesystem UFS quotas
83#options 	FFS_EI		# FFS Endian Independent supoprt
84options 	WAPBL		# File system journaling support
85#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
86#options 	NFSSERVER	# Network File System server
87options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
88#options 	UFS_EXTATTR	# Extended attribute support for UFS1
89#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
90				# immutable) behave as system flags.
91
92# Networking options
93options 	INET		# IP + ICMP + TCP + UDP
94options 	INET6		# IPV6
95#options 	IPSEC		# IP security
96#options 	IPSEC_DEBUG	# debug for IP security
97#options 	MROUTING	# IP multicast routing
98#options 	PIM		# Protocol Independent Multicast
99#options 	NETATALK	# AppleTalk networking protocols
100#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
101#options 	PPP_DEFLATE	# Deflrate compression support for PPP
102#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
103#options 	IPFILTER_LOG	# ipmon(8) log support
104#options 	IPFILTER_LOOKUP	# ippool(8) support
105#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
106#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
107
108#options 	ALTQ		# Manipulate network interfaces' output queues
109#options 	ALTQ_BLUE	# Stochastic Fair Blue
110#options 	ALTQ_CBQ	# Class-Based Queueing
111#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
112#options 	ALTQ_FIFOQ	# First-In First-Out Queue
113#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
114#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
115#options 	ALTQ_LOCALQ	# Local queueing discipline
116#options 	ALTQ_PRIQ	# Priority Queueing
117#options 	ALTQ_RED	# Random Early Detection
118#options 	ALTQ_RIO	# RED with IN/OUT
119#options 	ALTQ_WFQ	# Weighted Fair Queueing
120
121#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
122#options 	MIIVERBOSE	# verbose PHY autoconfig messages
123#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
124
125options 	NFS_BOOT_DHCP	# Support DHCP NFS root
126
127options 	KLOADER		# in-kernel bootloader
128#options 	KLOADER_DEBUG
129
130# wscons options
131options 	WSEMUL_VT100		# VT100 / VT220 emulation
132options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
133options 	FONT_BOLD8x16
134#options 	FONT_SONY8x16
135
136# Kernel root file system and dump configuration.
137#config		netbsd	root on ? type nfs
138#config		netbsd	root on wd0a type ffs
139config		netbsd	root on ? type ?
140
141#
142# Device configuration
143#
144
145mainbus0 at root
146
147cpu*		at mainbus?
148shb*		at mainbus?
149
150# Serial Devices
151#options 	SCIFCONSOLE
152options 	SCIFCN_SPEED=57600
153scif0		at shb?
154
155pvr0		at shb?
156wsdisplay*	at pvr? console ?
157
158maple0		at shb?
159
160mkbd*		at maple? port ? subunit ?
161wskbd*		at mkbd? mux 1 console ?
162
163mms*		at maple? port ? subunit ?
164wsmouse*	at mms? mux 0
165
166#mmem*		at maple? port ? subunit ?
167#mlcd*		at maple? port ? subunit ?
168
169#gdrom0		at shb?
170
171g1bus0		at shb?
172wdc0		at g1bus?
173atabus*	at wdc? channel ?
174wd*		at atabus? drive ? flags 0x0000
175#options 	ATADEBUG
176#options 	ATADEBUG_MASK=DEBUG_PROBE
177#options 	ATADEBUG_MASK="(DEBUG_PROBE|DEBUG_XFERS)"
178
179# To enable "gdrom0 at atapibus?" also edit gdrom lines in conf/files.dreamcast
180atapibus*	at atabus?
181gdrom0		at atapibus?
182
183g2bus0		at shb?
184g2rtc0		at g2bus?			# time-of-day clock
185gapspci*	at g2bus?			# GAPS PCI bridge
186pci*		at gapspci?
187rtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
188rlphy*		at mii? phy ?
189
190mbe*		at g2bus?			# SEGA LAN Adapter
191
192#aica*		at g2bus?			# AICA Sound Processing Unit
193#audio*		at audiobus?
194
195#spkr*		at audio?		# PC speaker (synthesized)
196
197#pseudo-device	cgd			# cryptographic disk devices
198pseudo-device	md			# memory disk device (ramdisk)
199pseudo-device	vnd			# disk-like interface to files
200#options 	VND_COMPRESSION		# compressed vnd(4)
201
202# network pseudo-devices
203pseudo-device	bpfilter		# Berkeley packet filter
204#pseudo-device	carp			# Common Address Redundancy Protocol
205#pseudo-device	ipfilter		# IP filter (firewall) and NAT
206pseudo-device	loop			# network loopback
207#pseudo-device	ppp			# Point-to-Point Protocol
208#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
209#pseudo-device	sl			# Serial Line IP
210#pseudo-device	tun			# network tunneling over tty
211#pseudo-device	tap			# virtual Ethernet
212#pseudo-device	gre			# generic L3 over IP tunnel
213#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
214#pseudo-device	faith			# IPv[46] tcp relay translation i/f
215#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
216#pseudo-device	vlan			# IEEE 802.1q encapsulation
217#pseudo-device	bridge			# simple inter-network bridging
218#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
219#pseudo-device	agr			# IEEE 802.3ad link aggregation
220
221#
222# accept filters
223pseudo-device   accf_data		# "dataready" accept filter
224pseudo-device   accf_http		# "httpready" accept filter
225
226# miscellaneous pseudo-devices
227pseudo-device	pty			# pseudo-terminals
228pseudo-device	clockctl		# user control of clock subsystem
229pseudo-device	wsmux			# mouse & keyboard multiplexor
230pseudo-device	ksyms			# /dev/ksyms
231#pseudo-device	pf			# PF packet filter
232#pseudo-device	pflog			# PF log if
233
234# Veriexec
235#
236# a pseudo device needed for veriexec
237#pseudo-device	veriexec
238#
239# Uncomment the fingerprint methods below that are desired. Note that
240# removing fingerprint methods will have almost no impact on the kernel
241# code size.
242#
243#options VERIFIED_EXEC_FP_RMD160
244#options VERIFIED_EXEC_FP_SHA256
245#options VERIFIED_EXEC_FP_SHA384
246#options VERIFIED_EXEC_FP_SHA512
247#options VERIFIED_EXEC_FP_SHA1
248#options VERIFIED_EXEC_FP_MD5
249