GENERIC.in revision 1.77
1#
2#	$NetBSD: GENERIC.in,v 1.77 2008/11/24 11:41:08 ad Exp $
3#
4# Generic atari
5#
6
7#if defined(TT030_KERNEL) || defined(FALCON_KERNEL)
8include "arch/atari/conf/std.atari"
9#elif defined (HADES_KERNEL)
10include "arch/atari/conf/std.hades"
11#elif defined (MILAN_KERNEL)
12include "arch/atari/conf/std.milan"
13#endif
14
15options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
16
17#
18# Add support for about 16 users. This variable is used to size
19# various kernel structures.
20#
21maxusers	16
22
23options 	HZ=64		# Set the clock-rate (48/64/96)
24
25# Standard system options
26options 	INSECURE	# disable kernel security levels
27#options 	NTP		# NTP phase/frequency locked loop
28
29# Enable experimental buffer queue strategy for better responsiveness under 
30# high disk I/O load. Use it with caution - it's not proven to be stable yet.
31#options 	BUFQ_READPRIO
32#options 	BUFQ_PRIOCSCAN
33
34#
35# (Co)processors this kernel should support
36#
37#if defined(TT030_KERNEL) || defined(FALCON_KERNEL)
38options 	M68030		# support for 030
39options 	FPU_EMULATE	# Support for MC68881/MC68882 emulator
40#endif
41#if defined(HADES_KERNEL) || defined(MILAN_KERNEL) || ( defined(FALCON_KERNEL) \
42	&& (defined(INSTALLX_KERNEL) || !defined(INSTALL_KERNEL) ))
43options 	M68040		# support for 040
44options 	M68060		# support for 060
45options 	FPSP		# 68040 Floatingpoint support
46options 	M060SP		# MC68060 software support (Required for 060)
47#endif
48
49#
50# Networking options
51#
52options 	INET		# IP + ICMP + TCP + UDP
53
54#ifndef INSTALL_KERNEL
55options 	INET6		# IPV6
56#options 	IPSEC		# IP security
57#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
58#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
59#options 	IPSEC_DEBUG	# debug for IP security
60#options 	GATEWAY		# packet forwarding
61#options 	MROUTING	# IP multicast routing
62#options 	PIM		# Protocol Independent Multicast
63#options 	ISO,TPIP	# OSI
64#options 	EON		# OSI tunneling over IP
65#ifndef NO_PHYS_NETWORK
66options 	NETATALK	# AppleTalk networking protocols
67#endif
68#endif
69
70options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
71options 	PPP_DEFLATE	# Deflate compression support for PPP
72options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
73
74#ifndef INSTALL_KERNEL
75options 	PFIL_HOOKS	# pfil(9) packet filter hooks
76options 	IPFILTER_LOG	# ipmon(8) log support
77options 	IPFILTER_LOOKUP	# ippool(8) support
78#options  	IPFILTER_DEFAULT_BLOCK	# block packages by default
79
80#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
81
82#options 	ALTQ		# Manipulate network interfaces' output queues
83#options 	ALTQ_BLUE	# Stochastic Fair Blue
84#options 	ALTQ_CBQ	# Class-Based Queueing
85#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
86#options 	ALTQ_FIFOQ	# First-In First-Out Queue
87#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
88#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
89#options 	ALTQ_LOCALQ	# Local queueing discipline
90#options 	ALTQ_PRIQ	# Priority Queueing
91#options 	ALTQ_RED	# Random Early Detection
92#options 	ALTQ_RIO	# RED with IN/OUT
93#options 	ALTQ_WFQ	# Weighted Fair Queueing
94#endif
95
96# File systems
97file-system 	FFS		# Berkeley fast file system
98file-system 	MFS		# Memory based filesystem
99file-system 	MSDOSFS		# MSDOS filesystem
100file-system 	CD9660		# ISO 9660 filesystem with Rock Ridge
101#file-system	PTYFS		# experimental - /dev/ptm support
102#file-system	TMPFS		# Efficient memory file-system
103#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
104
105#ifndef INSTALL_KERNEL
106file-system 	KERNFS		# Kernel parameter filesystem
107file-system 	NFS		# Network File System client side code
108file-system 	PROCFS		# Process filesystem
109file-system 	FDESC		# /dev/fd
110file-system 	NULLFS		# Loopback filesystem
111file-system 	OVERLAY		# overlay filesystem
112file-system 	UNION		# union file system
113file-system 	UMAPFS		# null file system (with uid & gid remapping)
114file-system 	PORTAL		# portal file system
115file-system 	EXT2FS		# second extended file system (linux)
116file-system 	LFS		# log-structured file system
117file-system	PTYFS		# /dev/pts/N support
118#endif
119
120# File system options
121options 	WAPBL		# File system journaling support - Experimental
122#ifndef INSTALL_KERNEL
123options 	QUOTA		# Disk quotas for local disks
124#options 	FFS_EI		# FFS Endian Independant support
125#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
126options 	NFSSERVER	# Network File System server side code
127#options 	EXT2FS_SYSTEM_FLAGS	# makes ext2fs file flags (append and
128				# immutable) behave as system flags.
129#endif
130
131#
132# Misc. debugging options
133#
134options 	PANICWAIT	# Require keystroke to dump/reboot
135options 	DDB		# Kernel debugger
136#ifndef INSTALL_KERNEL
137options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
138#options 	DEBUG		# expensive debugging checks/support
139#endif
140
141#
142# Compatibility options for various existing systems
143#
144options 	COMPAT_43	# 4.3 BSD compatible system calls (required)
145options 	COMPAT_10	# Compatibility with NetBSD 1.0
146options 	COMPAT_11	# Compatibility with NetBSD 1.1
147options 	COMPAT_12	# Compatibility with NetBSD 1.2
148options 	COMPAT_13	# Compatibility with NetBSD 1.3
149options 	COMPAT_14	# Compatibility with NetBSD 1.4
150options 	COMPAT_15	# Compatibility with NetBSD 1.5
151options 	COMPAT_16	# Compatibility with NetBSD 1.6
152options 	COMPAT_20	# Compatibility with NetBSD 2.0
153options 	COMPAT_30	# NetBSD 3.0 compatibility.
154options 	COMPAT_40	# NetBSD 4.0 compatibility.
155#ifndef INSTALL_KERNEL
156#options 	COMPAT_09	# has no meaning on the atari
157#options 	COMPAT_SUNOS	# Support to run Sun-3 executables
158#options 	COMPAT_SVR4	# Support to run SVR4 executables
159#options 	COMPAT_LINUX	# Support to run Linux/m68k executables
160#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
161#endif
162options 	COMPAT_AOUT_M68K # Compatibility to a.out executables
163options 	EXEC_AOUT	# a.out format executables
164options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
165
166#ifndef INSTALL_KERNEL
167#
168# Support for System V IPC facilities.
169#
170options 	SYSVSHM			# System V shared memory
171options 	SYSVMSG			# System V messages
172options 	SYSVSEM			# System V semaphores
173options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
174#endif
175
176#ifndef INSTALL_KERNEL
177#
178# Support for various kernel options
179#
180options 	KTRACE			# Add kernel tracing system call
181#options 	DIAGNOSTIC		# Add additional error checking code
182options 	USERCONF		# userconf(4) support
183#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
184options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
185#else /* INSTALL_KERNEL */
186options		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
187#endif
188
189# These options enable verbose messages for several subsystems.
190# Warning, these may compile large string tables into the kernel!
191#ifndef INSTALL_KERNEL
192options 	SCSIVERBOSE		# human readable SCSI error messages
193#endif
194#if defined(HADES_KERNEL) || defined(MILAN_KERNEL)
195options 	MIIVERBOSE		# verbose PHY autoconfig messages
196options 	PCIVERBOSE		# verbose PCI device autoconfig messages
197#options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
198#endif
199
200#
201# Atari specific options
202#
203#options 	KFONT_8x8		# Use 8x8 font instead of 8x16
204options 	ST_POOL_SIZE=24		# smallest that allows TT-HIGH
205#if defined(TT030_KERNEL) || defined(HADES_KERNEL)
206options 	TT_SCSI			# SCSI-support for TT
207options 	TT_VIDEO		# Graphics support for TT
208#options	ET4000_HAS_2MB_MEM	# et4000 with 2 MB video memory
209#endif
210#ifdef FALCON_KERNEL
211options 	FALCON_SCSI		# SCSI-support for Falcon
212options 	FALCON_VIDEO		# Graphics support for FALCON
213#endif
214options 	MEMORY_DISK_HOOKS	# Boot RAM-disk
215options 	DISKLABEL_NBDA		# NetBSD disklabels (required)
216options 	DISKLABEL_AHDI		# NetBSD/AHDI disklabels
217#ifndef INSTALL_KERNEL
218#ifndef FALCON_KERNEL
219options 	SERCONSOLE		# modem1 console support, breaks Falcon
220#endif
221options 	RELOC_KERNEL		# TT/Falcon: relocate kernel to TT-RAM
222options 	MSGBUFSIZE=32768        # size of kernel msg. buffer
223#options 	STATCLOCK	        # Separate {stat,prof}clock
224#endif
225
226#ifndef INSTALL_KERNEL
227# Try linked commands on all targets
228options 	TRY_SCSI_LINKED_COMMANDS=0x7f
229#endif
230
231#
232# Build one kernel that can boot from any disk.
233#
234config		netbsd root on ? type ?
235
236pseudo-device	sl			# Slip
237pseudo-device	ppp			# ppp
238#ifndef NO_PHYS_NETWORK
239pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
240#endif
241pseudo-device	pty			# pseudo-terminals
242pseudo-device	loop			# Loopback network
243pseudo-device	vnd			# 3 pseudo disks (see vnconfig)
244#options 	VND_COMPRESSION		# compressed vnd(4)
245pseudo-device	md		3	# Boot memory disk
246
247#ifndef INSTALL_KERNEL
248pseudo-device	bpfilter		# berkeley packet filters
249#pseudo-device	carp			# Common Address Redundancy Protocol
250pseudo-device	tun			# network tunnel
251pseudo-device	tap			# virtual Ethernet
252#pseudo-device	gre			# generic L3 over IP tunnel
253pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
254#pseudo-device	faith			# IPv[46] tcp relay translation i/f
255pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
256#ifndef NO_PHYS_NETWORK
257pseudo-device	vlan			# IEEE 802.1q encapsulation
258pseudo-device	bridge			# simple inter-network bridging
259pseudo-device	agr			# IEEE 802.3ad link aggregation
260#endif
261pseudo-device	ccd		4	# concatenating disk driver
262#pseudo-device	cgd		4	# cryptographic disk driver
263pseudo-device	raid		8	# RAIDframe disk driver
264options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
265# Options to enable various other RAIDframe RAID types.
266# options	RF_INCLUDE_EVENODD=1
267# options	RF_INCLUDE_RAID5_RS=1
268# options	RF_INCLUDE_PARITYLOGGING=1
269# options	RF_INCLUDE_CHAINDECLUSTER=1
270# options	RF_INCLUDE_INTERDECLUSTER=1
271# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
272# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
273pseudo-device	fss		4	# file system snapshot device
274pseudo-device	ipfilter		# IP filtering device
275pseudo-device	rnd			# /dev/random and in-kernel generator
276pseudo-device	clockctl		# user control of clock subsystem
277#pseudo-device	pf			# PF packet filter
278#pseudo-device	pflog			# PF log if
279#endif
280
281#if defined(HADES_KERNEL) || defined(MILAN_KERNEL)
282
283# MII/PHY support
284exphy*	at mii? phy ?			# 3Com internal PHYs
285inphy*	at mii? phy ?			# Intel 82555 PHYs
286iophy*	at mii? phy ?			# Intel 82553 PHYs
287ukphy*	at mii? phy ?			# generic unknown PHYs
288
289# PCI network interfaces
290# If unsure, check the port-atari page for tested cards.
291ep*	at pci? dev ? function ?	# 3Com 3c59x
292fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
293
294
295#
296# This is the only tested audio card at the moment.
297#
298eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
299audio*	at eso?
300
301#endif /* defined(HADES_KERNEL) || defined(MILAN_KERNEL) */
302
303#
304# Hardware options for GENERIC are in the various machine type specific files
305#
306