ZSCONS revision 1.2
11.2Sminoura# 	$NetBSD: ZSCONS,v 1.2 1999/03/16 16:30:17 minoura Exp $
21.2Sminoura
31.2Sminoura#
41.2Sminoura#	ZSCONS -- like GENERIC, but use zs console.
51.2Sminoura#
61.2Sminoura
71.2Sminourainclude "arch/x68k/conf/std.x68k"
81.2Sminoura
91.2Sminouramaxusers	32
101.2Sminoura
111.2Sminoura## System kernel configuration.  See options(4) for more detail.
121.2Sminoura
131.2Sminoura
141.2Sminoura## Options for variants of the m68k MPU
151.2Sminoura## you must have at least the correct one; REQUIRED
161.2Sminouraoptions 	M68030
171.2Sminouraoptions 	M68040
181.2Sminouraoptions 	M68060
191.2Sminoura
201.2Sminoura
211.2Sminoura#### System options specific to the x68k port
221.2Sminoura
231.2Sminoura#options 	UVM			# new virtual memory system
241.2Sminouraoptions 	MACHINE_NONCONTIG	# support for noncontiguous memory
251.2Sminouraoptions 	MACHINE_NEW_NONCONTIG	# new i/f for noncontig memory support
261.2Sminouraoptions 	FPU_EMULATE		# software fpu emulation for MC68030
271.2Sminouraoptions 	FPSP			# floating point emulation for MC68040
281.2Sminouraoptions 	M060SP			# int/fp emulation for MC68060
291.2Sminouraoptions 	JUPITER			# support for "Jupiter-X" accelerator
301.2Sminouraoptions 	MAPPEDCOPY		# use page mapping for large copyin/copyout
311.2Sminouraoptions 	ZSCONSOLE,ZSCN_SPEED="9600"	# use serial console
321.2Sminoura
331.2Sminoura
341.2Sminoura#### System options that are the same for all ports
351.2Sminoura
361.2Sminoura## Root device configuration: change the ?'s if you are going to use a
371.2Sminoura## nonstandard root partition (other than where the kernel is booted from)
381.2Sminoura## and/or nonstandard root type (not ffs or nfs).  Normally this can be
391.2Sminoura## automagically determined at boot time.
401.2Sminoura
411.2Sminouraconfig		netbsd	root on ? type ?
421.2Sminoura#config		netbsd	root on sd0 type ffs
431.2Sminoura
441.2Sminoura## RTC is offset from GMT; -540 means JST-9
451.2Sminouraoptions 	RTC_OFFSET=-540	# hardware clock is this many mins. west of GMT
461.2Sminoura
471.2Sminoura## System call tracing (see ktrace(1)).
481.2Sminouraoptions 	KTRACE
491.2Sminoura
501.2Sminoura## Collect statistics on kernel malloc's and free's.  This does have a
511.2Sminoura## significant performance hit on slower machines, so it is intended for
521.2Sminoura## diagnostic use only.
531.2Sminoura#options 	KMEMSTATS
541.2Sminoura
551.2Sminoura## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
561.2Sminouraoptions 	SYSVMSG		# System V message queues
571.2Sminouraoptions 	SYSVSEM		# System V semaphores
581.2Sminouraoptions 	SYSVSHM		# System V shared memory
591.2Sminoura#options 	SHMMAXPGS=1024	# 1024 pages is the default
601.2Sminoura
611.2Sminoura## Loadable kernel module support
621.2Sminoura#options 	LKM
631.2Sminoura
641.2Sminoura## NFS boot options; not supported currently: needs nfsboot program
651.2Sminoura#options 	NFS_BOOT_BOOTPARAM
661.2Sminoura#options 	NFS_BOOT_BOOTP
671.2Sminoura#options 	NFS_BOOT_DHCP
681.2Sminoura
691.2Sminoura#### Debugging options
701.2Sminoura
711.2Sminoura## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
721.2Sminoura## serial console break or keyboard reset, where the PROM would normally
731.2Sminoura## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
741.2Sminoura#options 	DDB			# kernel dynamic debugger
751.2Sminoura#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
761.2Sminoura#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
771.2Sminoura#options 	PANICBUTTON		# interrupt switch invokes DDB
781.2Sminoura
791.2Sminoura## You may also use gdb, on another computer connected to this machine over
801.2Sminoura## a serial port.  Both KGDBDEV and KGDBRATE should be specified; KGDBDEV is
811.2Sminoura## a dev_t encoded device number of the serial port to use.
821.2Sminoura## KGDB is not supported for now.
831.2Sminoura#options 	KGDB		# support for kernel gdb
841.2Sminoura#options 	KGDBDEV=0xc00	# kgdb device number
851.2Sminoura#options 	KGDBRATE=9600	# baud rate
861.2Sminoura
871.2Sminoura## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
881.2Sminoura## such that gdb(1) can be used on a kernel coredump.
891.2Sminoura
901.2Sminoura#makeoptions 	DEBUG="-g"
911.2Sminoura
921.2Sminoura## Adds code to the kernel that does internal consistency checks, and will
931.2Sminoura## cause the kernel to panic if corruption of internal data structures
941.2Sminoura## is detected.
951.2Sminoura#options 	DIAGNOSTIC	# extra kernel sanity checking
961.2Sminoura
971.2Sminoura## Enable (possibly expensive) debugging code that may also display messages
981.2Sminoura## on the system console
991.2Sminoura#options 	DEBUG
1001.2Sminoura
1011.2Sminoura## Make SCSI error messages more verbose when explaining their meanings.
1021.2Sminouraoptions 	SCSIVERBOSE
1031.2Sminoura
1041.2Sminoura## `INSECURE' turns off the kernel security level (securelevel = 0 always).
1051.2Sminoura## This allows writing to /dev/mem, loading kernel modules while multi-user,
1061.2Sminoura## and other insecurities good only for development work.  Do not use this
1071.2Sminoura## option on a production machine.
1081.2Sminoura#options 	INSECURE
1091.2Sminoura
1101.2Sminoura## Allow non-root users to grab /dev/console with programs such as xconsole.
1111.2Sminoura## `xconsole' therefore does not need setuid root with this option enabled.
1121.2Sminoura#options 	UCONSOLE
1131.2Sminoura
1141.2Sminoura## `FDSCRIPTS' allows non-readable but executable scripts by providing a
1151.2Sminoura## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
1161.2Sminoura## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
1171.2Sminoura## opaque file mechanism.  Perl calls this "secure setuid scripts."
1181.2Sminoura
1191.2Sminoura#options 	FDSCRIPTS
1201.2Sminoura#options 	SETUIDSCRIPTS
1211.2Sminoura
1221.2Sminoura## Options for compatibility with previous releases foreign system binaries.
1231.2Sminoura
1241.2Sminouraoptions 	COMPAT_43	# 4.3BSD system interfaces
1251.2Sminouraoptions 	COMPAT_09	# NetBSD 0.9 binary compatibility
1261.2Sminouraoptions 	COMPAT_10	# NetBSD 1.0 binary compatibility
1271.2Sminouraoptions 	COMPAT_11	# NetBSD 1.1 binary compatibility
1281.2Sminouraoptions 	COMPAT_12	# NetBSD 1.2 binary compatibility
1291.2Sminouraoptions 	COMPAT_13	# NetBSD 1.3 binary compatibility
1301.2Sminoura#options 	COMPAT_M68K4K	# NetBSD/m68k4k binaries
1311.2Sminoura#options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility; broken
1321.2Sminoura
1331.2Sminoura## File systems.
1341.2Sminourafile-system	FFS		# Berkeley Fast Filesystem
1351.2Sminourafile-system	NFS		# Sun NFS-compatible filesystem client
1361.2Sminourafile-system	KERNFS		# kernel data-structure filesystem
1371.2Sminourafile-system	NULLFS		# NULL layered filesystem
1381.2Sminourafile-system	MFS		# memory-based filesystem
1391.2Sminoura#file-system	FDESC		# user file descriptor filesystem
1401.2Sminourafile-system	UMAPFS		# uid/gid remapping filesystem
1411.2Sminoura#file-system	LFS		# Log-based filesystem (still experimental)
1421.2Sminourafile-system	PORTAL		# portal filesystem (still experimental)
1431.2Sminourafile-system	PROCFS		# /proc
1441.2Sminourafile-system	CD9660		# ISO 9660 + Rock Ridge file system
1451.2Sminourafile-system	UNION		# union file system
1461.2Sminourafile-system	MSDOSFS		# MS-DOS FAT filesystem(s).
1471.2Sminoura#file-system 	ADOSFS		# AmigaDOS filesystem
1481.2Sminoura
1491.2Sminoura## File system options.
1501.2Sminouraoptions 	NFSSERVER	# Sun NFS-compatible filesystem server
1511.2Sminouraoptions 	QUOTA		# FFS quotas
1521.2Sminoura#options 	FFS_EI		# FFS Endian Independent support
1531.2Sminoura
1541.2Sminoura## Network protocol support.  In most environments, INET is required.
1551.2Sminouraoptions 	INET		# IP (Internet Protocol) v4
1561.2Sminouraoptions 	TCP_COMPAT_42	# 4.2BSD IP implementation compatibility
1571.2Sminoura#options 	GATEWAY		# packet forwarding ("router switch")
1581.2Sminoura#options 	MROUTING	# packet forwarding of multicast packets
1591.2Sminoura#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
1601.2Sminoura#options 	NS		# Xerox NS networking
1611.2Sminoura#options 	NSIP		# Xerox NS tunneling over IP
1621.2Sminoura#options 	ISO,TPIP	# OSI networking
1631.2Sminoura#options 	EON		# OSI tunneling over IP
1641.2Sminoura#options 	CCITT,LLC,HDLC	# X.25 packet switched protocol
1651.2Sminouraoptions 	NETATALK	# AppleTalk (over Ethernet) protocol
1661.2Sminouraoptions 	NTP		# Network Time Protocol in-kernel support
1671.2Sminoura#options 	PPS_SYNC	# Add serial line synchronization for NTP
1681.2Sminoura#options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
1691.2Sminouraoptions 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
1701.2Sminoura#options 	PPP_BSDCOMP	# Add BSD compression to ppp device
1711.2Sminoura#options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
1721.2Sminoura#options 	PPP_FILTER	# Add active filters for ppp (via bpf)
1731.2Sminoura
1741.2Sminoura
1751.2Sminoura
1761.2Sminoura#### Device configurations
1771.2Sminoura
1781.2Sminoura## Fundamental devices; see also std.x68k
1791.2Sminouradmac0	at intio0 addr 0xe84000		# DMA controler
1801.2Sminouraxel0	at intio0
1811.2Sminouraopm0	at intio0 addr 0xe90000		# OPM: required for fdc
1821.2Sminoura
1831.2Sminoura## Display devices and console
1841.2Sminouragrfbus0	at mainbus0			# bitmapped displays
1851.2Sminouragrf0	at grfbus0			# multiplane graphics
1861.2Sminouragrf1	at grfbus0			# flexible graphics
1871.2Sminoura
1881.2Sminoura#kbd0	at mfp0				# standard keyboard
1891.2Sminoura#ite0	at grf0				# internal terminal emulator
1901.2Sminoura#!pow0	at mfp0 flags 0			# power switch status; intr enabled
1911.2Sminoura#!pow1	at mfp0 flags 1			# power switch status; read only
1921.2Sminourapseudo-device	pow		2	#! software power switch
1931.2Sminoura
1941.2Sminoura## floppy disks
1951.2Sminourafdc0	at intio0 addr 0xe94000 intr 96 dma 0 dmaintr 100 # floppy controler
1961.2Sminourafd*	at fdc0 unit ?			# builtin floppy drives
1971.2Sminoura
1981.2Sminoura## SCSI devices
1991.2Sminourascsirom0 at intio0 addr 0xfc0000		# Built-in SCSI BIOS
2001.2Sminourascsirom1 at intio0 addr 0xea0020		# External SCSI BIOS
2011.2Sminouraspc0	at scsirom0				# genuin SCSI
2021.2Sminouraspc1	at scsirom1				# genuin SCSI
2031.2Sminourascsibus* at spc?
2041.2Sminouramha0	at scsirom1				# Mankai MK-HA1 (Mach-2)
2051.2Sminourascsibus* at mha0
2061.2Sminoura
2071.2Sminourasd*	at scsibus? target ? lun ?	# SCSI disks
2081.2Sminouracd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
2091.2Sminourast*	at scsibus? target ? lun ?	# SCSI tapes
2101.2Sminoura#ss*	at scsibus? target ? lun ?	# SCSI scanners
2111.2Sminourach*	at scsibus? target ? lun ?	# SCSI changer devices
2121.2Sminoura#uk*	at scsibus? target ? lun ?	# SCSI unknown devices
2131.2Sminoura
2141.2Sminoura## Serial ports
2151.2Sminourazsc0	at intio0 addr 0xe98000 intr 112
2161.2Sminourazstty0	at zsc0 channel 0		# built-in RS-232C
2171.2Sminourams0	at zsc0 channel 1		# standard mouse
2181.2Sminoura#zsc1	at intio0 addr 0xeafc00 intr 113
2191.2Sminoura#zstty2	at zsc1 channel 0
2201.2Sminoura#zstty3	at zsc1 channel 1
2211.2Sminoura#zsc2	at intio0 addr 0xeafc10 intr 114
2221.2Sminoura#zstty4	at zsc2 channel 0
2231.2Sminoura#zstty5	at zsc2 channel 1
2241.2Sminoura
2251.2Sminourapseudo-device	sram			#! battery-backuped static RAM
2261.2Sminourapseudo-device	bell			#! OPM bell
2271.2Sminoura
2281.2Sminouraxcom0	at mainbus0			# NS16550 fast serial
2291.2Sminouraxcom1	at mainbus0
2301.2Sminoura
2311.2Sminoura## Audio device
2321.2Sminoura#okiadpcm0 at intio0 addr 0xe92000 intr 106 errintr 107 dma 3
2331.2Sminoura#audio*	at okiadpcm*
2341.2Sminoura
2351.2Sminoura## Network interfaces
2361.2Sminouraneptune0 at intio0 addr 0xece000 intr 249	# Neptune-X
2371.2Sminouraneptune1 at intio0 addr 0xece400 intr 249	# Neptune-X at alt. addr.
2381.2Sminourane0	at neptune? addr 0x300			# NE2000 or clone
2391.2Sminoura#se0	at scsibus? target ? lun ?		# Ether+; not supported
2401.2Sminoura
2411.2Sminoura
2421.2Sminoura#### Pseudo devices
2431.2Sminoura
2441.2Sminoura## A disk-like interface to files.  Can be used to create floppy, CD,
2451.2Sminoura## miniroot images, etc.
2461.2Sminoura
2471.2Sminourapseudo-device	vnd	4
2481.2Sminoura
2491.2Sminoura## Concatenated and striped disks; with this, you can create a software-based
2501.2Sminoura## disk array similar to a "RAID 0" setup.  See ccd(4).
2511.2Sminoura
2521.2Sminoura#pseudo-device	ccd	4
2531.2Sminoura
2541.2Sminoura## RAIDframe disk driver: software RAID driver.  See raid(4).
2551.2Sminoura
2561.2Sminoura#pseudo-device	raid	4
2571.2Sminoura
2581.2Sminoura## Memory disk device, used on boot floppies with compressed
2591.2Sminoura## kernel-plus-root-disk images.
2601.2Sminoura
2611.2Sminoura#pseudo-device	md	1
2621.2Sminoura
2631.2Sminoura## Loopback network interface; required
2641.2Sminourapseudo-device	loop
2651.2Sminoura
2661.2Sminoura## SLIP and CSLIP interfaces, for IP over a serial line.
2671.2Sminourapseudo-device	sl		1
2681.2Sminoura
2691.2Sminoura## PPP, the successor to SLIP.  See pppd(8).
2701.2Sminourapseudo-device	ppp		1
2711.2Sminoura
2721.2Sminoura## Network "tunnel" device, allowing protocol stacks to run in the userland.
2731.2Sminoura## This is used by the third-party user-mode "ppp" program, and others.
2741.2Sminourapseudo-device	tun		4
2751.2Sminoura
2761.2Sminoura## Generic L3 over IP tunnel
2771.2Sminoura#pseudo-device	gre		2	# generic L3 over IP tunnel
2781.2Sminoura
2791.2Sminoura## Berkeley Packet Filter, required to run RARPD.  A generic C-language
2801.2Sminoura## interface that allows selective examining of incoming packets.
2811.2Sminourapseudo-device	bpfilter	8
2821.2Sminoura
2831.2Sminoura## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
2841.2Sminoura## one example of the use of the IP Filter.
2851.2Sminourapseudo-device	ipfilter
2861.2Sminoura
2871.2Sminoura
2881.2Sminoura#### Other device configuration
2891.2Sminoura
2901.2Sminoura## Pseudo ttys, required for network logins and programs like screen.
2911.2Sminoura## 32 is a good number for average systems; you may have as many as you
2921.2Sminoura## like, though 256 is more or less the upper limit.  Increasing this
2931.2Sminoura## number still requires you to run /dev/MAKEDEV to create the files
2941.2Sminoura## for the ptys.
2951.2Sminoura
2961.2Sminourapseudo-device	pty		32	# pseudo-ttys (for network, etc.)
2971.2Sminoura
2981.2Sminoura## Random device, used to implement /dev/random (a source of random noise),
2991.2Sminoura## and generate randomness for some kernel formulae.
3001.2Sminoura## THIS DEVICE IS EXPERIMENTAL; use at your own risk.
3011.2Sminoura
3021.2Sminoura#pseudo-device	rnd
303