GENERIC.in revision 1.79
1#
2#	$NetBSD: GENERIC.in,v 1.79 2009/01/24 05:06:05 mrg 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.
162options 	COMPAT_50	# NetBSD 5.0 compatibility.
163#if !defined(SMALL030_KERNEL)
164#options 	COMPAT_09	# has no meaning on the atari
165#options 	COMPAT_SUNOS	# Support to run Sun-3 executables
166#options 	COMPAT_SVR4	# Support to run SVR4 executables
167#options 	COMPAT_LINUX	# Support to run Linux/m68k executables
168#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
169options 	COMPAT_AOUT_M68K # Compatibility to a.out executables
170options 	EXEC_AOUT	# a.out format executables
171#endif /* !SMALL030_KERNEL */
172options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
173
174#if !defined(SMALL030_KERNEL)
175#
176# Support for System V IPC facilities.
177#
178options 	SYSVSHM			# System V shared memory
179options 	SYSVMSG			# System V messages
180options 	SYSVSEM			# System V semaphores
181options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
182#endif /* !SMALL030_KERNEL */
183
184#if !defined(SMALL030_KERNEL)
185#
186# Support for various kernel options
187#
188options 	KTRACE			# Add kernel tracing system call
189#options 	DIAGNOSTIC		# Add additional error checking code
190options 	USERCONF		# userconf(4) support
191#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
192options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
193#else /* SMALL030_KERNEL */
194options		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
195#endif /* !SMALL030_KERNEL */
196
197# These options enable verbose messages for several subsystems.
198# Warning, these may compile large string tables into the kernel!
199#if !defined(SMALL030_KERNEL)
200options 	SCSIVERBOSE		# human readable SCSI error messages
201#endif /* !SMALL030_KERNEL */
202#if defined(HADES_KERNEL) || defined(MILAN_KERNEL)
203options 	MIIVERBOSE		# verbose PHY autoconfig messages
204options 	PCIVERBOSE		# verbose PCI device autoconfig messages
205#options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
206#endif
207
208#
209# Atari specific options
210#
211#options 	KFONT_8x8		# Use 8x8 font instead of 8x16
212options 	ST_POOL_SIZE=24		# smallest that allows TT-HIGH
213#if defined(TT030_KERNEL) || defined(HADES_KERNEL)
214options 	TT_SCSI			# SCSI-support for TT
215options 	TT_VIDEO		# Graphics support for TT
216#options	ET4000_HAS_2MB_MEM	# et4000 with 2 MB video memory
217#endif
218#if defined(FALCON_KERNEL)
219options 	FALCON_SCSI		# SCSI-support for Falcon
220options 	FALCON_VIDEO		# Graphics support for FALCON
221#endif /* FALCON_KERNEL */
222options 	MEMORY_DISK_HOOKS	# Boot RAM-disk
223options 	DISKLABEL_NBDA		# NetBSD disklabels (required)
224options 	DISKLABEL_AHDI		# NetBSD/AHDI disklabels
225#if !defined(SMALL030_KERNEL)
226#if !defined(FALCON_KERNEL)
227options 	SERCONSOLE		# modem1 console support, breaks Falcon
228#endif /* !FALCON_KERNEL */
229options 	RELOC_KERNEL		# TT/Falcon: relocate kernel to TT-RAM
230options 	MSGBUFSIZE=32768        # size of kernel msg. buffer
231#options 	STATCLOCK	        # Separate {stat,prof}clock
232#endif /* !SMALL030_KERNEL */
233
234#if !defined(SMALL030_KERNEL)
235# Try linked commands on all targets
236options 	TRY_SCSI_LINKED_COMMANDS=0x7f
237#endif /* !SMALL030_KERNEL */
238
239#
240# Build one kernel that can boot from any disk.
241#
242config		netbsd root on ? type ?
243
244pseudo-device	sl			# Slip
245pseudo-device	ppp			# ppp
246#if !defined(NO_PHYS_NETWORK)
247pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
248#endif /* NO_PHYS_NETWORK */
249pseudo-device	pty			# pseudo-terminals
250pseudo-device	loop			# Loopback network
251pseudo-device	vnd			# 3 pseudo disks (see vnconfig)
252#options 	VND_COMPRESSION		# compressed vnd(4)
253pseudo-device	md		3	# Boot memory disk
254
255#if !defined(SMALL030_KERNEL)
256pseudo-device	bpfilter		# berkeley packet filters
257#pseudo-device	carp			# Common Address Redundancy Protocol
258pseudo-device	tun			# network tunnel
259pseudo-device	tap			# virtual Ethernet
260#pseudo-device	gre			# generic L3 over IP tunnel
261pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
262#pseudo-device	faith			# IPv[46] tcp relay translation i/f
263pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
264#if !defined(NO_PHYS_NETWORK)
265pseudo-device	vlan			# IEEE 802.1q encapsulation
266pseudo-device	bridge			# simple inter-network bridging
267pseudo-device	agr			# IEEE 802.3ad link aggregation
268#endif /* NO_PHYS_NETWORK */
269pseudo-device	ccd		4	# concatenating disk driver
270#pseudo-device	cgd		4	# cryptographic disk driver
271pseudo-device	raid		8	# RAIDframe disk driver
272options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
273# Options to enable various other RAIDframe RAID types.
274# options	RF_INCLUDE_EVENODD=1
275# options	RF_INCLUDE_RAID5_RS=1
276# options	RF_INCLUDE_PARITYLOGGING=1
277# options	RF_INCLUDE_CHAINDECLUSTER=1
278# options	RF_INCLUDE_INTERDECLUSTER=1
279# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
280# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
281pseudo-device	fss		4	# file system snapshot device
282pseudo-device	ipfilter		# IP filtering device
283pseudo-device	rnd			# /dev/random and in-kernel generator
284pseudo-device	clockctl		# user control of clock subsystem
285#pseudo-device	pf			# PF packet filter
286#pseudo-device	pflog			# PF log if
287#endif /* !SMALL030_KERNEL */
288
289#if defined(HADES_KERNEL) || defined(MILAN_KERNEL)
290
291# MII/PHY support
292exphy*	at mii? phy ?			# 3Com internal PHYs
293inphy*	at mii? phy ?			# Intel 82555 PHYs
294iophy*	at mii? phy ?			# Intel 82553 PHYs
295ukphy*	at mii? phy ?			# generic unknown PHYs
296
297# PCI network interfaces
298# If unsure, check the port-atari page for tested cards.
299ep*	at pci? dev ? function ?	# 3Com 3c59x
300fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
301
302
303#
304# This is the only tested audio card at the moment.
305#
306eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
307audio*	at eso?
308
309#endif /* defined(HADES_KERNEL) || defined(MILAN_KERNEL) */
310
311#
312# Hardware options for HADES and MILAN are in their machine type specific files
313#
314
315#if defined(TT030_KERNEL) || defined(FALCON_KERNEL)
316
317pseudo-device	view	4	# View (graphics mapping)
318#if !defined (SMALL030_KERNEL)
319pseudo-device	mouse	1	# mouse
320#endif /* ! SMALL030_KERNEL */
321
322#
323# The following sections describe various hardware options.
324#
325ncrscsi0	at mainbus0	# NCR5380 SCSI driver
326scsibus0	at ncrscsi0	# SCSI bus
327zs0		at mainbus0	# Serial support through 8530
328grfbus0 	at mainbus0	# bitmapped display's
329grfcc0		at grfbus0	# graphics driver
330ite0		at grfcc0	# console
331nvr0		at mainbus0	# nvram driver
332
333#if !defined(SMALL030_KERNEL)
334grfcc1		at grfbus0	# 2nd graphics driver
335ite1		at grfcc1	# 2nd tty
336grfcc2		at grfbus0	# 3rd graphics driver
337ite2		at grfcc2	# 3rd tty
338lp0		at mainbus0	# centronics printer
339ser0		at mainbus0	# UART on first 68901 (ttyB0)
340
341#if defined(TT030_KERNEL)
342avmebus0	at mainbus0	# VME bus
343vme0		at avmebus0
344le0		at vme0	irq 5	# Lance ethernet (Riebl/PAM).
345le0		at vme0 irq 4	# Lance ethernet (BVME410).
346et0		at vme0		# Crazy Dots II
347#endif /* TT030_KERNEL */
348#endif /* SMALL030_KERNEL */
349
350#if defined(FALCON_KERNEL)
351wdc0		at mainbus0	# IDE-bus
352atabus*		at wdc? channel ?
353wd*		at atabus? drive ?
354
355 # ATAPI bus support
356atapibus*	at atabus?
357
358# ATAPI devices
359cd*		at atapibus? drive ?	# ATAPI CD-ROM drives
360#endif /* FALCON_KERNEL */
361
362# SCSI devices
363sd* 	at scsibus? target ? lun ?	# SCSI disk drives
364st* 	at scsibus? target ? lun ?	# SCSI tape drives
365cd* 	at scsibus? target ? lun ?	# SCSI CD-ROM drives
366#if !defined (SMALL030_KERNEL)
367ch* 	at scsibus? target ? lun ?	# SCSI autochangers
368ss* 	at scsibus? target ? lun ?	# SCSI scanners
369se* 	at scsibus? target ? lun ?	# SCSI ethernet
370uk* 	at scsibus? target ? lun ?	# SCSI unknown
371#endif /* ! SMALL030_KERNEL */
372
373#endif /* TT030_KERNEL || FALCON_KERNEL */
374