GENERIC revision 1.165
1# $NetBSD: GENERIC,v 1.165 2001/12/28 12:21:53 martin 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.165 $"
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
158options 	EXEC_ELF32	# 32-bit ELF executables (Linux, SVR4)
159#endif
160
161#ifndef INSTALL_CONFIGURATION
162#
163# Support for System V IPC facilities.
164#
165options 	SYSVSHM		# System V-like shared memory
166options 	SYSVMSG		# System V-like messages
167options 	SYSVSEM		# System V-like semaphores
168#options 	SEMMNI=10	# number of semaphore identifiers
169#options 	SEMMNS=60	# number of semaphores in system
170#options 	SEMUME=10	# max number of undo entries per process
171#options 	SEMMNU=30	# number of undo structures in system
172#endif
173
174#
175# Support for various kernel options
176#
177
178#ifndef INSTALL_CONFIGURATION
179options 	KTRACE		# system call tracing support
180options 	LKM		# Loadable kernel modules
181options 	UCONSOLE	# anyone can redirect a virtual console
182#endif
183
184#options 	INSECURE	# allow, among other insecure stuff, LKM
185				# loading in multi-user mode.
186options 	SCSIVERBOSE	# Verbose SCSI errors
187
188#ifndef INSTALL_CONFIGURATION
189options 	NTP		# NTP phase/frequency locked loop
190#endif
191
192#
193# Misc. debugging options
194#
195options 	DDB		# Kernel debugger
196#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
197options 	DIAGNOSTIC	# Extra kernel sanity checks
198#options 	DEBUG		# Enable misc. kernel debugging code
199#options 	SYSCALL_DEBUG	# debug all syscalls.
200#options 	SCSIDEBUG	# Add SCSI debugging statements
201#options 	PANICBUTTON	# Forced crash via keypress (???)
202
203#
204# Amiga specific options
205#
206#options 	LIMITMEM=24	# Do not use more than LIMITMEM MB of the
207				# first bank of RAM. (default: unlimited)
208#options 	NKPTADD=4	# set this for 4 additional KPT pages
209#options 	NKPTADDSHIFT=24	# set this for 1 additional KPT page
210				# per 16 MB (1<<24 bytes) of RAM
211				# define and decrease this, or define and
212				# increase NKPTADD if you get "out of PT pages"
213				# panics.
214
215# ATTENTION: There is NO WARRANTY AT ALL that the sync will be complete
216# before the 10 secondinterval ends, or that KBDRESET does work at all.
217#options 	KBDRESET	# sync on Ctrl-Amiga-Amiga
218
219# These options improve performance with the built-in serial port
220# on slower Amigas.  Try the larger buffers first then lev6_defer.
221#options 	SERIBUF_SIZE=4096
222#options 	SEROBUF_SIZE=32
223#options 	LEV6_DEFER	# defers l6 to l4 (below serial l5)
224
225options 	RETINACONSOLE	# enable code to allow retina to be console
226#ifdef AMIGA_CONFIGURATION
227options 	ULOWELLCONSOLE	# enable code to allow a2410 to be console
228options 	CL5426CONSOLE	# Cirrus console
229options 	CV64CONSOLE	# CyberVision console
230options 	TSENGCONSOLE	# Tseng console
231options 	CV3DCONSOLE	# CyberVision 64/3D console
232#endif
233
234#ifdef AMIGA_CONFIGURATION
235options 	GRF_ECS		# Enhanced Chip Set
236options 	GRF_NTSC	# NTSC
237options 	GRF_PAL		# PAL
238options 	GRF_A2024	# Support for the A2024
239options 	GRF_AGA		# AGA Chip Set
240options 	GRF_AGA_VGA	# AGA VGAONLY timing
241options 	GRF_SUPER72	# AGA Super-72
242#endif
243#options 	KFONT_8X11	# 8x11 font
244
245# This is how you would tell the kernel the A2410 oscillator frequencies:
246# The used frequencies are the defaults, and do not need option setting
247#options 	ULOWELL_OSC1=36000000
248#options 	ULOWELL_OSC2=66667000
249
250# This is how you specify the blitting speed, higher values may speed up blits
251# a littel bit.  If you raise this value too much some trash may appear.
252# the commented version is the default.
253#options 	RH_MEMCLK=61000000
254# this option enables the 64 bit sprite which does not work
255# for quite a few people.  E.g. The cursor sprite will turn to a block
256# when moved to the top of the screen in X.
257#options 	RH_64BIT_SPRITE
258# enables fast scroll code appears to now work on 040 systems.
259#options 	RETINA_SPEED_HACK
260# enables the Hardwarecursor which does not work on some systems.
261#options 	RH_HARDWARECURSOR
262
263#ifdef AMIGA_CONFIGURATION
264# wscons aware interface to amiga custom chips. Text-only console.
265# If you enable it enable also wskbd.
266#
267#amidisplaycc0	at mainbus0		# wscons interface to custom chips
268#wsdisplay0	at amidisplaycc0 console ?
269#options 	WSEMUL_VT100
270#endif
271
272#ifdef AMIGA_CONFIGURATION
273grfcc0		at mainbus0		# custom chips
274grfrt0		at zbus0		# retina II
275#endif
276grfrh0		at zbus0		# retina III
277#ifdef AMIGA_CONFIGURATION
278grfcl*		at zbus0		# Picasso II/Piccalo/Spectrum
279grful0		at zbus0		# A2410
280grfcv0		at zbus0		# CyberVision 64
281grfet*		at zbus0		# Tseng (oMniBus, Domino, Merlin)
282grfcv3d0	at zbus0		# CyberVision 64/3D
283#endif
284
285#ifdef AMIGA_CONFIGURATION
286grf0		at grfcc0
287grf1		at grfrt0
288#endif
289grf2		at grfrh0
290#ifdef AMIGA_CONFIGURATION
291grf3		at grfcl?
292grf4		at grful0
293grf5		at grfcv0
294grf6		at grfet?
295grf7		at grfcv3d0
296#endif
297#ifdef AMIGA_CONFIGURATION
298ite0		at grf0			# terminal emulators for grfs
299ite1		at grf1			# terminal emulators for grfs
300#endif
301ite2		at grf2			# terminal emulators for grfs
302#ifdef AMIGA_CONFIGURATION
303ite3		at grf3			# terminal emulators for grfs
304ite4		at grf4			# terminal emulators for grfs
305ite5		at grf5			# terminal emulators for grfs
306ite6		at grf6			# terminal emulators for grfs
307ite7		at grf7			# terminal emulators for grfs
308#endif
309
310msc0		at zbus0		# A2232 MSC multiport serial.
311mfc0		at zbus0		# MultiFaceCard I/O board
312mfcs0		at mfc0 unit 0		# MFC serial
313mfcs1		at mfc0 unit 1		# MFC serial
314#mfcp0		at mfc0 unit 0		# MFC parallel [not available yet]
315#mfc1		at zbus0		# MultiFaceCard 2nd I/O board
316#mfcs2		at mfc1 unit 0
317#mfcs3		at mfc1 unit 1
318#mfcp1		at mfc1 unit 0
319
320hyper*		at zbus?		# zbus HyperCom3/3+/4/4+
321#hyper*		at mainbus0		# not yet: HyperCom1 + HyperCom3
322com*		at hyper? port ?	# Hypercom3/4 serial ports
323lpt*		at hyper? port ?	# Hypercom3+/4+ parallel port
324
325#options 	IOBZCLOCK=22118400 	# default, uncomment the next line
326#options 	IOBZCLOCK=24000000	# if needed.
327
328iobl*		at zbus?		# zbus IOBlix
329com*		at iobl? port ?		# IOBlix serial ports
330lpt*		at iobl? port ?		# IOBlix parallel ports
331
332
333#
334# Keyboard device. Optionally can attach a wskbd.
335# wskbd works together with a wsdisplay so enable them both if you will.
336# Don't enable wskbd if you use ite.
337#
338# XXX in std.amiga: kbd0 at mainbus0
339#wskbd0		at kbd0 console ?
340
341
342#ifdef AMIGA_CONFIGURATION
343#
344# Amiga Mainboard devices (sans graphics and keyboard)
345#
346
347ser0		at mainbus0		# Amiga onboard serial
348par0		at mainbus0		# Amiga onboard parallel
349ms*		at mainbus0		# Amiga mice
350fdc0		at mainbus0		# Amiga FDC
351fd*		at fdc0 unit ?		# floppy disks on the later
352a34kbbc0	at mainbus0		# A3000/A4000 battery backed clock
353a2kbbc0 	at mainbus0		# A2000 battery backed clock
354aucc*		at mainbus0		# Amiga CC audio
355audio*		at aucc?
356#endif
357
358#ifdef DRACO_CONFIGURATION
359#
360# DraCo Mainboard devices (sans keyboard)
361#
362
363drbbc0		at mainbus0		# DraCo battery backed clock
364drsupio0	at mainbus0		# DraCo superio chip
365com*		at drsupio? port ?	# DraCo serial
366lpt0		at drsupio? port ?	# DraCo parallel
367#endif
368
369#
370# Zorro-II, Zorro-III, DraCo Direct-Bus devices (sans graphics)
371#
372
373#ifndef DRACO_CONFIGURATION
374# Alas, Melody-Z2 dont configure in the DraCo bus.
375melody* 	at zbus0		# Melody MPEG audio decoder
376audio*		at melody?
377#endif
378
379repulse*	at zbus0		# ALiENDESiGN Repulse
380audio*		at repulse?
381
382# Ethernet cards:
383le*		at zbus0		# A2065, Ameristar, Ariadne
384ne*		at zbus0		# AriadneII, X-surf
385ed*		at zbus0		# Hydra, ASDG LanRover
386es*		at zbus0		# CEI A4066 EthernetPLUS
387qn*		at zbus0		# Quicknet
388
389# Arcnet
390bah*		at zbus0		# C=/Ameristar A2060 / 560
391
392#ifdef AMIGA_CONFIGURATION
393# Greater Valley Product Bus
394gvpbus* 	at zbus0
395
396# scsi stuff, all possible
397gtsc0		at gvpbus?		# GVP series II scsi
398scsibus*	at gtsc0
399ahsc0		at mainbus0		# A3000 scsi
400scsibus*	at ahsc0
401atzsc0		at zbus0		# A2091 scsi
402scsibus*	at atzsc0
403wstsc0		at zbus0		# Wordsync II scsi
404scsibus*	at wstsc0
405ivsc0		at zbus0		# IVS scsi
406scsibus*	at ivsc0
407mlhsc0		at zbus0		# Hacker scsi
408scsibus*	at mlhsc0
409otgsc0		at zbus0		# 12 gauge scsi
410scsibus*	at otgsc0
411zssc0		at zbus0		# Zeus scsi
412scsibus*	at zssc0
413mgnsc0		at zbus0		# Magnum scsi
414scsibus*	at mgnsc0
415wesc0		at zbus0		# Warp Engine scsi
416scsibus*	at wesc0
417afsc0		at zbus0		# A4091 scsi
418scsibus*	at afsc0
419aftsc0		at mainbus0		# A4000T scsi
420scsibus*	at aftsc0
421flsc0		at zbus0		# FastlaneZ3 scsi
422scsibus*	at flsc0
423bzsc0		at zbus0		# Blizzard 1230 I,II scsi
424scsibus*	at bzsc0
425bzivsc0 	at zbus0		# Blizzard 12x0 IV scsi
426scsibus*	at bzivsc0
427bztzsc0 	at zbus0		# Blizzard 2060 scsi
428scsibus*	at bztzsc0
429cbsc0		at zbus0		# CyberSCSI I
430scsibus*	at cbsc0
431cbiisc0 	at zbus0		# CyberSCSI II
432scsibus*	at cbiisc0
433cbiiisc0 	at zbus0		# Cyberstorm mk.III/Cyberstorm PPC SCSI
434scsibus*	at cbiiisc0
435empsc0		at zbus0		# Emplant scsi
436scsibus*	at empsc0
437#idesc0		at mainbus0		# A4000 & A1200 IDE
438#scsibus*	at idesc0
439
440# <<< comment out the wdc/atapibus entries below if the idesc lines above >>>
441# <<< are uncommented >>>
442wdc0		at mainbus0		# A4000 & A1200 IDE bus
443wd*		at wdc? drive ?		#  + drives
444atapibus*	at wdc? channel ?	# ATAPI bus
445cd*		at atapibus? drive ?	# ATAPI CD-ROM drives
446sd*		at atapibus? drive ?	# ATAPI disk drives
447
448pccard0		at mainbus0
449pcmcia*		at pccard0
450com*		at pcmcia? function ?		# Modems and serial cards
451pcmcom*		at pcmcia? function ?		# PCMCIA multi-port serial cards
452aic*		at pcmcia? function ?		# Adaptec APA-1460 SCSI
453wdc*		at pcmcia? function ?
454awi*		at pcmcia? function ?		# BayStack 650 (802.11FH)
455ep*		at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
456mbe*		at pcmcia? function ?		# MB8696x based Ethernet
457ne*		at pcmcia? function ?		# NE2000-compatible Ethernet
458sm*		at pcmcia? function ?		# Megahertz Ethernet
459mhzc*		at pcmcia? function ?	# Megahertz Ethernet/Modem combo cards
460com*		at mhzc?
461sm*		at mhzc?
462
463#endif
464
465#ifdef DRACO_CONFIGURATION
466drsc0		at mainbus0		# DraCo scsi
467scsibus*	at drsc0
468#endif
469
470
471# each hard drive from low target to high
472# will configure to the next available sd unit number
473sd*	at scsibus? target ? lun ?	# scsi disks
474st*	at scsibus? target ? lun ?	# scsi tapes
475cd*	at scsibus? target ? lun ?	# scsi cds
476ch*	at scsibus? target ? lun ?	# scsi autochangers
477#ifndef INSTALL_CONFIGURATION
478ss*	at scsibus? target ? lun ?	# scsi scanner
479uk*	at scsibus? target ? lun ?	# scsi unknown
480#endif
481
482pseudo-device	loop			# loopback network interface
483pseudo-device	sl		1	# SLIP network interfaces
484pseudo-device	ppp		1	# PPP network interfaces
485pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
486pseudo-device	tun		1	# network tunnel line discipline
487#pseudo-device	gre		2	# generic L3 over IP tunnel
488#pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
489pseudo-device	bpfilter	16	# Berkeley packet filter
490pseudo-device	ipfilter		# IP Filter package
491pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
492#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
493#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
494pseudo-device	vlan			# IEEE 802.1q encapsulation
495pseudo-device	bridge			# simple inter-network bridging
496
497pseudo-device	view		4	# views (needed for grfcc)
498pseudo-device	pty			# pseudo-terminals
499
500pseudo-device	vnd		4	# vnode pseudo-disks
501pseudo-device	ccd		4	# concatenated disk devices
502#pseudo-device	raid		4	# RAIDframe disk driver
503#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
504
505pseudo-device	rnd			# /dev/random and in-kernel generator
506#options 	RND_COM			# use "com" randomness as well (BROKEN)
507
508config	netbsd root on ? type ?
509