xref: /netbsd/sys/arch/x68k/conf/GENERIC (revision bf9ec67e)
1# $NetBSD: GENERIC,v 1.76 2002/04/25 15:06:40 atatat 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/x68k/conf/std.x68k"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.76 $"
26
27maxusers	8
28
29## System kernel configuration.  See options(4) for more detail.
30
31
32## Options for variants of the m68k MPU
33## you must have at least the correct one; REQUIRED
34options 	M68030
35options 	M68040
36options 	M68060
37## If you want an optimized kernel for a specific processor, use either:
38#makeoptions	CMACHFLAGS="-m68030"
39#makeoptions	CMACHFLAGS="-m68040 -Wa,-m68030 -Wa,-m68851"
40#makeoptions	CMACHFLAGS="-m68060 -Wa,-m68030 -Wa,-m68851"
41
42
43#### System options specific to the x68k port
44
45options 	EXTENDED_MEMORY		# support for >16MB memory
46options 	FPU_EMULATE		# software fpu emulation for MC68030
47options 	FPSP			# floating point emulation for MC68040
48options 	M060SP			# int/fp emulation for MC68060
49#options 	JUPITER			# support for "Jupiter-X" accelerator
50#options 	MAPPEDCOPY		# use page mapping for large copyin/copyout
51#options 	ZSCONSOLE,ZSCN_SPEED="9600"	# use serial console
52
53
54#### System options that are the same for all ports
55
56## Root device configuration: change the ?'s if you are going to use a
57## nonstandard root partition (other than where the kernel is booted from)
58## and/or nonstandard root type (not ffs or nfs).  Normally this can be
59## automagically determined at boot time.
60
61config		netbsd	root on ? type ?
62#config		netbsd	root on sd0 type ffs
63
64## RTC is offset from GMT; -540 means JST-9
65options 	RTC_OFFSET=-540	# hardware clock is this many mins. west of GMT
66
67## System call tracing (see ktrace(1)).
68options 	KTRACE
69
70## Collect statistics on kernel malloc's and free's.  This does have a
71## significant performance hit on slower machines, so it is intended for
72## diagnostic use only.
73#options 	KMEMSTATS
74
75## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
76options 	SYSVMSG		# System V message queues
77options 	SYSVSEM		# System V semaphores
78#options 	SEMMNI=10	# number of semaphore identifiers
79#options 	SEMMNS=60	# number of semaphores in system
80#options 	SEMUME=10	# max number of undo entries per process
81#options 	SEMMNU=30	# number of undo structures in system
82options 	SYSVSHM		# System V shared memory
83#options 	SHMMAXPGS=1024	# 1024 pages is the default
84
85## Loadable kernel module support
86#options 	LKM
87
88#options 	USERCONF	# userconf(4) support
89#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
90
91## NFS boot options; not supported currently: needs nfsboot program
92#options 	NFS_BOOT_BOOTPARAM
93#options 	NFS_BOOT_BOOTP
94#options 	NFS_BOOT_DHCP
95
96#### Debugging options
97
98## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
99## serial console break or keyboard reset, where the PROM would normally
100## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
101#options 	DDB			# kernel dynamic debugger
102#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
103#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
104#options 	PANICBUTTON		# interrupt switch invokes DDB
105
106## You may also use gdb, on another computer connected to this machine over
107## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
108## KGDB_DEV is a dev_t encoded device number of the serial port to use.
109## KGDB is not supported for now.
110#options 	KGDB			# support for kernel gdb
111#options 	KGDB_DEV=0xc00		# kgdb device number
112#options 	KGDB_DEVRATE=9600	# baud rate
113
114## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
115## such that gdb(1) can be used on a kernel coredump.
116
117#makeoptions	DEBUG="-g"
118
119## Adds code to the kernel that does internal consistency checks, and will
120## cause the kernel to panic if corruption of internal data structures
121## is detected.
122#options 	DIAGNOSTIC	# extra kernel sanity checking
123
124## Enable (possibly expensive) debugging code that may also display messages
125## on the system console
126#options 	DEBUG
127
128## Make SCSI error messages more verbose when explaining their meanings.
129#options 	SCSIVERBOSE
130
131## `INSECURE' turns off the kernel security level (securelevel = 0 always).
132## This allows writing to /dev/mem, loading kernel modules while multi-user,
133## and other insecurities good only for development work.  Do not use this
134## option on a production machine.
135#options 	INSECURE
136
137## Allow non-root users to grab /dev/console with programs such as xconsole.
138## `xconsole' therefore does not need setuid root with this option enabled.
139#options 	UCONSOLE
140
141## `FDSCRIPTS' allows non-readable but executable scripts by providing a
142## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
143## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
144## opaque file mechanism.  Perl calls this "secure setuid scripts."
145
146#options 	FDSCRIPTS
147#options 	SETUIDSCRIPTS
148
149## Options for compatibility with previous releases foreign system binaries.
150
151options 	COMPAT_43	# 4.3BSD system interfaces
152options 	COMPAT_09	# NetBSD 0.9 binary compatibility
153options 	COMPAT_10	# NetBSD 1.0 binary compatibility
154options 	COMPAT_11	# NetBSD 1.1 binary compatibility
155options 	COMPAT_12	# NetBSD 1.2 binary compatibility
156options 	COMPAT_13	# NetBSD 1.3 binary compatibility
157options 	COMPAT_14	# NetBSD 1.4 binary compatibility
158options 	COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
159#options 	COMPAT_M68K4K	# NetBSD/m68k4k binaries
160#options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility; broken
161#options 	COMPAT_SVR4	# SVR4 binary compatibility; broken
162#options 	COMPAT_LINUX	# Linux/m68k binary compatibility
163#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
164
165## File systems.
166file-system	FFS		# Berkeley Fast Filesystem
167file-system	NFS		# Sun NFS-compatible filesystem client
168file-system	KERNFS		# kernel data-structure filesystem
169#file-system	NULLFS		# NULL layered filesystem (buggy)
170#file-system 	OVERLAY		# overlay file system
171file-system	MFS		# memory-based filesystem
172#file-system	FDESC		# user file descriptor filesystem
173file-system	UMAPFS		# uid/gid remapping filesystem
174#file-system	LFS		# Log-structured filesystem (experimental)
175#file-system	PORTAL		# portal filesystem (experimental)
176file-system	PROCFS		# /proc
177file-system	CD9660		# ISO 9660 + Rock Ridge file system
178#file-system	UNION		# union file system (a little buggy)
179file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
180#file-system 	ADOSFS		# AmigaDOS filesystem
181
182## File system options.
183options 	NFSSERVER	# Sun NFS-compatible filesystem server
184#options 	QUOTA		# FFS quotas
185#options 	FFS_EI		# FFS Endian Independent support
186options 	SOFTDEP		# FFS soft updates support.
187
188## Network protocol support.  In most environments, INET is required.
189options 	INET		# IP (Internet Protocol) v4
190options 	INET6		# IPV6
191#options 	IPSEC		# IP security
192#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
193#options 	IPSEC_DEBUG	# debug for IP security
194#options 	GATEWAY		# packet forwarding ("router switch")
195#options 	MROUTING	# packet forwarding of multicast packets
196#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
197#options 	NS		# Xerox NS networking
198#options 	NSIP		# Xerox NS tunneling over IP
199#options 	ISO,TPIP	# OSI networking
200#options 	EON		# OSI tunneling over IP
201#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
202#options 	NETATALK	# AppleTalk (over Ethernet) protocol
203#options 	NTP		# Network Time Protocol in-kernel support
204#options 	PPS_SYNC	# Add serial line synchronization for NTP
205options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
206#options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
207#options 	PPP_BSDCOMP	# Add BSD compression to ppp device
208#options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
209#options 	PPP_FILTER	# Add active filters for ppp (via bpf)
210#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
211
212
213#### Device configurations
214
215## Fundamental devices; see also std.x68k
216dmac0	at intio0 addr 0xe84000		# DMA controler
217xel0	at intio0
218opm0	at intio0 addr 0xe90000		# OPM: required for fdc
219
220## Display devices and console
221grfbus0	at mainbus0			# bitmapped displays
222grf0	at grfbus0			# multiplane graphics
223grf1	at grfbus0			# flexible graphics
224
225kbd0	at mfp0				# standard keyboard
226ite0	at grf0				# internal terminal emulator
227options 	ITE_KERNEL_ATTR=4	# bold for kernel messages
228					# see /sys/arch/x68k/dev/itevar.h
229pseudo-device	pow		2	# software power switch
230
231## floppy disks
232fdc0	at intio0 addr 0xe94000 intr 96 dma 0 dmaintr 100 # floppy controler
233fd*	at fdc0 unit ?			# builtin floppy drives
234
235## SCSI devices
236scsirom0 at intio0 addr 0xfc0000		# Built-in SCSI BIOS
237scsirom1 at intio0 addr 0xea0020		# External SCSI BIOS
238spc0	at scsirom0				# genuin SCSI
239spc1	at scsirom1				# genuin SCSI
240scsibus* at spc?
241mha0	at scsirom1				# Mankai MK-HA1 (Mach-2)
242scsibus* at mha0
243
244sd*	at scsibus? target ? lun ?	# SCSI disks
245cd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
246#st*	at scsibus? target ? lun ?	# SCSI tapes
247#ss*	at scsibus? target ? lun ?	# SCSI scanners
248#ch*	at scsibus? target ? lun ?	# SCSI changer devices
249#uk*	at scsibus? target ? lun ?	# SCSI unknown devices
250
251## Ports
252zsc0	at intio0 addr 0xe98000 intr 112
253zstty0	at zsc0 channel 0		# built-in RS-232C
254ms0	at zsc0 channel 1		# standard mouse
255#zsc1	at intio0 addr 0xeafc00 intr 113
256#zstty2	at zsc1 channel 0
257#zstty3	at zsc1 channel 1
258#zsc2	at intio0 addr 0xeafc10 intr 114
259#zstty4	at zsc2 channel 0
260#zstty5	at zsc2 channel 1
261par0	at intio0 addr 0xe8c000 	# Builtin printer port
262
263pseudo-device	sram			# battery-backuped static RAM
264pseudo-device	bell			# OPM bell
265
266xcom0	at mainbus0			# NS16550 fast serial
267xcom1	at mainbus0
268
269## Audio device
270vs0 at intio0 addr 0xe92000 dma 3 dmaintr 106
271audio*	at vs?
272
273## Network interfaces
274ne*	at intio0 addr 0xece300 intr 249	# Nereid Ethernet
275ne*	at intio0 addr 0xeceb00 intr 248	# Nereid Ethernet
276neptune0 at intio0 addr 0xece000 intr 249	# Neptune-X
277neptune1 at intio0 addr 0xece400 intr 249	# Neptune-X at alt. addr.
278ne*	at neptune? addr 0x300			# NE2000 or clone
279
280
281#### Pseudo devices
282
283## A disk-like interface to files.  Can be used to create floppy, CD,
284## miniroot images, etc.
285
286pseudo-device	vnd	4
287
288## Concatenated and striped disks; with this, you can create a software-based
289## disk array similar to a "RAID 0" setup.  See ccd(4).
290
291#pseudo-device	ccd	4
292
293## RAIDframe disk driver: software RAID driver.  See raid(4).
294
295pseudo-device	raid	8
296options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
297# Options to enable various other RAIDframe RAID types.
298# options	RF_INCLUDE_EVENODD=1
299# options	RF_INCLUDE_RAID5_RS=1
300# options	RF_INCLUDE_PARITYLOGGING=1
301# options	RF_INCLUDE_CHAINDECLUSTER=1
302# options	RF_INCLUDE_INTERDECLUSTER=1
303# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
304# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
305
306
307## Memory disk device, used on boot floppies with compressed
308## kernel-plus-root-disk images.
309
310#pseudo-device	md	1
311
312## Loopback network interface; required
313pseudo-device	loop
314
315## SLIP and CSLIP interfaces, for IP over a serial line.
316pseudo-device	sl		1
317
318## PPP, the successor to SLIP.  See pppd(8).
319pseudo-device	ppp		1
320
321## PPP over Ethernet (RFC 2516)
322pseudo-device	pppoe
323
324## Network "tunnel" device, allowing protocol stacks to run in the userland.
325## This is used by the third-party user-mode "ppp" program, and others.
326#pseudo-device	tun		4
327
328## Generic L3 over IP tunnel
329#pseudo-device	gre		2	# generic L3 over IP tunnel
330
331## Berkeley Packet Filter, required to run RARPD.  A generic C-language
332## interface that allows selective examining of incoming packets.
333pseudo-device	bpfilter	4
334
335## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
336## one example of the use of the IP Filter.
337#pseudo-device	ipfilter
338
339## for IPv6
340pseudo-device	gif		1	# IPv[46] over IPv[46] tunnel (RFC1933)
341#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
342#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
343
344## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
345pseudo-device	vlan
346
347## Simple inter-network traffic bridging
348pseudo-device	bridge
349
350#### Other device configuration
351
352## Pseudo ttys, required for network logins and programs like screen.
353
354pseudo-device	pty			# pseudo-terminals
355
356## Random device, used to implement /dev/random (a source of random noise),
357## and generate randomness for some kernel formulae.
358
359pseudo-device	rnd
360