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