GENERIC revision 1.30
1# $NetBSD: GENERIC,v 1.30 2017/07/29 18:08:56 maxv Exp $
2#
3# GENERIC machine description file
4# 
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include "arch/amigappc/conf/std.amigappc"
22
23options 	INCLUDE_CONFIG_FILE     # embed config file in kernel binary
24
25#ident          "GENERIC-$Revision: 1.30 $"
26
27maxusers	8
28
29#
30# Mainboards to support (in addition to Amiga)
31#
32options 	BB060STUPIDROM	# You need this, if you have a non-DraCo
33				# MC68060 with an OS ROM up to (at least)
34				# V40 (OS3.1) and want to boot with the
35				# bootblock.
36				# You do not need this if you have a DraCo,
37				# have no 68060 or NEVER use the bootblock
38options 	P5PPC68KBOARD	# Phase5 PPC/68K board support
39
40#
41# Standard system options
42#
43options 	INSECURE	# disable kernel security levels
44options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
45options 	NTP		# NTP phase/frequency locked loop
46
47options 	KTRACE		# system call tracing support
48options 	SCSIVERBOSE	# human readable SCSI error messages
49options 	USERCONF	# userconf(4) support
50#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
51#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
52
53# Support for System V IPC facilities.
54options 	SYSVSHM		# System V-like shared memory
55options 	SYSVMSG		# System V-like messages
56options 	SYSVSEM		# System V-like semaphores
57
58# Enable experimental buffer queue strategy for better responsiveness under 
59# high disk I/O load. Use it with caution - it's not proven to be stable yet.
60#options 	BUFQ_READPRIO
61#options 	BUFQ_PRIOCSCAN
62
63#
64# Diagnostic/debugging support options
65#
66#options 	DIAGNOSTIC	# Extra kernel sanity checks
67#options 	DEBUG		# Enable misc. kernel debugging code
68#options 	DEBUG_KERNEL_START
69options 	DDB		# in-kernel debugger
70#options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
71options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
72#options 	SCSIDEBUG	# Add SCSI debugging statements
73#options 	SERCONSOLE	# console via Amiga serial port
74#makeoptions	DEBUG="-g"	# compile full symbol table
75
76#
77# Compatibility option
78#
79options 	COMPAT_09	# NetBSD 0.9,
80options 	COMPAT_10	# NetBSD 1.0,
81options 	COMPAT_11	# NetBSD 1.1,
82options 	COMPAT_12	# NetBSD 1.2,
83options 	COMPAT_13	# NetBSD 1.3,
84options 	COMPAT_14	# NetBSD 1.4,
85options 	COMPAT_15	# NetBSD 1.5,
86options 	COMPAT_16	# NetBSD 1.6,
87options 	COMPAT_20	# NetBSD 2.0,
88options 	COMPAT_30	# NetBSD 3.0,
89options 	COMPAT_40	# NetBSD 4.0,
90options 	COMPAT_50	# NetBSD 5.0,
91options 	COMPAT_60	# NetBSD 6.0, and
92options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
93options 	COMPAT_43	# and 4.3BSD
94#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
95#options 	COMPAT_LINUX	# Linux binary compatibility
96options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
97
98#
99# File systems
100#
101file-system 	FFS		# UFS
102file-system 	EXT2FS		# second extended file system (linux)
103file-system 	LFS		# log-structured file system
104file-system 	MFS		# memory file system
105file-system 	NFS		# Network file System client
106file-system 	CD9660		# ISO 9660 + Rock Ridge file system
107file-system 	MSDOSFS		# MS-DOS file system
108file-system 	ADOSFS		# AmigaDOS file system
109file-system 	FDESC		# /dev/fd
110file-system 	KERNFS		# /kern
111file-system 	NULLFS		# loopback file system
112file-system 	OVERLAY		# overlay file system
113file-system 	PROCFS		# /proc
114file-system 	UMAPFS		# NULLFS + uid and gid remapping
115file-system 	UNION		# union file system
116file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
117file-system	PTYFS		# /dev/pts/N support
118file-system	TMPFS		# Efficient memory file-system
119#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
120
121# File system options
122#options 	FFS_EI		# FFS Endian Independent support
123options 	WAPBL		# File system journaling support
124
125options 	QUOTA		# legacy UFS quotas
126options 	QUOTA2		# new, in-filesystem UFS quotas
127#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
128options 	NFSSERVER	# Network File System server side code
129#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
130options 	UFS_EXTATTR	# Extended attribute support for UFS1
131#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
132				# immutable) behave as system flags.
133
134#
135# Networking options
136#
137#options 	GATEWAY		# Packet forwarding
138options 	INET		# IP networking support (Required)
139options 	INET6		# IPV6
140#options 	IPSEC		# IP security
141#options 	IPSEC_DEBUG	# debug for IP security
142#options 	MROUTING	# Multicast routing
143#options 	DIRECTED_BROADCAST	# Broadcast across subnets
144#options 	PIM		# Protocol Independent Multicast
145#options 	NETATALK	# AppleTalk networking protocols
146options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
147options 	PPP_DEFLATE	# Deflate compression support for PPP
148options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
149options 	IPFILTER_LOG	# ipmon(8) log support
150options 	IPFILTER_LOOKUP	# ippool(8) support
151options 	IPFILTER_COMPAT # Compat for IP-Filter
152#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
153#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
154
155#options 	ALTQ		# Manipulate network interfaces' output queues
156#options 	ALTQ_BLUE	# Stochastic Fair Blue
157#options 	ALTQ_CBQ	# Class-Based Queueing
158#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
159#options 	ALTQ_FIFOQ	# First-In First-Out Queue
160#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
161#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
162#options 	ALTQ_LOCALQ	# Local queueing discipline
163#options 	ALTQ_PRIQ	# Priority Queueing
164#options 	ALTQ_RED	# Random Early Detection
165#options 	ALTQ_RIO	# RED with IN/OUT
166#options 	ALTQ_WFQ	# Weighted Fair Queueing
167
168#
169# Amiga specific options
170#
171options 	RETINACONSOLE	# enable code to allow retina to be console
172options 	ULOWELLCONSOLE	# enable code to allow a2410 to be console
173options 	CL5426CONSOLE	# Cirrus console
174options 	CV64CONSOLE	# CyberVision console
175options 	TSENGCONSOLE	# Tseng console
176options 	CV3DCONSOLE	# CyberVision 64/3D console
177
178options 	GRF_ECS		# Enhanced Chip Set
179options 	GRF_NTSC	# NTSC
180options 	GRF_PAL		# PAL
181options 	GRF_A2024	# Support for the A2024
182options 	GRF_AGA		# AGA Chip Set
183options 	GRF_AGA_VGA	# AGA VGAONLY timing
184options 	GRF_SUPER72	# AGA Super-72
185#options 	KFONT_8X11	# 8x11 font
186
187# select a font for the console according to the character set and keymap
188# you want to use
189options        KFONT_CONS_ISO8859_1
190#options         KFONT_CONS_ISO8859_2
191
192# This is how you would tell the kernel the A2410 oscillator frequencies:
193# The used frequencies are the defaults, and do not need option setting
194#options 	ULOWELL_OSC1=36000000
195#options 	ULOWELL_OSC2=66667000
196
197# This is how you specify the blitting speed, higher values may speed up blits
198# a littel bit.  If you raise this value too much some trash may appear.
199# the commented version is the default.
200#options 	RH_MEMCLK=61000000
201# this option enables the 64 bit sprite which does not work
202# for quite a few people.  E.g. The cursor sprite will turn to a block
203# when moved to the top of the screen in X.
204#options 	RH_64BIT_SPRITE
205# enables fast scroll code appears to now work on 040 systems.
206#options 	RETINA_SPEED_HACK
207# enables the Hardwarecursor which does not work on some systems.
208#options 	RH_HARDWARECURSOR
209
210#
211# Device configuration
212#
213mainbus0	at root
214cpu0		at mainbus0
215kbd0		at mainbus0		# Amiga keyboard
216zbus0		at mainbus0		# ZorroII/III expansion bus
217ser0		at mainbus0		# Amiga onboard serial
218par0		at mainbus0		# Amiga onboard parallel
219ms*		at mainbus0		# Amiga mice
220fdc0		at mainbus0		# Amiga FDC
221fd*		at fdc0 unit ?		# floppy disks on the later
222a34kbbc0	at mainbus0		# A3000/A4000 battery backed clock
223aucc*		at mainbus0		# Amiga CC audio
224audio*		at aucc?
225
226spkr*		at audio?		# PC speaker (synthesized)
227
228# wscons aware interface to amiga custom chips.
229# If you enable it enable also wskbd.
230#amidisplaycc0	at mainbus0		# wscons interface to custom chips
231#wsdisplay0	at amidisplaycc0 console ?
232#options 	WSEMUL_VT100
233#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
234#options 	FONT_VT220L8x10
235#options	FONT_VT220ISO8x16
236#
237# Keyboard device. Optionally can attach a wskbd.
238# wskbd works together with a wsdisplay so enable them both if you will.
239# Don't enable wskbd if you use ite.
240#
241# XXX in std.amiga: kbd0 at mainbus0
242#wskbd0		at kbd0 console ?
243#wsmouse*	at ms?
244
245#
246# Graphics devices
247#
248grfcc0		at mainbus0		# custom chips
249grfrt0		at zbus0		# retina II
250grfrh0		at zbus0		# retina III
251grfcl*		at zbus0		# Picasso II/Piccolo/Spectrum
252grful0		at zbus0		# A2410
253grfcv0		at zbus0		# CyberVision 64
254grfet*		at zbus0		# Tseng (oMniBus, Domino, Merlin)
255grfcv3d0	at zbus0		# CyberVision 64/3D
256
257grf0		at grfcc0
258grf1		at grfrt0
259grf2		at grfrh0
260grf3		at grfcl?
261grf4		at grful0
262grf5		at grfcv0
263grf6		at grfet?
264grf7		at grfcv3d0
265ite0		at grf0			# terminal emulators for grfs
266ite1		at grf1			# terminal emulators for grfs
267ite2		at grf2			# terminal emulators for grfs
268ite3		at grf3			# terminal emulators for grfs
269ite4		at grf4			# terminal emulators for grfs
270ite5		at grf5			# terminal emulators for grfs
271ite6		at grf6			# terminal emulators for grfs
272ite7		at grf7			# terminal emulators for grfs
273
274# Needs wscons
275#mntva*          at zbus?                # MNTMN VA2000
276#options         MNTVA_CONSOLE
277
278#
279# Zorro-II, Zorro-III devices (sans graphics)
280#
281repulse*	at zbus0		# ALiENDESiGN Repulse
282audio*		at repulse?
283
284toccata*	at zbus0		# MacroSystem GmbH Toccata
285audio*		at toccata?
286
287# Ethernet cards:
288le*		at zbus0		# A2065, Ameristar, Ariadne
289ne*		at zbus0		# AriadneII, X-surf
290ed*		at zbus0		# Hydra, ASDG LanRover
291es*		at zbus0		# CEI A4066 EthernetPLUS
292qn*		at zbus0		# Quicknet
293
294# Arcnet
295bah*		at zbus0		# C=/Ameristar A2060 / 560
296
297# Greater Valley Product Bus
298gvpbus* 	at zbus0
299
300# scsi stuff, all possible
301gtsc0		at gvpbus?		# GVP series II scsi
302scsibus*	at gtsc0
303ahsc0		at mainbus0		# A3000 scsi
304scsibus*	at ahsc0
305atzsc0		at zbus0		# A2091 scsi
306scsibus*	at atzsc0
307wstsc0		at zbus0		# Wordsync II scsi
308scsibus*	at wstsc0
309ivsc0		at zbus0		# IVS scsi
310scsibus*	at ivsc0
311mlhsc0		at zbus0		# Hacker scsi
312scsibus*	at mlhsc0
313otgsc0		at zbus0		# 12 gauge scsi
314scsibus*	at otgsc0
315zssc0		at zbus0		# Zeus scsi
316scsibus*	at zssc0
317mgnsc0		at zbus0		# Magnum scsi
318scsibus*	at mgnsc0
319wesc0		at zbus0		# Warp Engine scsi
320scsibus*	at wesc0
321bppcsc0		at zbus0		# BlizzardPPC 603e+ scsi
322scsibus*	at bppcsc0
323afsc0		at zbus0		# A4091 scsi
324scsibus*	at afsc0
325aftsc0		at mainbus0		# A4000T scsi
326scsibus*	at aftsc0
327flsc0		at zbus0		# FastlaneZ3 scsi
328scsibus*	at flsc0
329bzsc0		at zbus0		# Blizzard 1230 I,II scsi
330scsibus*	at bzsc0
331bzivsc0 	at zbus0		# Blizzard 12x0 IV scsi
332scsibus*	at bzivsc0
333bztzsc0 	at zbus0		# Blizzard 2060 scsi
334scsibus*	at bztzsc0
335cbsc0		at zbus0		# CyberSCSI I
336scsibus*	at cbsc0
337cbiisc0 	at zbus0		# CyberSCSI II
338scsibus*	at cbiisc0
339cbiiisc0 	at zbus0		# Cyberstorm mk.III/Cyberstorm PPC SCSI
340scsibus*	at cbiiisc0
341empsc0		at zbus0		# Emplant scsi
342scsibus*	at empsc0
343
344wdc0		at mainbus0		# A4000 & A1200 IDE bus
345wdc*		at zbus0		# Buddha / Catweasel
346
347atabus* 	at wdc? channel ?	# ATA bus
348wd*		at atabus? drive ?	#  + drives
349atapibus*	at atabus?		# ATAPI bus
350cd*		at atapibus? drive ?	# ATAPI CD-ROM drives
351sd*		at atapibus? drive ?	# ATAPI disk drives
352
353pccard0 	at mainbus0
354pcmcia* 	at pccard0
355com*		at pcmcia? function ?	# Modems and serial cards
356pcmcom* 	at pcmcia? function ?	# PCMCIA multi-port serial cards
357aic*		at pcmcia? function ?	# Adaptec APA-1460 SCSI
358wdc*		at pcmcia? function ?
359awi*		at pcmcia? function ?	# BayStack 650 (802.11FH)
360ep*		at pcmcia? function ?	# 3Com 3c589 and 3c562 Ethernet
361mbe*		at pcmcia? function ?	# MB8696x based Ethernet
362ne*		at pcmcia? function ?	# NE2000-compatible Ethernet
363sm*		at pcmcia? function ?	# Megahertz Ethernet
364mhzc*		at pcmcia? function ?	# Megahertz Ethernet/Modem combo cards
365com*		at mhzc?
366sm*		at mhzc?
367
368# each hard drive from low target to high
369# will configure to the next available sd unit number
370sd*		at scsibus? target ? lun ?	# scsi disks
371st*		at scsibus? target ? lun ?	# scsi tapes
372cd*		at scsibus? target ? lun ?	# scsi cds
373ch*		at scsibus? target ? lun ?	# scsi autochangers
374ss*		at scsibus? target ? lun ?	# scsi scanner
375uk*		at scsibus? target ? lun ?	# scsi unknown
376
377msc0		at zbus0		# A2232 MSC multiport serial.
378mfc0		at zbus0		# MultiFaceCard I/O board
379mfcs0		at mfc0 unit 0		# MFC serial
380mfcs1		at mfc0 unit 1		# MFC serial
381#mfcp0		at mfc0 unit 0		# MFC parallel [not available yet]
382#mfc1		at zbus0		# MultiFaceCard 2nd I/O board
383#mfcs2		at mfc1 unit 0
384#mfcs3		at mfc1 unit 1
385#mfcp1		at mfc1 unit 0
386
387hyper*		at zbus?		# zbus HyperCom3/3+/4/4+
388#hyper*		at mainbus0		# not yet: HyperCom1 + HyperCom3
389com*		at hyper? port ?	# Hypercom3/4 serial ports
390lpt*		at hyper? port ?	# Hypercom3+/4+ parallel port
391
392#options 	IOBZCLOCK=22118400 	# default, uncomment the next line
393#options 	IOBZCLOCK=24000000	# if needed.
394
395iobl*		at zbus?		# zbus IOBlix
396com*		at iobl? port ?		# IOBlix serial ports
397lpt*		at iobl? port ?		# IOBlix parallel ports
398
399
400#
401# accept filters
402pseudo-device	accf_data		# "dataready" accept filter
403pseudo-device	accf_http		# "httpready" accept filter
404
405pseudo-device	loop			# loopback network interface
406pseudo-device	sl			# SLIP network interfaces
407pseudo-device	ppp			# PPP network interfaces
408pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
409pseudo-device	tun			# network tunnel line discipline
410pseudo-device	tap			# virtual Ethernet
411#pseudo-device	gre			# generic L3 over IP tunnel
412pseudo-device	bpfilter		# Berkeley packet filter
413#pseudo-device	carp			# Common Address Redundancy Protocol
414pseudo-device	ipfilter		# IP Filter package
415pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
416#pseudo-device	faith			# IPv[46] tcp relay translation i/f
417pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
418pseudo-device	vlan			# IEEE 802.1q encapsulation
419pseudo-device	bridge			# simple inter-network bridging
420#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
421pseudo-device	agr			# IEEE 802.3ad link aggregation
422#pseudo-device	pf			# PF packet filter
423#pseudo-device	pflog			# PF log if
424pseudo-device	fss			# file system snapshot device
425
426pseudo-device	view		4	# views (needed for grfcc)
427pseudo-device	pty			# pseudo-terminals
428pseudo-device	clockctl		# user control of clock subsystem
429
430#pseudo-device	wsfont			# wsfont(4) dynamic font loading support
431#pseudo-device	wsmux			# mouse & keyboard multiplexor
432
433pseudo-device	vnd			# vnode pseudo-disks
434#options 	VND_COMPRESSION		# compressed vnd(4)
435pseudo-device	ccd			# concatenated disk devices
436#pseudo-device	cgd			# cryptographic disk devices
437pseudo-device	raid			# RAIDframe disk driver
438options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
439# Options to enable various other RAIDframe RAID types.
440# options 	RF_INCLUDE_EVENODD=1
441# options 	RF_INCLUDE_RAID5_RS=1
442# options 	RF_INCLUDE_PARITYLOGGING=1
443# options 	RF_INCLUDE_CHAINDECLUSTER=1
444# options 	RF_INCLUDE_INTERDECLUSTER=1
445# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
446# options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
447
448#options 	RND_COM			# use "com" randomness as well (BROKEN)
449
450pseudo-device	ksyms			# /dev/ksyms (kernel symbols)
451pseudo-device	nsmb			# experimental - SMB requester
452
453# Veriexec
454#
455# a pseudo device needed for veriexec
456#pseudo-device	veriexec
457#
458# Uncomment the fingerprint methods below that are desired. Note that
459# removing fingerprint methods will have almost no impact on the kernel
460# code size.
461#
462#options VERIFIED_EXEC_FP_RMD160
463#options VERIFIED_EXEC_FP_SHA256
464#options VERIFIED_EXEC_FP_SHA384
465#options VERIFIED_EXEC_FP_SHA512
466#options VERIFIED_EXEC_FP_SHA1
467#options VERIFIED_EXEC_FP_MD5
468
469# Kernel root file system and dump configuration
470config		netbsd	root on ? type ?
471