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