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