GENERIC revision 1.176
1# $NetBSD: GENERIC,v 1.176 2002/03/04 13:24:08 sommerfeld 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
21#
22#if 0
23# GENERIC Amiga or DraCo
24#
25# This configuration file contains all possible options
26#
27# make AMIGA extracts the AMIGA configuration file.
28# make DRACO extracts the DRACO configuration file.
29# make INSTALL extracts the INSTALL configuration file.
30#
31# commit them, too.
32#endif
33#
34
35include "arch/amiga/conf/std.amiga"
36
37#ident 		"GENERIC-$Revision: 1.176 $"
38
39#ifdef INSTALL_CONFIGURATION
40makeoptions	COPTS="-Os"
41#endif
42
43maxusers	8
44options 	RTC_OFFSET=0
45
46#
47# mainboards to support (in addition to Amiga)
48#
49#ifdef DRACO_CONFIGURATION
50options 	DRACO
51
52#endif
53#ifdef AMIGA_CONFIGURATION
54options 	BB060STUPIDROM	# You need this, if you have a non-DraCo
55				# MC68060 with an OS ROM up to (at least)
56				# V40 (OS3.1) and want to boot with the
57				# bootblock.
58				# You do not need this if you have a DraCo,
59				# have no 68060 or NEVER use the bootblock
60options 	P5PPC68KBOARD	# Phase5 PPC/68K board support
61#endif
62#
63# processors this kernel should support
64#
65options 	M68060		# support for 060
66options 	M060SP		# MC68060 software support (Required for 060)
67#ifdef AMIGA_CONFIGURATION
68options 	M68040		# support for 040
69options 	FPSP		# MC68040 floating point support
70options 	M68030		# support for 030
71options 	M68020		# support for 020/851
72options 	FPU_EMULATE	# FPU emulation
73#endif
74
75#
76# Networking options
77#
78options 	INET		# IP networking support (Required)
79options 	INET6		# IPV6
80#options 	IPSEC		# IP security
81#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
82#options 	IPSEC_DEBUG	# debug for IP security
83#options 	GATEWAY		# Packet forwarding
84#options 	DIRECTED_BROADCAST	# Broadcast across subnets
85
86#ifndef INSTALL_CONFIGURATION
87#options 	MROUTING	# Multicast routing
88options 	NS		# XNS
89#options 	NSIP		# XNS tunneling over IP
90options 	ISO,TPIP	# OSI
91#options 	EON		# OSI tunneling over IP
92options 	CCITT,LLC,HDLC	# X.25
93options 	NETATALK	# AppleTalk networking protocols
94#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
95#endif
96
97options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
98options 	PPP_DEFLATE	# Deflate compression support for PPP
99options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
100options 	PFIL_HOOKS	# pfil(9) packet filter hooks
101options 	IPFILTER_LOG	# ipmon(8) log support
102
103# Filesystems
104file-system 	FFS		# Berkeley fast file system
105file-system 	EXT2FS		# second extended file system (linux)
106#file-system 	LFS		# log-structured filesystem (experimental)
107
108#ifndef INSTALL_CONFIGURATION
109file-system 	MFS		# Memory based filesystem
110#endif
111
112file-system 	NFS		# Network File System client side code
113file-system 	ADOSFS		# AmigaDOS file system
114file-system 	CD9660		# ISO 9660 + Rock Ridge filesystem
115file-system 	MSDOSFS		# MS-DOS filesystem
116
117file-system 	KERNFS		# kernel data-structure filesystem
118
119#ifndef INSTALL_CONFIGURATION
120file-system 	FDESC		# user file descriptor filesystem
121file-system 	NULLFS		# loopback filesystem
122file-system 	OVERLAY		# overlay filesystem
123#file-system 	PORTAL		# Portal filesystem
124file-system 	PROCFS		# /proc filesystem
125file-system 	UMAPFS		# NULLFS + uid and gid remapping
126file-system 	UNION		# union filesystem
127#endif
128
129# Filesystem options
130
131#options 	FFS_EI		# FFS Endian Independant support
132
133#ifndef INSTALL_CONFIGURATION
134options 	QUOTA		# User and group quotas in FFS
135options 	SOFTDEP		# FFS soft updates support.
136options 	NFSSERVER	# Network File System server side code
137#endif
138
139#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
140				# immutable) behave as system flags.
141
142#
143# Compatibility options for various existing systems
144#
145
146#ifndef INSTALL_CONFIGURATION
147#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
148options 	COMPAT_43	# compatibility with 4.3BSD interfaces
149options 	COMPAT_09	# compatibility with NetBSD 0.9
150options 	COMPAT_10	# compatibility with NetBSD 1.0
151options 	COMPAT_12	# compatibility with NetBSD 1.2
152options 	COMPAT_13	# compatibility with NetBSD 1.3
153options 	COMPAT_14	# compatibility with NetBSD 1.4
154options 	COMPAT_SUNOS	# Support to run Sun (m68k) executables
155options 	COMPAT_SVR4	# Support to run SVR4 (m68k) executables
156options 	COMPAT_NOMID	# allow nonvalid machine id executables
157#options 	COMPAT_LINUX	# Support to run Linux/m68k executables
158#endif
159
160options 	EXEC_AOUT	# 32-bit aout executables (NetBSD-1.5.x)
161options 	COMPAT_AOUT_M68K # actually make some system calls work.
162
163#ifndef INSTALL_CONFIGURATION
164#
165# Support for System V IPC facilities.
166#
167options 	SYSVSHM		# System V-like shared memory
168options 	SYSVMSG		# System V-like messages
169options 	SYSVSEM		# System V-like semaphores
170#options 	SEMMNI=10	# number of semaphore identifiers
171#options 	SEMMNS=60	# number of semaphores in system
172#options 	SEMUME=10	# max number of undo entries per process
173#options 	SEMMNU=30	# number of undo structures in system
174#endif
175
176#
177# Support for various kernel options
178#
179
180#ifndef INSTALL_CONFIGURATION
181options 	KTRACE		# system call tracing support
182options 	LKM		# Loadable kernel modules
183options 	UCONSOLE	# anyone can redirect a virtual console
184#endif
185#options 	INSECURE	# disable kernel security levels
186options 	SCSIVERBOSE	# human readable SCSI error messages
187#ifndef INSTALL_CONFIGURATION
188options 	NTP		# NTP phase/frequency locked loop
189#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
190#else
191options		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
192#endif
193
194#
195# Misc. debugging options
196#
197options 	DDB		# Kernel debugger
198#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
199options 	DIAGNOSTIC	# Extra kernel sanity checks
200#options 	DEBUG		# Enable misc. kernel debugging code
201#options 	SYSCALL_DEBUG	# debug all syscalls.
202#options 	SCSIDEBUG	# Add SCSI debugging statements
203#options 	PANICBUTTON	# Forced crash via keypress (???)
204
205#
206# Amiga specific options
207#
208#options 	LIMITMEM=24	# Do not use more than LIMITMEM MB of the
209				# first bank of RAM. (default: unlimited)
210#options 	NKPTADD=4	# set this for 4 additional KPT pages
211#options 	NKPTADDSHIFT=24	# set this for 1 additional KPT page
212				# per 16 MB (1<<24 bytes) of RAM
213				# uncomment and decrease this, or uncomment and
214				# increase NKPTADD if you get "out of PT pages"
215				# panics.
216
217# ATTENTION: There is NO WARRANTY AT ALL that the sync will be complete
218# before the 10 secondinterval ends, or that KBDRESET does work at all.
219#options 	KBDRESET	# sync on Ctrl-Amiga-Amiga
220
221# These options improve performance with the built-in serial port
222# on slower Amigas.  Try the larger buffers first then lev6_defer.
223#options 	SERIBUF_SIZE=4096
224#options 	SEROBUF_SIZE=32
225#options 	LEV6_DEFER	# defers l6 to l4 (below serial l5)
226
227options 	RETINACONSOLE	# enable code to allow retina to be console
228#ifdef AMIGA_CONFIGURATION
229options 	ULOWELLCONSOLE	# enable code to allow a2410 to be console
230options 	CL5426CONSOLE	# Cirrus console
231options 	CV64CONSOLE	# CyberVision console
232options 	TSENGCONSOLE	# Tseng console
233options 	CV3DCONSOLE	# CyberVision 64/3D console
234#endif
235
236#ifdef AMIGA_CONFIGURATION
237options 	GRF_ECS		# Enhanced Chip Set
238options 	GRF_NTSC	# NTSC
239options 	GRF_PAL		# PAL
240options 	GRF_A2024	# Support for the A2024
241options 	GRF_AGA		# AGA Chip Set
242options 	GRF_AGA_VGA	# AGA VGAONLY timing
243options 	GRF_SUPER72	# AGA Super-72
244#endif
245#options 	KFONT_8X11	# 8x11 font
246
247# This is how you would tell the kernel the A2410 oscillator frequencies:
248# The used frequencies are the defaults, and do not need option setting
249#options 	ULOWELL_OSC1=36000000
250#options 	ULOWELL_OSC2=66667000
251
252# This is how you specify the blitting speed, higher values may speed up blits
253# a littel bit.  If you raise this value too much some trash may appear.
254# the commented version is the default.
255#options 	RH_MEMCLK=61000000
256# this option enables the 64 bit sprite which does not work
257# for quite a few people.  E.g. The cursor sprite will turn to a block
258# when moved to the top of the screen in X.
259#options 	RH_64BIT_SPRITE
260# enables fast scroll code appears to now work on 040 systems.
261#options 	RETINA_SPEED_HACK
262# enables the Hardwarecursor which does not work on some systems.
263#options 	RH_HARDWARECURSOR
264
265#ifdef AMIGA_CONFIGURATION
266# wscons aware interface to amiga custom chips.
267# If you enable it enable also wskbd.
268#
269#amidisplaycc0	at mainbus0		# wscons interface to custom chips
270#wsdisplay0	at amidisplaycc0 console ?
271#options	WSEMUL_VT100
272#options	FONT_BOLD8x16
273#options	FONT_VT220L8x10
274#endif
275
276#ifdef AMIGA_CONFIGURATION
277grfcc0		at mainbus0		# custom chips
278grfrt0		at zbus0		# retina II
279#endif
280grfrh0		at zbus0		# retina III
281#ifdef AMIGA_CONFIGURATION
282grfcl*		at zbus0		# Picasso II/Piccalo/Spectrum
283grful0		at zbus0		# A2410
284grfcv0		at zbus0		# CyberVision 64
285grfet*		at zbus0		# Tseng (oMniBus, Domino, Merlin)
286grfcv3d0	at zbus0		# CyberVision 64/3D
287#endif
288
289#ifdef AMIGA_CONFIGURATION
290grf0		at grfcc0
291grf1		at grfrt0
292#endif
293grf2		at grfrh0
294#ifdef AMIGA_CONFIGURATION
295grf3		at grfcl?
296grf4		at grful0
297grf5		at grfcv0
298grf6		at grfet?
299grf7		at grfcv3d0
300#endif
301#ifdef AMIGA_CONFIGURATION
302ite0		at grf0			# terminal emulators for grfs
303ite1		at grf1			# terminal emulators for grfs
304#endif
305ite2		at grf2			# terminal emulators for grfs
306#ifdef AMIGA_CONFIGURATION
307ite3		at grf3			# terminal emulators for grfs
308ite4		at grf4			# terminal emulators for grfs
309ite5		at grf5			# terminal emulators for grfs
310ite6		at grf6			# terminal emulators for grfs
311ite7		at grf7			# terminal emulators for grfs
312#endif
313
314msc0		at zbus0		# A2232 MSC multiport serial.
315mfc0		at zbus0		# MultiFaceCard I/O board
316mfcs0		at mfc0 unit 0		# MFC serial
317mfcs1		at mfc0 unit 1		# MFC serial
318#mfcp0		at mfc0 unit 0		# MFC parallel [not available yet]
319#mfc1		at zbus0		# MultiFaceCard 2nd I/O board
320#mfcs2		at mfc1 unit 0
321#mfcs3		at mfc1 unit 1
322#mfcp1		at mfc1 unit 0
323
324hyper*		at zbus?		# zbus HyperCom3/3+/4/4+
325#hyper*		at mainbus0		# not yet: HyperCom1 + HyperCom3
326com*		at hyper? port ?	# Hypercom3/4 serial ports
327lpt*		at hyper? port ?	# Hypercom3+/4+ parallel port
328
329#options 	IOBZCLOCK=22118400 	# default, uncomment the next line
330#options 	IOBZCLOCK=24000000	# if needed.
331
332iobl*		at zbus?		# zbus IOBlix
333com*		at iobl? port ?		# IOBlix serial ports
334lpt*		at iobl? port ?		# IOBlix parallel ports
335
336
337#
338# Keyboard device. Optionally can attach a wskbd.
339# wskbd works together with a wsdisplay so enable them both if you will.
340# Don't enable wskbd if you use ite.
341#
342# XXX in std.amiga: kbd0 at mainbus0
343#wskbd0		at kbd0 console ?
344
345
346#ifdef AMIGA_CONFIGURATION
347#
348# Amiga Mainboard devices (sans graphics and keyboard)
349#
350
351ser0		at mainbus0		# Amiga onboard serial
352par0		at mainbus0		# Amiga onboard parallel
353ms*		at mainbus0		# Amiga mice
354fdc0		at mainbus0		# Amiga FDC
355fd*		at fdc0 unit ?		# floppy disks on the later
356a34kbbc0	at mainbus0		# A3000/A4000 battery backed clock
357a2kbbc0 	at mainbus0		# A2000 battery backed clock
358#ifndef INSTALL_CONFIGURATION
359aucc*		at mainbus0		# Amiga CC audio
360audio*		at aucc?
361#endif
362#endif
363
364#ifdef DRACO_CONFIGURATION
365#
366# DraCo Mainboard devices (sans keyboard)
367#
368
369drbbc0		at mainbus0		# DraCo battery backed clock
370drsupio0	at mainbus0		# DraCo superio chip
371com*		at drsupio? port ?	# DraCo serial
372lpt0		at drsupio? port ?	# DraCo parallel
373#endif
374
375#
376# Zorro-II, Zorro-III, DraCo Direct-Bus devices (sans graphics)
377#
378
379#ifndef INSTALL_CONFIGURATION
380#ifndef DRACO_CONFIGURATION
381# Alas, Melody-Z2 dont configure in the DraCo bus.
382melody* 	at zbus0		# Melody MPEG audio decoder
383audio*		at melody?
384#endif
385
386repulse*	at zbus0		# ALiENDESiGN Repulse
387audio*		at repulse?
388
389toccata*	at zbus0		# MacroSystem GmbH Toccata
390audio*		at toccata?
391#endif
392
393# Ethernet cards:
394le*		at zbus0		# A2065, Ameristar, Ariadne
395ne*		at zbus0		# AriadneII, X-surf
396ed*		at zbus0		# Hydra, ASDG LanRover
397es*		at zbus0		# CEI A4066 EthernetPLUS
398qn*		at zbus0		# Quicknet
399
400# Arcnet
401bah*		at zbus0		# C=/Ameristar A2060 / 560
402
403#ifdef AMIGA_CONFIGURATION
404# Greater Valley Product Bus
405gvpbus* 	at zbus0
406
407# scsi stuff, all possible
408gtsc0		at gvpbus?		# GVP series II scsi
409scsibus*	at gtsc0
410ahsc0		at mainbus0		# A3000 scsi
411scsibus*	at ahsc0
412atzsc0		at zbus0		# A2091 scsi
413scsibus*	at atzsc0
414wstsc0		at zbus0		# Wordsync II scsi
415scsibus*	at wstsc0
416ivsc0		at zbus0		# IVS scsi
417scsibus*	at ivsc0
418mlhsc0		at zbus0		# Hacker scsi
419scsibus*	at mlhsc0
420otgsc0		at zbus0		# 12 gauge scsi
421scsibus*	at otgsc0
422zssc0		at zbus0		# Zeus scsi
423scsibus*	at zssc0
424mgnsc0		at zbus0		# Magnum scsi
425scsibus*	at mgnsc0
426wesc0		at zbus0		# Warp Engine scsi
427scsibus*	at wesc0
428afsc0		at zbus0		# A4091 scsi
429scsibus*	at afsc0
430aftsc0		at mainbus0		# A4000T scsi
431scsibus*	at aftsc0
432flsc0		at zbus0		# FastlaneZ3 scsi
433scsibus*	at flsc0
434bzsc0		at zbus0		# Blizzard 1230 I,II scsi
435scsibus*	at bzsc0
436bzivsc0 	at zbus0		# Blizzard 12x0 IV scsi
437scsibus*	at bzivsc0
438bztzsc0 	at zbus0		# Blizzard 2060 scsi
439scsibus*	at bztzsc0
440cbsc0		at zbus0		# CyberSCSI I
441scsibus*	at cbsc0
442cbiisc0 	at zbus0		# CyberSCSI II
443scsibus*	at cbiisc0
444cbiiisc0 	at zbus0		# Cyberstorm mk.III/Cyberstorm PPC SCSI
445scsibus*	at cbiiisc0
446empsc0		at zbus0		# Emplant scsi
447scsibus*	at empsc0
448#idesc0		at mainbus0		# A4000 & A1200 IDE
449#scsibus*	at idesc0
450
451# <<< comment out the wdc/atapibus entries below if the idesc lines above >>>
452# <<< are uncommented >>>
453wdc0		at mainbus0		# A4000 & A1200 IDE bus
454wd*		at wdc? drive ?		#  + drives
455atapibus*	at wdc? channel ?	# ATAPI bus
456cd*		at atapibus? drive ?	# ATAPI CD-ROM drives
457sd*		at atapibus? drive ?	# ATAPI disk drives
458
459pccard0		at mainbus0
460pcmcia*		at pccard0
461com*		at pcmcia? function ?		# Modems and serial cards
462pcmcom*		at pcmcia? function ?		# PCMCIA multi-port serial cards
463aic*		at pcmcia? function ?		# Adaptec APA-1460 SCSI
464wdc*		at pcmcia? function ?
465awi*		at pcmcia? function ?		# BayStack 650 (802.11FH)
466ep*		at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
467mbe*		at pcmcia? function ?		# MB8696x based Ethernet
468ne*		at pcmcia? function ?		# NE2000-compatible Ethernet
469sm*		at pcmcia? function ?		# Megahertz Ethernet
470mhzc*		at pcmcia? function ?	# Megahertz Ethernet/Modem combo cards
471com*		at mhzc?
472sm*		at mhzc?
473
474#endif
475
476#ifdef DRACO_CONFIGURATION
477drsc0		at mainbus0		# DraCo scsi
478scsibus*	at drsc0
479#endif
480
481
482# each hard drive from low target to high
483# will configure to the next available sd unit number
484sd*	at scsibus? target ? lun ?	# scsi disks
485st*	at scsibus? target ? lun ?	# scsi tapes
486cd*	at scsibus? target ? lun ?	# scsi cds
487ch*	at scsibus? target ? lun ?	# scsi autochangers
488#ifndef INSTALL_CONFIGURATION
489ss*	at scsibus? target ? lun ?	# scsi scanner
490uk*	at scsibus? target ? lun ?	# scsi unknown
491#endif
492
493pseudo-device	loop			# loopback network interface
494pseudo-device	sl		1	# SLIP network interfaces
495pseudo-device	ppp		1	# PPP network interfaces
496pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
497pseudo-device	tun		1	# network tunnel line discipline
498#pseudo-device	gre		2	# generic L3 over IP tunnel
499pseudo-device	bpfilter	16	# Berkeley packet filter
500pseudo-device	ipfilter		# IP Filter package
501pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
502#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
503#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
504pseudo-device	vlan			# IEEE 802.1q encapsulation
505pseudo-device	bridge			# simple inter-network bridging
506
507pseudo-device	view		4	# views (needed for grfcc)
508pseudo-device	pty			# pseudo-terminals
509
510pseudo-device	vnd		4	# vnode pseudo-disks
511pseudo-device	ccd		4	# concatenated disk devices
512pseudo-device	raid		8	# RAIDframe disk driver
513options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
514# Options to enable various other RAIDframe RAID types.
515# options	RF_INCLUDE_EVENODD=1
516# options	RF_INCLUDE_RAID5_RS=1
517# options	RF_INCLUDE_PARITYLOGGING=1
518# options	RF_INCLUDE_CHAINDECLUSTER=1
519# options	RF_INCLUDE_INTERDECLUSTER=1
520# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
521# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
522
523pseudo-device	rnd			# /dev/random and in-kernel generator
524#options 	RND_COM			# use "com" randomness as well (BROKEN)
525
526config	netbsd root on ? type ?
527