GENERIC.in revision 1.104
1#
2#	$NetBSD: GENERIC.in,v 1.104 2013/06/05 23:08:00 christos 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_DEBUG	# debug for IP security
70#options 	GATEWAY		# packet forwarding
71#options 	MROUTING	# IP multicast routing
72#options 	PIM		# Protocol Independent Multicast
73#if !defined(NO_PHYS_NETWORK)
74#options 	NETATALK	# AppleTalk networking protocols
75#endif /* NO_PHYS_NETWORK */
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
81options 	PFIL_HOOKS	# pfil(9) packet filter hooks
82options 	IPFILTER_LOG	# ipmon(8) log support
83options 	IPFILTER_LOOKUP	# ippool(8) support
84options 	IPFILTER_COMPAT # Compat for IP-Filter
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	UDF		# experimental - OSTA UDF CD/DVD file-system
109
110#if !defined(SMALL030_KERNEL)
111file-system 	KERNFS		# Kernel parameter filesystem
112file-system 	NFS		# Network File System client side code
113file-system 	PROCFS		# Process filesystem
114file-system 	FDESC		# /dev/fd
115file-system 	NULLFS		# Loopback filesystem
116file-system 	OVERLAY		# overlay filesystem
117file-system 	UNION		# union file system
118file-system 	UMAPFS		# null file system (with uid & gid remapping)
119file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
120file-system 	EXT2FS		# second extended file system (linux)
121#file-system 	LFS		# log-structured file system
122file-system	PTYFS		# /dev/pts/N support
123file-system	TMPFS		# Efficient memory file-system
124#endif /* !SMALL030_KERNEL */
125
126# File system options
127options 	WAPBL		# File system journaling support
128#if !defined(SMALL030_KERNEL)
129#options 	QUOTA		# legacy UFS quotas
130#options 	QUOTA2		# new, in-filesystem UFS quotas
131#options 	FFS_EI		# FFS Endian Independent 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#
151#if !defined(SMALL030_KERNEL)
152options 	COMPAT_43	# 4.3 BSD compatible system calls
153options 	COMPAT_10	# Compatibility with NetBSD 1.0
154options 	COMPAT_11	# Compatibility with NetBSD 1.1
155options 	COMPAT_12	# Compatibility with NetBSD 1.2
156options 	COMPAT_13	# Compatibility with NetBSD 1.3
157options 	COMPAT_14	# Compatibility with NetBSD 1.4
158options 	COMPAT_15	# Compatibility with NetBSD 1.5
159#endif /* !SMALL030_KERNEL */
160options 	COMPAT_16	# Compatibility with NetBSD 1.6
161options 	COMPAT_20	# Compatibility with NetBSD 2.0
162options 	COMPAT_30	# NetBSD 3.0 compatibility.
163options 	COMPAT_40	# NetBSD 4.0 compatibility.
164options 	COMPAT_50	# NetBSD 5.0 compatibility.
165options 	COMPAT_60	# NetBSD 6.0 compatibility.
166#if !defined(SMALL030_KERNEL)
167#options 	COMPAT_09	# has no meaning on the atari
168#options 	COMPAT_SUNOS	# Support to run Sun-3 executables
169#options 	COMPAT_SVR4	# Support to run SVR4 executables
170#options 	COMPAT_LINUX	# Support to run Linux/m68k executables
171#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
172options 	COMPAT_AOUT_M68K # Compatibility to a.out executables
173options 	EXEC_AOUT	# a.out format executables
174#endif /* !SMALL030_KERNEL */
175options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
176
177#if !defined(SMALL030_KERNEL)
178#
179# Support for System V IPC facilities.
180#
181options 	SYSVSHM			# System V shared memory
182options 	SYSVMSG			# System V messages
183options 	SYSVSEM			# System V semaphores
184#endif /* !SMALL030_KERNEL */
185
186#if !defined(SMALL030_KERNEL)
187#
188# Support for various kernel options
189#
190options 	KTRACE			# Add kernel tracing system call
191#options 	DIAGNOSTIC		# Add additional error checking code
192options 	USERCONF		# userconf(4) support
193#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
194options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
195#else /* SMALL030_KERNEL */
196options		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
197#endif /* !SMALL030_KERNEL */
198
199# These options enable verbose messages for several subsystems.
200# Warning, these may compile large string tables into the kernel!
201#if !defined(SMALL030_KERNEL)
202options 	SCSIVERBOSE		# human readable SCSI error messages
203#endif /* !SMALL030_KERNEL */
204#if defined(HADES_KERNEL) || defined(MILAN_KERNEL)
205options 	MIIVERBOSE		# verbose PHY autoconfig messages
206#options 	PCIVERBOSE		# verbose PCI device autoconfig messages
207#options 	PCI_CONFIG_DUMP		# verbosely dump PCI config space
208#endif
209
210#
211# Atari specific options
212#
213#options 	KFONT_8x8		# Use 8x8 font instead of 8x16
214options 	ST_POOL_SIZE=24		# smallest that allows TT-HIGH
215#if defined(TT030_KERNEL) || defined(HADES_KERNEL)
216options 	TT_SCSI			# SCSI-support for TT
217options 	TT_VIDEO		# Graphics support for TT
218#options	ET4000_HAS_2MB_MEM	# et4000 with 2 MB video memory
219#endif
220#if defined(FALCON_KERNEL)
221options 	FALCON_SCSI		# SCSI-support for Falcon
222options 	FALCON_VIDEO		# Graphics support for FALCON
223#endif /* FALCON_KERNEL */
224options 	MEMORY_DISK_HOOKS	# Boot RAM-disk
225options 	DISKLABEL_NBDA		# NetBSD disklabels (required)
226options 	DISKLABEL_AHDI		# NetBSD/AHDI disklabels
227#if !defined(SMALL030_KERNEL)
228#if !defined(FALCON_KERNEL)
229#options 	SERCONSOLE		# modem1 console support, breaks Falcon
230#endif /* !FALCON_KERNEL */
231options 	RELOC_KERNEL		# TT/Falcon: relocate kernel to TT-RAM
232options 	MSGBUFSIZE=32768        # size of kernel msg. buffer
233#options 	STATCLOCK	        # Separate {stat,prof}clock
234#endif /* !SMALL030_KERNEL */
235
236#if !defined(SMALL030_KERNEL)
237# Try linked commands on all targets
238options 	TRY_SCSI_LINKED_COMMANDS=0x7f
239#endif /* !SMALL030_KERNEL */
240
241#
242# Build one kernel that can boot from any disk.
243#
244config		netbsd root on ? type ?
245
246pseudo-device	sl			# Slip
247#if !defined(SMALL030_KERNEL)
248pseudo-device	ppp			# ppp
249#endif /* !SMALL030_KERNEL */
250#if !defined(NO_PHYS_NETWORK)
251pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
252#endif /* NO_PHYS_NETWORK */
253pseudo-device	pty			# pseudo-terminals
254pseudo-device	loop			# Loopback network
255#options 	VND_COMPRESSION		# compressed vnd(4)
256pseudo-device	md			# Boot memory disk
257pseudo-device	putter			# for puffs and pud
258
259#if !defined(SMALL030_KERNEL)
260pseudo-device	vnd			# 3 pseudo disks (see vnconfig)
261pseudo-device	bpfilter		# berkeley packet filters
262#pseudo-device	carp			# Common Address Redundancy Protocol
263pseudo-device	tun			# network tunnel
264pseudo-device	tap			# virtual Ethernet
265#pseudo-device	gre			# generic L3 over IP tunnel
266pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
267#pseudo-device	faith			# IPv[46] tcp relay translation i/f
268pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
269#if !defined(NO_PHYS_NETWORK)
270#pseudo-device	vlan			# IEEE 802.1q encapsulation
271#pseudo-device	bridge			# simple inter-network bridging
272#pseudo-device	agr			# IEEE 802.3ad link aggregation
273#endif /* NO_PHYS_NETWORK */
274pseudo-device	ccd			# concatenating disk driver
275#pseudo-device	cgd			# cryptographic disk driver
276#pseudo-device	raid			# RAIDframe disk driver
277#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
278# Options to enable various other RAIDframe RAID types.
279# options	RF_INCLUDE_EVENODD=1
280# options	RF_INCLUDE_RAID5_RS=1
281# options	RF_INCLUDE_PARITYLOGGING=1
282# options	RF_INCLUDE_CHAINDECLUSTER=1
283# options	RF_INCLUDE_INTERDECLUSTER=1
284# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
285# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
286pseudo-device	fss			# file system snapshot device
287pseudo-device	ipfilter		# IP filtering device
288pseudo-device	clockctl		# user control of clock subsystem
289pseudo-device	ksyms			# /dev/ksyms
290#pseudo-device	pf			# PF packet filter
291#pseudo-device	pflog			# PF log if
292#endif /* !SMALL030_KERNEL */
293
294#if defined(HADES_KERNEL) || defined(MILAN_KERNEL)
295
296# MII/PHY support
297exphy*	at mii? phy ?			# 3Com internal PHYs
298inphy*	at mii? phy ?			# Intel 82555 PHYs
299iophy*	at mii? phy ?			# Intel 82553 PHYs
300ukphy*	at mii? phy ?			# generic unknown PHYs
301
302# PCI network interfaces
303# If unsure, check the port-atari page for tested cards.
304ep*	at pci? dev ? function ?	# 3Com 3c59x
305fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
306
307
308#
309# This is the only tested audio card at the moment.
310#
311eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
312audio*	at eso?
313
314#endif /* defined(HADES_KERNEL) || defined(MILAN_KERNEL) */
315
316#
317# Hardware options for HADES and MILAN are in their machine type specific files
318#
319
320#if defined(TT030_KERNEL) || defined(FALCON_KERNEL)
321
322pseudo-device	view	4	# View (graphics mapping)
323#if !defined (SMALL030_KERNEL)
324pseudo-device	mouse	1	# mouse
325#endif /* ! SMALL030_KERNEL */
326
327#
328# The following sections describe various hardware options.
329#
330ncrscsi0	at mainbus0	# NCR5380 SCSI driver
331zs0		at mainbus0	# Serial support through 8530
332grfbus0 	at mainbus0	# bitmapped display's
333grfcc0		at grfbus0	# graphics driver
334ite0		at grfcc0	# console
335nvr0		at mainbus0	# nvram driver
336
337#if !defined(SMALL030_KERNEL)
338grfcc1		at grfbus0	# 2nd graphics driver
339ite1		at grfcc1	# 2nd tty
340grfcc2		at grfbus0	# 3rd graphics driver
341ite2		at grfcc2	# 3rd tty
342lp0		at mainbus0	# centronics printer
343ser0		at mainbus0	# UART on first 68901 (ttyB0)
344ne0		at mainbus0	# EtherNEC on Atari ROM cartridge slot
345
346#if defined(TT030_KERNEL)
347avmebus0	at mainbus0	# VME bus
348vme0		at avmebus0
349le0		at vme0	irq 5	# Lance ethernet (Riebl/PAM).
350le0		at vme0 irq 4	# Lance ethernet (BVME410).
351we0		at vme0 irq 4	# SMC Elite Ultra with SMC_TT VME-ISA bridge
352et4k0		at vme0		# Crazy Dots II
353#endif /* TT030_KERNEL */
354#endif /* SMALL030_KERNEL */
355
356#if defined(FALCON_KERNEL)
357wdc0		at mainbus0	# IDE-bus
358atabus*		at wdc? channel ?
359wd*		at atabus? drive ?
360
361 # ATAPI bus support
362atapibus*	at atabus?
363
364# ATAPI devices
365cd*		at atapibus? drive ?	# ATAPI CD-ROM drives
366#endif /* FALCON_KERNEL */
367
368# SCSI devices
369scsibus* at scsi?			# SCSI bus
370sd* 	at scsibus? target ? lun ?	# SCSI disk drives
371cd* 	at scsibus? target ? lun ?	# SCSI CD-ROM drives
372#if !defined (SMALL030_KERNEL)
373st* 	at scsibus? target ? lun ?	# SCSI tape drives
374ch* 	at scsibus? target ? lun ?	# SCSI autochangers
375ss* 	at scsibus? target ? lun ?	# SCSI scanners
376se* 	at scsibus? target ? lun ?	# SCSI ethernet
377uk* 	at scsibus? target ? lun ?	# SCSI unknown
378#endif /* ! SMALL030_KERNEL */
379
380#endif /* TT030_KERNEL || FALCON_KERNEL */
381