GENERIC.in revision 1.49
1#
2#	$NetBSD: GENERIC.in,v 1.49 2005/06/25 12:05:16 rpaulo 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#if !defined(INSTALL_KERNEL)
41options 	M68040		# support for 040
42options 	FPSP		# 68040 Floatingpoint support
43#endif
44#else /* for the Hades & Milan: */
45options 	M68040		# support for 040
46options 	M68060		# support for 060
47options 	FPSP		# 68040 Floatingpoint support
48options 	M060SP		# MC68060 software support (Required for 060)
49#endif
50
51#
52# Networking options
53#
54options 	INET		# IP + ICMP + TCP + UDP
55
56#ifndef INSTALL_KERNEL
57options 	INET6		# IPV6
58#options 	IPSEC		# IP security
59#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
60#options 	IPSEC_DEBUG	# debug for IP security
61#options 	GATEWAY		# packet forwarding
62#options 	MROUTING	# IP multicast routing
63#options 	PIM		# Protocol Independent Multicast
64options 	NS		# XNS
65#options 	NSIP		# XNS tunneling over IP
66options 	ISO,TPIP	# OSI
67#options 	EON		# OSI tunneling over IP
68options 	CCITT,LLC,HDLC	# X.25
69#ifndef NO_PHYS_NETWORK
70options 	NETATALK	# AppleTalk networking protocols
71#endif
72#endif
73
74options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
75options 	PPP_DEFLATE	# Deflate compression support for PPP
76options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
77
78#ifndef INSTALL_KERNEL
79options 	PFIL_HOOKS	# pfil(9) packet filter hooks
80options 	IPFILTER_LOG	# ipmon(8) log support
81#options  	IPFILTER_DEFAULT_BLOCK	# block packages by default
82
83#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
84
85#options 	ALTQ		# Manipulate network interfaces' output queues
86#options 	ALTQ_BLUE	# Stochastic Fair Blue
87#options 	ALTQ_CBQ	# Class-Based Queueing
88#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
89#options 	ALTQ_FIFOQ	# First-In First-Out Queue
90#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
91#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
92#options 	ALTQ_LOCALQ	# Local queueing discipline
93#options 	ALTQ_PRIQ	# Priority Queueing
94#options 	ALTQ_RED	# Random Early Detection
95#options 	ALTQ_RIO	# RED with IN/OUT
96#options 	ALTQ_WFQ	# Weighted Fair Queueing
97#endif
98
99# File systems
100file-system 	FFS		# Berkeley fast file system
101file-system 	MFS		# Memory based filesystem
102file-system 	KERNFS		# Kernel parameter filesystem
103file-system 	MSDOSFS		# MSDOS filesystem
104file-system 	CD9660		# ISO 9660 filesystem with Rock Ridge
105#file-system	PTYFS		# experimental - /dev/ptm support
106
107#ifndef INSTALL_KERNEL
108file-system 	NFS		# Network File System client side code
109file-system 	PROCFS		# Process filesystem
110file-system 	FDESC		# /dev/fd
111file-system 	NULLFS		# Loopback filesystem
112file-system 	OVERLAY		# overlay filesystem
113file-system 	UNION		# union file system
114file-system 	UMAPFS		# null file system (with uid & gid remapping)
115file-system 	PORTAL		# portal file system
116file-system 	EXT2FS		# second extended file system (linux)
117file-system 	LFS		# log-structured file system
118#endif
119
120#ifndef INSTALL_KERNEL
121# File system options
122options 	QUOTA		# Disk quotas for local disks
123#options 	FFS_EI		# FFS Endian Independant support
124options 	SOFTDEP		# FFS soft updates 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
153#ifndef INSTALL_KERNEL
154#options 	COMPAT_09	# has no meaning on the atari
155#options 	COMPAT_SUNOS	# Support to run Sun-3 executables
156#options 	COMPAT_SVR4	# Support to run SVR4 executables
157#options 	COMPAT_LINUX	# Support to run Linux/m68k executables
158#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
159#endif
160options 	COMPAT_AOUT_M68K # Compatibility to a.out executables
161options 	EXEC_AOUT	# a.out format executables
162options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
163
164#ifndef INSTALL_KERNEL
165#
166# Support for System V IPC facilities.
167#
168options 	SYSVSHM			# System V shared memory
169options 	SYSVMSG			# System V messages
170options 	SYSVSEM			# System V semaphores
171#options 	SEMMNI=10		# number of semaphore identifiers
172#options 	SEMUME=10		# max number of undo entries per proc.
173#options 	SEMMNU=30		# number of undo structures in system
174options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
175#endif
176
177#ifndef INSTALL_KERNEL
178#
179# Support for various kernel options
180#
181options 	KTRACE			# Add kernel tracing system call
182options 	SYSTRACE		# system call vetting via systrace(1)
183options 	DIAGNOSTIC		# Add additional error checking code
184options 	USERCONF		# userconf(4) support
185#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
186options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
187#else /* INSTALL_KERNEL */
188options		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
189#endif
190
191# These options enable verbose messages for several subsystems.
192# Warning, these may compile large string tables into the kernel!
193#ifndef INSTALL_KERNEL
194options 	SCSIVERBOSE		# human readable SCSI error messages
195#endif
196#if defined(HADES_KERNEL) || defined(MILAN_KERNEL)
197options 	MIIVERBOSE		# verbose PHY autoconfig messages
198options 	PCIVERBOSE		# verbose PCI device autoconfig messages
199#options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
200#endif
201
202#
203# Atari specific options
204#
205#options 	KFONT_8x8		# Use 8x8 font instead of 8x16
206options 	ST_POOL_SIZE=22		# smallest that allows TT-HIGH
207#if defined(TT030_KERNEL) || defined(HADES_KERNEL)
208options 	TT_SCSI			# SCSI-support for TT
209options 	TT_VIDEO		# Graphics support for TT
210#options	ET4000_HAS_2MB_MEM	# et4000 with 2 MB video memory
211#endif
212#ifdef FALCON_KERNEL
213options 	FALCON_SCSI		# SCSI-support for Falcon
214options 	FALCON_VIDEO		# Graphics support for FALCON
215#endif
216options 	MEMORY_DISK_HOOKS	# Boot RAM-disk
217options 	DISKLABEL_NBDA		# NetBSD disklabels (required)
218options 	DISKLABEL_AHDI		# NetBSD/AHDI disklabels
219#ifndef INSTALL_KERNEL
220options 	SERCONSOLE		# modem1 console support
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	# 3 pseudo disks (see vnconfig)
244pseudo-device	md		3	# Boot memory disk
245
246#ifndef INSTALL_KERNEL
247pseudo-device	bpfilter	2	# berkeley packet filters
248pseudo-device	tun		2	# network tunnel
249pseudo-device	tap			# virtual Ethernet
250#pseudo-device	gre		2	# generic L3 over IP tunnel
251pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
252#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
253#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
254#ifndef NO_PHYS_NETWORK
255pseudo-device	vlan			# IEEE 802.1q encapsulation
256pseudo-device	bridge			# simple inter-network bridging
257#endif
258pseudo-device	ccd		4	# concatenating disk driver
259#pseudo-device	cgd		4	# cryptographic disk driver
260pseudo-device	raid		8	# RAIDframe disk driver
261options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
262# Options to enable various other RAIDframe RAID types.
263# options	RF_INCLUDE_EVENODD=1
264# options	RF_INCLUDE_RAID5_RS=1
265# options	RF_INCLUDE_PARITYLOGGING=1
266# options	RF_INCLUDE_CHAINDECLUSTER=1
267# options	RF_INCLUDE_INTERDECLUSTER=1
268# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
269# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
270pseudo-device	fss		4	# file system snapshot device
271pseudo-device	ipfilter		# IP filtering device
272pseudo-device	rnd			# /dev/random and in-kernel generator
273pseudo-device	clockctl		# user control of clock subsystem
274#pseudo-device	pf			# PF packet filter
275#pseudo-device	pflog			# PF log if
276#endif
277
278#if defined(HADES_KERNEL) || defined(MILAN_KERNEL)
279
280# MII/PHY support
281exphy*	at mii? phy ?			# 3Com internal PHYs
282inphy*	at mii? phy ?			# Intel 82555 PHYs
283iophy*	at mii? phy ?			# Intel 82553 PHYs
284ukphy*	at mii? phy ?			# generic unknown PHYs
285
286# PCI network interfaces
287# If unsure, check the port-atari page for tested cards.
288ep*	at pci? dev ? function ?	# 3Com 3c59x
289fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
290
291
292#
293# This is the only tested audio card at the moment.
294#
295eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
296audio*	at eso?
297
298#endif /* defined(HADES_KERNEL) || defined(MILAN_KERNEL) */
299
300#
301# Hardware options for GENERIC are in the various machine type specific files
302#
303