GENERICSBC revision 1.36
11.36Schs#	$NetBSD: GENERICSBC,v 1.36 2005/01/19 02:04:49 chs Exp $
21.1Stoddpw#
31.5Sfredb# GENERICSBC
41.1Stoddpw
51.1Stoddpwinclude	"arch/mac68k/conf/std.mac68k"
61.1Stoddpw
71.16Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
81.16Satatat
91.36Schs#ident 		"GENERICSBC-$Revision: 1.36 $"
101.1Stoddpw
111.1Stoddpwmaxusers	16		# estimated number of users
121.1Stoddpw
131.1Stoddpw# CPU support.  At least one is REQUIRED.
141.1Stoddpwoptions 	M68040
151.1Stoddpwoptions 	M68030
161.1Stoddpwoptions 	M68020		# Note:  must have 68851 PMMU
171.1Stoddpw
181.1Stoddpw# CPU-related options.
191.1Stoddpwoptions 	FPSP
201.1Stoddpwoptions 	FPU_EMULATE
211.1Stoddpw
221.1Stoddpw# Standard system options
231.1Stoddpw
241.1Stoddpwoptions 	INSECURE	# disable kernel security levels
251.1Stoddpw
261.1Stoddpwoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
271.1Stoddpw#options 	NTP		# NTP phase/frequency locked loop
281.1Stoddpw
291.1Stoddpwoptions 	KTRACE		# system call tracing via ktrace(1)
301.1Stoddpw
311.1Stoddpwoptions 	SYSVMSG		# System V-like message queues
321.1Stoddpwoptions 	SYSVSEM		# System V-like semaphores
331.7Slukem#options 	SEMMNI=10	# number of semaphore identifiers
341.7Slukem#options 	SEMMNS=60	# number of semaphores in system
351.7Slukem#options 	SEMUME=10	# max number of undo entries per process
361.7Slukem#options 	SEMMNU=30	# number of undo structures in system
371.1Stoddpwoptions 	SYSVSHM		# System V-like memory sharing
381.1Stoddpw#options 	SHMMAXPGS=1024	# 1024 pages is the default
391.31Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
401.1Stoddpw
411.1Stoddpwoptions 	LKM		# loadable kernel modules
421.11Sjdolecek
431.20Slukemoptions 	USERCONF	# userconf(4) support
441.11Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
451.32Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
461.1Stoddpw
471.1Stoddpw# Diagnostic/debugging support options
481.12Sfredb#options 	DIAGNOSTIC	# cheap kernel consistency checks
491.1Stoddpw#options 	DEBUG		# expensive debugging checks/support
501.1Stoddpwoptions 	KMEMSTATS	# kernel memory statistics (vmstat -m)
511.12Sfredboptions 	DDB			# in-kernel debugger
521.1Stoddpw#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
531.6Slukem#options 	KGDB			# remote debugger
541.6Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
551.6Slukem#options 	KGDB_DEVRATE=38400	# baud rate
561.1Stoddpw#makeoptions	DEBUG="-g"	# compile full symbol table
571.1Stoddpw
581.1Stoddpw# Compatibility options
591.1Stoddpw#options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
601.1Stoddpw#options 	COMPAT_09	# NetBSD 0.9,
611.1Stoddpwoptions 	COMPAT_10	# NetBSD 1.0,
621.1Stoddpwoptions 	COMPAT_11	# NetBSD 1.1,
631.1Stoddpwoptions 	COMPAT_12	# NetBSD 1.2,
641.1Stoddpwoptions 	COMPAT_13	# NetBSD 1.3,
651.1Stoddpwoptions 	COMPAT_14	# NetBSD 1.4,
661.13Sfredboptions 	COMPAT_15	# NetBSD 1.5,
671.25Scloptions 	COMPAT_16	# NetBSD 1.6,
681.1Stoddpwoptions 	COMPAT_43	# and 4.3BSD
691.2Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
701.1Stoddpw
711.12Sfredb# The following is needed to run pre-NetBSD 1.6 binaries under ELF.
721.14Sshibaoptions 	COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
731.14Sshibaoptions 	EXEC_AOUT	# support for exec'ing a.out
741.12Sfredb
751.12Sfredb#options 	COMPAT_LINUX	# compatibility with Linux/m68k binaries
761.12Sfredb#options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
771.12Sfredb#options 	COMPAT_SUNOS	# compatibility with SunOS 4.x binaries
781.1Stoddpw#options 	COMPAT_SVR4	# compatibility with SVR4 binaries
791.34Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
801.1Stoddpw
811.1Stoddpw# File systems
821.1Stoddpwfile-system 	FFS		# UFS
831.1Stoddpwfile-system 	EXT2FS		# second extended file system (linux)
841.1Stoddpwfile-system 	LFS		# log-structured file system
851.1Stoddpwfile-system 	MFS		# memory file system
861.1Stoddpwfile-system 	NFS		# Network File System client
871.1Stoddpwfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
881.1Stoddpwfile-system 	MSDOSFS		# MS-DOS file system
891.1Stoddpwfile-system 	FDESC		# /dev/fd
901.1Stoddpwfile-system 	KERNFS		# /kern
911.1Stoddpwfile-system 	NULLFS		# loopback file system
921.1Stoddpwfile-system 	OVERLAY		# overlay file system
931.1Stoddpwfile-system 	PORTAL		# portal filesystem (still experimental)
941.1Stoddpwfile-system 	PROCFS		# /proc
951.1Stoddpwfile-system 	UMAPFS		# NULLFS + uid and gid remapping
961.1Stoddpwfile-system 	UNION		# union file system
971.1Stoddpwfile-system 	CODA		# Venus/Coda distributed file system
981.1Stoddpw
991.1Stoddpw# File system options
1001.1Stoddpwoptions 	QUOTA		# UFS quotas
1011.1Stoddpw#options 	FFS_EI		# FFS Endian Independant support
1021.1Stoddpwoptions 	SOFTDEP		# FFS soft updates support.
1031.1Stoddpwoptions 	NFSSERVER	# Network File System server
1041.1Stoddpw#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1051.1Stoddpw				# immutable) behave as system flags.
1061.1Stoddpw
1071.1Stoddpw# Networking options
1081.1Stoddpwoptions 	GATEWAY		# packet forwarding
1091.1Stoddpwoptions 	INET		# IP + ICMP + TCP + UDP
1101.1Stoddpwoptions 	INET6		# IPV6
1111.1Stoddpw#options 	IPSEC		# IP security
1121.1Stoddpw#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1131.1Stoddpw#options 	IPSEC_DEBUG	# debug for IP security
1141.1Stoddpw#options 	MROUTING	# IP multicast routing
1151.33Smanu#options 	PIM		# Protocol Independent Multicast
1161.1Stoddpwoptions 	NS		# XNS
1171.1Stoddpw#options 	NSIP		# XNS tunneling over IP
1181.1Stoddpwoptions 	ISO,TPIP	# OSI
1191.1Stoddpw#options 	EON		# OSI tunneling over IP
1201.1Stoddpwoptions 	CCITT,LLC,HDLC	# X.25
1211.1Stoddpwoptions 	NETATALK	# AppleTalk networking protocols
1221.1Stoddpwoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1231.1Stoddpwoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1241.1Stoddpwoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1251.1Stoddpwoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1261.12Sfredboptions 	IPFILTER_LOG	# ipmon(8) log support
1271.22Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1281.2Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1291.1Stoddpw
1301.30Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1311.30Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1321.30Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1331.30Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1341.30Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1351.30Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1361.30Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1371.30Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1381.30Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1391.30Sabs#options 	ALTQ_RED	# Random Early Detection
1401.30Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1411.30Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1421.30Sabs
1431.1Stoddpw# These options enable verbose messages for several subsystems.
1441.1Stoddpw# Warning, these may compile large string tables into the kernel!
1451.1Stoddpwoptions 	SCSIVERBOSE	# human readable SCSI error messages
1461.1Stoddpw
1471.1Stoddpw# wscons options
1481.1Stoddpw#options 	WSEMUL_SUN		# sun terminal emulation
1491.1Stoddpwoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1501.1Stoddpwoptions 	WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
1511.1Stoddpw
1521.1Stoddpw# rcons options; note that 1-bit and 8-bit displays are supported by default.
1531.1Stoddpwoptions 	RCONS_2BPP		# Support for 2-bit display
1541.1Stoddpwoptions 	RCONS_4BPP		# Support for 4-bit display
1551.1Stoddpwoptions 	RCONS_16BPP		# Support for 16-bit display
1561.1Stoddpw
1571.1Stoddpw# Mac-specific options
1581.1Stoddpw#options 	ALTXBUTTONS	# Map Opt-{1,2,3} to mouse buttons
1591.1Stoddpw#options 	DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache
1601.1Stoddpwoptions 	GRF_COMPAT	# Include grf compatibility code
1611.1Stoddpw#options 	MRG_ADB		# Use ROM-based ADB driver
1621.1Stoddpwoptions 	ZS_CONSOLE_ABORT
1631.1Stoddpw
1641.1Stoddpwoptions 	NFS_BOOT_DHCP
1651.1Stoddpw
1661.1Stoddpw# Kernel root file system and dump configuration.
1671.1Stoddpwconfig		netbsd	root on ? type ?
1681.1Stoddpw
1691.1Stoddpw#
1701.1Stoddpw# Device configuration
1711.1Stoddpw#
1721.1Stoddpw
1731.1Stoddpwmainbus0 at root
1741.1Stoddpw
1751.1Stoddpwfpu0 at mainbus?			# Floating-Point Coprocessor support
1761.1Stoddpw
1771.1Stoddpw
1781.1Stoddpw# Basic Bus Support
1791.1Stoddpw
1801.1Stoddpw# On-board I/O bus support
1811.1Stoddpwobio0 at mainbus?
1821.1Stoddpw
1831.1Stoddpw# NuBus support
1841.1Stoddpwnubus0 at mainbus?
1851.1Stoddpw
1861.1Stoddpw
1871.1Stoddpw# Console Devices
1881.1Stoddpw
1891.1Stoddpw# Apple Desktop Bus interface
1901.1Stoddpwadb0	at obio?
1911.1Stoddpwaed*	at adb?				# ADB event device
1921.1Stoddpwakbd*	at adb?				# ADB keyboard
1931.1Stoddpwams*	at adb?				# ADB mouse
1941.1Stoddpw
1951.1Stoddpw# Basic frame buffer support
1961.1Stoddpwintvid0	at obio?			# Internal video hardware
1971.1Stoddpwmacvid*	at nubus?			# NuBus video card
1981.1Stoddpw
1991.1Stoddpw# Device-independent frame buffer interface
2001.1Stoddpwmacfb*	at intvid?
2011.1Stoddpwmacfb*	at macvid?
2021.1Stoddpw
2031.1Stoddpw# Workstation Console devices
2041.1Stoddpwwsdisplay* at macfb? console ?
2051.1Stoddpwwskbd*	at akbd? console ?
2061.1Stoddpwwsmouse* at ams?
2071.1Stoddpw
2081.1Stoddpw
2091.1Stoddpw# Serial Devices
2101.1Stoddpw
2111.1Stoddpw# On-board serial interface
2121.1Stoddpwzsc0	at obio?
2131.1Stoddpwzstty*	at zsc? channel ?
2141.1Stoddpw
2151.1Stoddpw
2161.1Stoddpw# SCSI Controllers and Devices
2171.1Stoddpw
2181.1Stoddpw# SCSI controllers
2191.1Stoddpw# XXX - use only one of ncrscsi or sbc
2201.36Schs#ncrscsi0 at obio? addr 0		# SCSI NCR 5380
2211.36Schssbc0	at obio? addr 0 flags 0x1	# MI SCSI NCR 5380
2221.36Schsesp0	at obio? addr 0			# SCSI NCR 53C9x
2231.36Schsesp1	at obio? addr 1			# SCSI NCR 53C9x
2241.1Stoddpw
2251.1Stoddpw# SCSI bus support
2261.1Stoddpwscsibus* at scsi?
2271.1Stoddpw
2281.1Stoddpw# SCSI devices
2291.1Stoddpwsd*	at scsibus? target ? lun ?	# SCSI disk drives
2301.1Stoddpwst*	at scsibus? target ? lun ?	# SCSI tape drives
2311.1Stoddpwcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2321.1Stoddpwch*	at scsibus? target ? lun ?	# SCSI autochangers
2331.1Stoddpwse*	at scsibus? target ? lun ?	# SCSI ethernet
2341.1Stoddpwss*	at scsibus? target ? lun ?	# SCSI scanners
2351.1Stoddpwuk*	at scsibus? target ? lun ?	# SCSI unknown
2361.17Sshiba
2371.17Sshiba# IDE controller and devices
2381.17Sshibawdc*	at obio? flags 0x1000
2391.27Slukematabus* at ata?
2401.26Sbouyerwd*	at atabus? drive ?
2411.1Stoddpw
2421.1Stoddpw
2431.1Stoddpw# Miscellaneous mass storage devices
2441.1Stoddpw
2451.1Stoddpw# IWM floppy disk controller
2461.1Stoddpwiwm0	at obio?			# Sony driver (800K GCR)
2471.1Stoddpwfd*	at iwm? drive ?
2481.1Stoddpw
2491.1Stoddpw
2501.1Stoddpw# Network Interfaces
2511.1Stoddpw
2521.1Stoddpw# On-board Ethernet controllers
2531.1Stoddpwsn*	at obio?			# SONIC-based (DP83932, DP83916)
2541.1Stoddpwmc*	at obio?			# MACE-based
2551.1Stoddpw
2561.1Stoddpw# NuBus Ethernet controllers
2571.1Stoddpwae*	at nubus?			# DP8390-based
2581.1Stoddpwsn*	at nubus?			# SONIC-based (DP83932, DP83916)
2591.1Stoddpwsm*	at nubus?			# SMC 91cxx-based
2601.19Sitojunnetdock*	at nubus?		# Asante NetDock, Newer Ether MicroDock
2611.1Stoddpw
2621.1Stoddpwnsphy*	at mii? phy ?
2631.1Stoddpwukphy*	at mii? phy ?
2641.1Stoddpw
2651.1Stoddpw# Audio Devices
2661.1Stoddpw
2671.1Stoddpw# On-board audio hardware
2681.1Stoddpwasc0	at obio?			# ASC/EASC audio
2691.1Stoddpw
2701.1Stoddpw# Pseudo-Devices
2711.1Stoddpw
2721.1Stoddpw# disk/mass storage pseudo-devices
2731.1Stoddpwpseudo-device	ccd		4	# concatenated/striped disk devices
2741.23Selric#pseudo-device	cgd		4	# cryptographic disk devices
2751.10Soster#pseudo-device	raid		8	# RAIDframe disk driver
2761.1Stoddpw#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2771.10Soster# Options to enable various other RAIDframe RAID types.
2781.10Soster# options	RF_INCLUDE_EVENODD=1
2791.10Soster# options	RF_INCLUDE_RAID5_RS=1
2801.10Soster# options	RF_INCLUDE_PARITYLOGGING=1
2811.10Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2821.10Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2831.10Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2841.10Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2851.1Stoddpwpseudo-device	md		1	# memory disk device (ramdisk)
2861.1Stoddpwpseudo-device	vcoda		1	# Venus/Coda distributed file system
2871.1Stoddpwpseudo-device	vnd		4	# disk-like interface to files
2881.1Stoddpw
2891.1Stoddpw# network pseudo-devices
2901.1Stoddpwpseudo-device	bpfilter	12	# Berkeley packet filter
2911.1Stoddpwpseudo-device	ipfilter		# IP filter (firewall) and NAT
2921.1Stoddpwpseudo-device	loop			# network loopback
2931.1Stoddpwpseudo-device	ppp		2	# Point-to-Point Protocol
2941.9Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2951.1Stoddpwpseudo-device	sl		2	# Serial Line IP
2961.1Stoddpw#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
2971.1Stoddpwpseudo-device	tun		2	# network tunneling over tty
2981.35Scubepseudo-device	tap			# virtual Ethernet
2991.1Stoddpw#pseudo-device	gre		2	# generic L3 over IP tunnel
3001.1Stoddpwpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
3011.1Stoddpw#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
3021.1Stoddpw#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
3031.5Sfredbpseudo-device	vlan			# IEEE 802.1q encapsulation
3041.8Satatatpseudo-device	bridge			# simple inter-network bridging
3051.1Stoddpw
3061.1Stoddpw# miscellaneous pseudo-devices
3071.1Stoddpwpseudo-device	grf		2	# grf emulation for wscons
3081.1Stoddpwpseudo-device	ite		1	# ite emulation for wscons
3091.1Stoddpwpseudo-device	pty			# pseudo-terminals
3101.1Stoddpw#pseudo-device	tb		1	# tablet line discipline
3111.18Slukempseudo-device	clockctl		# user control of clock subsystem
3121.1Stoddpw
3131.1Stoddpw# random number generator pseudo-device
3141.1Stoddpwpseudo-device	rnd			# /dev/random and in-kernel generator
3151.1Stoddpw#options 	RND_COM			# use "com" randomness as well (BROKEN)
316