GENERIC revision 1.43
11.43Ssimonb#	$NetBSD: GENERIC,v 1.43 2000/02/29 06:32:31 simonb Exp $
21.1Soki
31.1Soki#
41.1Soki#	GENERIC
51.1Soki#
61.1Soki
71.22Sminourainclude "arch/x68k/conf/std.x68k"
81.41Shubertf
91.43Ssimonb#ident 		"GENERIC-$Revision: 1.43 $"
101.6Soki
111.22Sminouramaxusers	32
121.1Soki
131.22Sminoura## System kernel configuration.  See options(4) for more detail.
141.22Sminoura
151.22Sminoura
161.22Sminoura## Options for variants of the m68k MPU
171.22Sminoura## you must have at least the correct one; REQUIRED
181.10Sokioptions 	M68030
191.10Sokioptions 	M68040
201.14Sokioptions 	M68060
211.1Soki
221.22Sminoura
231.22Sminoura#### System options specific to the x68k port
241.22Sminoura
251.29Sminouraoptions 	EXTENDED_MEMORY		# support for >16MB memory
261.22Sminouraoptions 	FPU_EMULATE		# software fpu emulation for MC68030
271.22Sminouraoptions 	FPSP			# floating point emulation for MC68040
281.22Sminouraoptions 	M060SP			# int/fp emulation for MC68060
291.22Sminouraoptions 	JUPITER			# support for "Jupiter-X" accelerator
301.38Sminoura#options 	MAPPEDCOPY		# use page mapping for large copyin/copyout
311.28Sminoura#options 	ZSCONSOLE,ZSCN_SPEED="9600"	# use serial console
321.22Sminoura
331.22Sminoura
341.22Sminoura#### System options that are the same for all ports
351.22Sminoura
361.22Sminoura## Root device configuration: change the ?'s if you are going to use a
371.22Sminoura## nonstandard root partition (other than where the kernel is booted from)
381.22Sminoura## and/or nonstandard root type (not ffs or nfs).  Normally this can be
391.22Sminoura## automagically determined at boot time.
401.22Sminoura
411.22Sminouraconfig		netbsd	root on ? type ?
421.28Sminoura#config		netbsd	root on sd0 type ffs
431.22Sminoura
441.22Sminoura## RTC is offset from GMT; -540 means JST-9
451.7Sperryoptions 	RTC_OFFSET=-540	# hardware clock is this many mins. west of GMT
461.1Soki
471.22Sminoura## System call tracing (see ktrace(1)).
481.22Sminouraoptions 	KTRACE
491.1Soki
501.22Sminoura## Collect statistics on kernel malloc's and free's.  This does have a
511.22Sminoura## significant performance hit on slower machines, so it is intended for
521.22Sminoura## diagnostic use only.
531.22Sminoura#options 	KMEMSTATS
541.22Sminoura
551.22Sminoura## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
561.22Sminouraoptions 	SYSVMSG		# System V message queues
571.22Sminouraoptions 	SYSVSEM		# System V semaphores
581.22Sminouraoptions 	SYSVSHM		# System V shared memory
591.22Sminoura#options 	SHMMAXPGS=1024	# 1024 pages is the default
601.22Sminoura
611.22Sminoura## Loadable kernel module support
621.28Sminoura#options 	LKM
631.22Sminoura
641.22Sminoura## NFS boot options; not supported currently: needs nfsboot program
651.22Sminoura#options 	NFS_BOOT_BOOTPARAM
661.22Sminoura#options 	NFS_BOOT_BOOTP
671.22Sminoura#options 	NFS_BOOT_DHCP
681.22Sminoura
691.22Sminoura#### Debugging options
701.22Sminoura
711.22Sminoura## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
721.22Sminoura## serial console break or keyboard reset, where the PROM would normally
731.22Sminoura## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
741.28Sminoura#options 	DDB			# kernel dynamic debugger
751.28Sminoura#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
761.28Sminoura#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
771.28Sminoura#options 	PANICBUTTON		# interrupt switch invokes DDB
781.22Sminoura
791.22Sminoura## You may also use gdb, on another computer connected to this machine over
801.22Sminoura## a serial port.  Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is
811.22Sminoura## a dev_t encoded device number of the serial port to use.
821.22Sminoura## KGDB is not supported for now.
831.22Sminoura#options 	KGDB		# support for kernel gdb
841.22Sminoura#options 	KGDBDEV=0xc00	# kgdb device number
851.22Sminoura#options 	KGDBRATE=9600	# baud rate
861.22Sminoura
871.22Sminoura## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
881.22Sminoura## such that gdb(1) can be used on a kernel coredump.
891.22Sminoura
901.22Sminoura#makeoptions 	DEBUG="-g"
911.22Sminoura
921.22Sminoura## Adds code to the kernel that does internal consistency checks, and will
931.22Sminoura## cause the kernel to panic if corruption of internal data structures
941.22Sminoura## is detected.
951.22Sminoura#options 	DIAGNOSTIC	# extra kernel sanity checking
961.22Sminoura
971.22Sminoura## Enable (possibly expensive) debugging code that may also display messages
981.22Sminoura## on the system console
991.22Sminoura#options 	DEBUG
1001.22Sminoura
1011.22Sminoura## Make SCSI error messages more verbose when explaining their meanings.
1021.22Sminouraoptions 	SCSIVERBOSE
1031.22Sminoura
1041.22Sminoura## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1051.22Sminoura## This allows writing to /dev/mem, loading kernel modules while multi-user,
1061.22Sminoura## and other insecurities good only for development work.  Do not use this
1071.22Sminoura## option on a production machine.
1081.22Sminoura#options 	INSECURE
1091.22Sminoura
1101.22Sminoura## Allow non-root users to grab /dev/console with programs such as xconsole.
1111.22Sminoura## `xconsole' therefore does not need setuid root with this option enabled.
1121.22Sminoura#options 	UCONSOLE
1131.22Sminoura
1141.22Sminoura## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1151.22Sminoura## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1161.22Sminoura## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1171.22Sminoura## opaque file mechanism.  Perl calls this "secure setuid scripts."
1181.22Sminoura
1191.22Sminoura#options 	FDSCRIPTS
1201.22Sminoura#options 	SETUIDSCRIPTS
1211.22Sminoura
1221.22Sminoura## Options for compatibility with previous releases foreign system binaries.
1231.22Sminoura
1241.22Sminouraoptions 	COMPAT_43	# 4.3BSD system interfaces
1251.22Sminouraoptions 	COMPAT_09	# NetBSD 0.9 binary compatibility
1261.22Sminouraoptions 	COMPAT_10	# NetBSD 1.0 binary compatibility
1271.22Sminouraoptions 	COMPAT_11	# NetBSD 1.1 binary compatibility
1281.22Sminouraoptions 	COMPAT_12	# NetBSD 1.2 binary compatibility
1291.22Sminouraoptions 	COMPAT_13	# NetBSD 1.3 binary compatibility
1301.36Saugustssoptions 	COMPAT_14	# NetBSD 1.4 binary compatibility
1311.22Sminoura#options 	COMPAT_M68K4K	# NetBSD/m68k4k binaries
1321.22Sminoura#options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility; broken
1331.33Skleink#options 	COMPAT_SVR4	# SVR4 binary compatibility; broken
1341.25Sitohy#options 	COMPAT_LINUX	# Linux/m68k binary compatibility
1351.33Skleink#options 	EXEC_ELF32	# 32-bit ELF executables (Linux, SVR4)
1361.22Sminoura
1371.22Sminoura## File systems.
1381.22Sminourafile-system	FFS		# Berkeley Fast Filesystem
1391.22Sminourafile-system	NFS		# Sun NFS-compatible filesystem client
1401.22Sminourafile-system	KERNFS		# kernel data-structure filesystem
1411.34Sminoura#file-system	NULLFS		# NULL layered filesystem (buggy)
1421.40Swrstuden#file-system 	OVERLAY		# overlay file system
1431.22Sminourafile-system	MFS		# memory-based filesystem
1441.22Sminoura#file-system	FDESC		# user file descriptor filesystem
1451.22Sminourafile-system	UMAPFS		# uid/gid remapping filesystem
1461.34Sminoura#file-system	LFS		# Log-structured filesystem (experimental)
1471.34Sminoura#file-system	PORTAL		# portal filesystem (experimental)
1481.22Sminourafile-system	PROCFS		# /proc
1491.22Sminourafile-system	CD9660		# ISO 9660 + Rock Ridge file system
1501.34Sminoura#file-system	UNION		# union file system (a little buggy)
1511.22Sminourafile-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1521.22Sminoura#file-system 	ADOSFS		# AmigaDOS filesystem
1531.22Sminoura
1541.22Sminoura## File system options.
1551.22Sminouraoptions 	NFSSERVER	# Sun NFS-compatible filesystem server
1561.22Sminouraoptions 	QUOTA		# FFS quotas
1571.22Sminoura#options 	FFS_EI		# FFS Endian Independent support
1581.37Sfvdl#options 	SOFTDEP         # FFS soft updates support.
1591.22Sminoura
1601.39Sitojun# Pull in config fragments for kernel crypto.  This is required for
1611.39Sitojun# options IPSEC etc. to work. If you want to run with IPSEC, uncomment
1621.39Sitojun# one of these, based on whether you use crypto-us or crypto-intl, and
1631.39Sitojun# adjust the prefixes as necessary.
1641.39Sitojun
1651.39Sitojun#prefix ../crypto-us/sys
1661.39Sitojun#cinclude "conf/files.crypto-us"
1671.39Sitojun#prefix
1681.39Sitojun
1691.39Sitojun#prefix ../crypto-intl/sys
1701.39Sitojun#cinclude "conf/files.crypto-intl"
1711.39Sitojun#prefix
1721.39Sitojun
1731.22Sminoura## Network protocol support.  In most environments, INET is required.
1741.22Sminouraoptions 	INET		# IP (Internet Protocol) v4
1751.39Sitojunoptions 	INET6		# IPV6
1761.39Sitojun#options 	IPSEC		# IP security
1771.39Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1781.39Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1791.22Sminouraoptions 	TCP_COMPAT_42	# 4.2BSD IP implementation compatibility
1801.22Sminoura#options 	GATEWAY		# packet forwarding ("router switch")
1811.22Sminoura#options 	MROUTING	# packet forwarding of multicast packets
1821.22Sminoura#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
1831.22Sminoura#options 	NS		# Xerox NS networking
1841.22Sminoura#options 	NSIP		# Xerox NS tunneling over IP
1851.22Sminoura#options 	ISO,TPIP	# OSI networking
1861.22Sminoura#options 	EON		# OSI tunneling over IP
1871.22Sminoura#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
1881.22Sminouraoptions 	NETATALK	# AppleTalk (over Ethernet) protocol
1891.22Sminouraoptions 	NTP		# Network Time Protocol in-kernel support
1901.22Sminoura#options 	PPS_SYNC	# Add serial line synchronization for NTP
1911.35Schristosoptions 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
1921.28Sminouraoptions 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
1931.35Schristosoptions 	PPP_BSDCOMP	# Add BSD compression to ppp device
1941.35Schristosoptions 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
1951.35Schristosoptions 	PPP_FILTER	# Add active filters for ppp (via bpf)
1961.22Sminoura
1971.22Sminoura
1981.22Sminoura
1991.22Sminoura#### Device configurations
2001.22Sminoura
2011.28Sminoura## Fundamental devices; see also std.x68k
2021.28Sminouradmac0	at intio0 addr 0xe84000		# DMA controler
2031.28Sminouraxel0	at intio0
2041.28Sminouraopm0	at intio0 addr 0xe90000		# OPM: required for fdc
2051.22Sminoura
2061.22Sminoura## Display devices and console
2071.22Sminouragrfbus0	at mainbus0			# bitmapped displays
2081.22Sminouragrf0	at grfbus0			# multiplane graphics
2091.22Sminouragrf1	at grfbus0			# flexible graphics
2101.22Sminoura
2111.28Sminourakbd0	at mfp0				# standard keyboard
2121.22Sminouraite0	at grf0				# internal terminal emulator
2131.34Sminouraoptions 	ITE_KERNEL_ATTR=4	# bold for kernel messages
2141.28Sminoura					# see /sys/arch/x68k/dev/itevar.h
2151.29Sminourapseudo-device	pow		2	# software power switch
2161.22Sminoura
2171.22Sminoura## floppy disks
2181.28Sminourafdc0	at intio0 addr 0xe94000 intr 96 dma 0 dmaintr 100 # floppy controler
2191.22Sminourafd*	at fdc0 unit ?			# builtin floppy drives
2201.22Sminoura
2211.22Sminoura## SCSI devices
2221.28Sminourascsirom0 at intio0 addr 0xfc0000		# Built-in SCSI BIOS
2231.28Sminourascsirom1 at intio0 addr 0xea0020		# External SCSI BIOS
2241.28Sminouraspc0	at scsirom0				# genuin SCSI
2251.28Sminouraspc1	at scsirom1				# genuin SCSI
2261.22Sminourascsibus* at spc?
2271.28Sminouramha0	at scsirom1				# Mankai MK-HA1 (Mach-2)
2281.22Sminourascsibus* at mha0
2291.22Sminoura
2301.22Sminourasd*	at scsibus? target ? lun ?	# SCSI disks
2311.22Sminouracd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
2321.22Sminourast*	at scsibus? target ? lun ?	# SCSI tapes
2331.22Sminoura#ss*	at scsibus? target ? lun ?	# SCSI scanners
2341.28Sminourach*	at scsibus? target ? lun ?	# SCSI changer devices
2351.22Sminoura#uk*	at scsibus? target ? lun ?	# SCSI unknown devices
2361.22Sminoura
2371.22Sminoura## Serial ports
2381.28Sminourazsc0	at intio0 addr 0xe98000 intr 112
2391.22Sminourazstty0	at zsc0 channel 0		# built-in RS-232C
2401.22Sminourams0	at zsc0 channel 1		# standard mouse
2411.28Sminoura#zsc1	at intio0 addr 0xeafc00 intr 113
2421.22Sminoura#zstty2	at zsc1 channel 0
2431.22Sminoura#zstty3	at zsc1 channel 1
2441.28Sminoura#zsc2	at intio0 addr 0xeafc10 intr 114
2451.22Sminoura#zstty4	at zsc2 channel 0
2461.22Sminoura#zstty5	at zsc2 channel 1
2471.22Sminoura
2481.29Sminourapseudo-device	sram			# battery-backuped static RAM
2491.29Sminourapseudo-device	bell			# OPM bell
2501.22Sminoura
2511.28Sminouraxcom0	at mainbus0			# NS16550 fast serial
2521.28Sminouraxcom1	at mainbus0
2531.32Sminoura
2541.32Sminourapar0	at mainbus0			# Builtin printer port
2551.22Sminoura
2561.29Sminoura## Audio device; broken
2571.28Sminoura#okiadpcm0 at intio0 addr 0xe92000 intr 106 errintr 107 dma 3
2581.22Sminoura#audio*	at okiadpcm*
2591.22Sminoura
2601.22Sminoura## Network interfaces
2611.28Sminouraneptune0 at intio0 addr 0xece000 intr 249	# Neptune-X
2621.28Sminouraneptune1 at intio0 addr 0xece400 intr 249	# Neptune-X at alt. addr.
2631.28Sminourane0	at neptune? addr 0x300			# NE2000 or clone
2641.29Sminoura#se0	at scsibus? target ? lun ?		# Ether+; broken
2651.22Sminoura
2661.22Sminoura
2671.22Sminoura#### Pseudo devices
2681.22Sminoura
2691.22Sminoura## A disk-like interface to files.  Can be used to create floppy, CD,
2701.22Sminoura## miniroot images, etc.
2711.22Sminoura
2721.22Sminourapseudo-device	vnd	4
2731.22Sminoura
2741.22Sminoura## Concatenated and striped disks; with this, you can create a software-based
2751.22Sminoura## disk array similar to a "RAID 0" setup.  See ccd(4).
2761.22Sminoura
2771.34Sminourapseudo-device	ccd	4
2781.23Soster
2791.23Soster## RAIDframe disk driver: software RAID driver.  See raid(4).
2801.23Soster
2811.34Sminourapseudo-device	raid	4
2821.43Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2831.22Sminoura
2841.22Sminoura## Memory disk device, used on boot floppies with compressed
2851.22Sminoura## kernel-plus-root-disk images.
2861.22Sminoura
2871.22Sminoura#pseudo-device	md	1
2881.22Sminoura
2891.22Sminoura## Loopback network interface; required
2901.22Sminourapseudo-device	loop
2911.22Sminoura
2921.22Sminoura## SLIP and CSLIP interfaces, for IP over a serial line.
2931.22Sminourapseudo-device	sl		1
2941.22Sminoura
2951.22Sminoura## PPP, the successor to SLIP.  See pppd(8).
2961.22Sminourapseudo-device	ppp		1
2971.22Sminoura
2981.22Sminoura## Network "tunnel" device, allowing protocol stacks to run in the userland.
2991.22Sminoura## This is used by the third-party user-mode "ppp" program, and others.
3001.22Sminourapseudo-device	tun		4
3011.24Shwr
3021.24Shwr## Generic L3 over IP tunnel
3031.24Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
3041.22Sminoura
3051.22Sminoura## Berkeley Packet Filter, required to run RARPD.  A generic C-language
3061.22Sminoura## interface that allows selective examining of incoming packets.
3071.22Sminourapseudo-device	bpfilter	8
3081.22Sminoura
3091.22Sminoura## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
3101.22Sminoura## one example of the use of the IP Filter.
3111.22Sminourapseudo-device	ipfilter
3121.22Sminoura
3131.39Sitojun## for IPv6
3141.39Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
3151.39Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
3161.22Sminoura
3171.22Sminoura#### Other device configuration
3181.22Sminoura
3191.22Sminoura## Pseudo ttys, required for network logins and programs like screen.
3201.22Sminoura## 32 is a good number for average systems; you may have as many as you
3211.22Sminoura## like, though 256 is more or less the upper limit.  Increasing this
3221.22Sminoura## number still requires you to run /dev/MAKEDEV to create the files
3231.22Sminoura## for the ptys.
3241.34Sminoura
3251.22Sminourapseudo-device	pty		32	# pseudo-ttys (for network, etc.)
3261.22Sminoura
3271.22Sminoura## Random device, used to implement /dev/random (a source of random noise),
3281.22Sminoura## and generate randomness for some kernel formulae.
3291.34Sminoura
3301.31Sminourapseudo-device	rnd
331