G1IDE revision 1.3
1# $NetBSD: G1IDE,v 1.3 2017/07/29 18:08:57 maxv 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
55options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
56
57# Executable format options
58options 	EXEC_COFF	# COFF executables
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
66file-system	CD9660		# CD-ROM file system
67file-system	MSDOSFS		# MS-DOS file system
68file-system	FDESC		# /dev/fd
69file-system 	KERNFS		# /kern
70file-system 	PROCFS		# /proc
71file-system 	NULLFS		# loopback file system
72#file-system	OVERLAY		# overlay file system
73#file-system 	UMAPFS		# NULLFS + uid and gid remapping
74file-system	UNION		# union file system
75file-system	PTYFS		# /dev/pts/N support
76file-system	TMPFS		# Efficient memory file-system
77#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
78
79# File system options
80#options 	QUOTA		# legacy UFS quotas
81#options 	QUOTA2		# new, in-filesystem UFS quotas
82#options 	FFS_EI		# FFS Endian Independent supoprt
83options 	WAPBL		# File system journaling support
84#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
85#options 	NFSSERVER	# Network File System server
86options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
87#options 	UFS_EXTATTR	# Extended attribute support for UFS1
88#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
89				# immutable) behave as system flags.
90
91# Networking options
92options 	INET		# IP + ICMP + TCP + UDP
93options 	INET6		# IPV6
94#options 	IPSEC		# IP security
95#options 	IPSEC_DEBUG	# debug for IP security
96#options 	MROUTING	# IP multicast routing
97#options 	PIM		# Protocol Independent Multicast
98#options 	NETATALK	# AppleTalk networking protocols
99#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
100#options 	PPP_DEFLATE	# Deflrate compression support for PPP
101#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
102#options 	IPFILTER_LOG	# ipmon(8) log support
103#options 	IPFILTER_LOOKUP	# ippool(8) support
104#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
105#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
106
107#options 	ALTQ		# Manipulate network interfaces' output queues
108#options 	ALTQ_BLUE	# Stochastic Fair Blue
109#options 	ALTQ_CBQ	# Class-Based Queueing
110#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
111#options 	ALTQ_FIFOQ	# First-In First-Out Queue
112#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
113#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
114#options 	ALTQ_LOCALQ	# Local queueing discipline
115#options 	ALTQ_PRIQ	# Priority Queueing
116#options 	ALTQ_RED	# Random Early Detection
117#options 	ALTQ_RIO	# RED with IN/OUT
118#options 	ALTQ_WFQ	# Weighted Fair Queueing
119
120#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
121#options 	MIIVERBOSE	# verbose PHY autoconfig messages
122#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
123
124options 	NFS_BOOT_DHCP	# Support DHCP NFS root
125
126options 	KLOADER		# in-kernel bootloader
127#options 	KLOADER_DEBUG
128
129# wscons options
130options 	WSEMUL_VT100		# VT100 / VT220 emulation
131options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
132options 	FONT_BOLD8x16
133#options 	FONT_SONY8x16
134
135# Kernel root file system and dump configuration.
136#config		netbsd	root on ? type nfs
137#config		netbsd	root on wd0a type ffs
138config		netbsd	root on ? type ?
139
140#
141# Device configuration
142#
143
144mainbus0 at root
145
146cpu*		at mainbus?
147shb*		at mainbus?
148
149# Serial Devices
150#options 	SCIFCONSOLE
151options 	SCIFCN_SPEED=57600
152scif0		at shb?
153
154pvr0		at shb?
155wsdisplay*	at pvr? console ?
156
157maple0		at shb?
158
159mkbd*		at maple? port ? subunit ?
160wskbd*		at mkbd? mux 1 console ?
161
162mms*		at maple? port ? subunit ?
163wsmouse*	at mms? mux 0
164
165#mmem*		at maple? port ? subunit ?
166#mlcd*		at maple? port ? subunit ?
167
168#gdrom0		at shb?
169
170g1bus0		at shb?
171wdc0		at g1bus?
172atabus*	at wdc? channel ?
173wd*		at atabus? drive ? flags 0x0000
174#options 	ATADEBUG
175#options 	ATADEBUG_MASK=DEBUG_PROBE
176#options 	ATADEBUG_MASK="(DEBUG_PROBE|DEBUG_XFERS)"
177
178# To enable "gdrom0 at atapibus?" also edit gdrom lines in conf/files.dreamcast
179atapibus*	at atabus?
180gdrom0		at atapibus?
181
182g2bus0		at shb?
183g2rtc0		at g2bus?			# time-of-day clock
184gapspci*	at g2bus?			# GAPS PCI bridge
185pci*		at gapspci?
186rtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
187rlphy*		at mii? phy ?
188
189mbe*		at g2bus?			# SEGA LAN Adapter
190
191#aica*		at g2bus?			# AICA Sound Processing Unit
192#audio*		at audiobus?
193
194#spkr*		at audio?		# PC speaker (synthesized)
195
196#pseudo-device	cgd			# cryptographic disk devices
197pseudo-device	md			# memory disk device (ramdisk)
198pseudo-device	vnd			# disk-like interface to files
199#options 	VND_COMPRESSION		# compressed vnd(4)
200
201# network pseudo-devices
202pseudo-device	bpfilter		# Berkeley packet filter
203#pseudo-device	carp			# Common Address Redundancy Protocol
204#pseudo-device	ipfilter		# IP filter (firewall) and NAT
205pseudo-device	loop			# network loopback
206#pseudo-device	ppp			# Point-to-Point Protocol
207#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
208#pseudo-device	sl			# Serial Line IP
209#pseudo-device	tun			# network tunneling over tty
210#pseudo-device	tap			# virtual Ethernet
211#pseudo-device	gre			# generic L3 over IP tunnel
212#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
213#pseudo-device	faith			# IPv[46] tcp relay translation i/f
214#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
215#pseudo-device	vlan			# IEEE 802.1q encapsulation
216#pseudo-device	bridge			# simple inter-network bridging
217#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
218#pseudo-device	agr			# IEEE 802.3ad link aggregation
219
220#
221# accept filters
222pseudo-device   accf_data		# "dataready" accept filter
223pseudo-device   accf_http		# "httpready" accept filter
224
225# miscellaneous pseudo-devices
226pseudo-device	pty			# pseudo-terminals
227pseudo-device	clockctl		# user control of clock subsystem
228pseudo-device	wsmux			# mouse & keyboard multiplexor
229pseudo-device	ksyms			# /dev/ksyms
230#pseudo-device	pf			# PF packet filter
231#pseudo-device	pflog			# PF log if
232
233# Veriexec
234#
235# a pseudo device needed for veriexec
236#pseudo-device	veriexec
237#
238# Uncomment the fingerprint methods below that are desired. Note that
239# removing fingerprint methods will have almost no impact on the kernel
240# code size.
241#
242#options VERIFIED_EXEC_FP_RMD160
243#options VERIFIED_EXEC_FP_SHA256
244#options VERIFIED_EXEC_FP_SHA384
245#options VERIFIED_EXEC_FP_SHA512
246#options VERIFIED_EXEC_FP_SHA1
247#options VERIFIED_EXEC_FP_MD5
248