GENERICSBC revision 1.31
11.31Sbouyer#	$NetBSD: GENERICSBC,v 1.31 2004/06/28 21:07:48 bouyer 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.31Sbouyer#ident 		"GENERICSBC-$Revision: 1.31 $"
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.1Stoddpw
461.1Stoddpw# Diagnostic/debugging support options
471.12Sfredb#options 	DIAGNOSTIC	# cheap kernel consistency checks
481.1Stoddpw#options 	DEBUG		# expensive debugging checks/support
491.1Stoddpwoptions 	KMEMSTATS	# kernel memory statistics (vmstat -m)
501.12Sfredboptions 	DDB			# in-kernel debugger
511.1Stoddpw#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
521.6Slukem#options 	KGDB			# remote debugger
531.6Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
541.6Slukem#options 	KGDB_DEVRATE=38400	# baud rate
551.1Stoddpw#makeoptions	DEBUG="-g"	# compile full symbol table
561.1Stoddpw
571.1Stoddpw# Compatibility options
581.1Stoddpw#options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
591.1Stoddpw#options 	COMPAT_09	# NetBSD 0.9,
601.1Stoddpwoptions 	COMPAT_10	# NetBSD 1.0,
611.1Stoddpwoptions 	COMPAT_11	# NetBSD 1.1,
621.1Stoddpwoptions 	COMPAT_12	# NetBSD 1.2,
631.1Stoddpwoptions 	COMPAT_13	# NetBSD 1.3,
641.1Stoddpwoptions 	COMPAT_14	# NetBSD 1.4,
651.13Sfredboptions 	COMPAT_15	# NetBSD 1.5,
661.25Scloptions 	COMPAT_16	# NetBSD 1.6,
671.1Stoddpwoptions 	COMPAT_43	# and 4.3BSD
681.2Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
691.1Stoddpw
701.12Sfredb# The following is needed to run pre-NetBSD 1.6 binaries under ELF.
711.14Sshibaoptions 	COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
721.14Sshibaoptions 	EXEC_AOUT	# support for exec'ing a.out
731.12Sfredb
741.12Sfredb#options 	COMPAT_LINUX	# compatibility with Linux/m68k binaries
751.12Sfredb#options 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
761.12Sfredb#options 	COMPAT_SUNOS	# compatibility with SunOS 4.x binaries
771.1Stoddpw#options 	COMPAT_SVR4	# compatibility with SVR4 binaries
781.1Stoddpw
791.1Stoddpw# File systems
801.1Stoddpwfile-system 	FFS		# UFS
811.1Stoddpwfile-system 	EXT2FS		# second extended file system (linux)
821.1Stoddpwfile-system 	LFS		# log-structured file system
831.1Stoddpwfile-system 	MFS		# memory file system
841.1Stoddpwfile-system 	NFS		# Network File System client
851.1Stoddpwfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
861.1Stoddpwfile-system 	MSDOSFS		# MS-DOS file system
871.1Stoddpwfile-system 	FDESC		# /dev/fd
881.1Stoddpwfile-system 	KERNFS		# /kern
891.1Stoddpwfile-system 	NULLFS		# loopback file system
901.1Stoddpwfile-system 	OVERLAY		# overlay file system
911.1Stoddpwfile-system 	PORTAL		# portal filesystem (still experimental)
921.1Stoddpwfile-system 	PROCFS		# /proc
931.1Stoddpwfile-system 	UMAPFS		# NULLFS + uid and gid remapping
941.1Stoddpwfile-system 	UNION		# union file system
951.1Stoddpwfile-system 	CODA		# Venus/Coda distributed file system
961.1Stoddpw
971.1Stoddpw# File system options
981.1Stoddpwoptions 	QUOTA		# UFS quotas
991.1Stoddpw#options 	FFS_EI		# FFS Endian Independant support
1001.1Stoddpwoptions 	SOFTDEP		# FFS soft updates support.
1011.1Stoddpwoptions 	NFSSERVER	# Network File System server
1021.1Stoddpw#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1031.1Stoddpw				# immutable) behave as system flags.
1041.1Stoddpw
1051.1Stoddpw# Networking options
1061.1Stoddpwoptions 	GATEWAY		# packet forwarding
1071.1Stoddpwoptions 	INET		# IP + ICMP + TCP + UDP
1081.1Stoddpwoptions 	INET6		# IPV6
1091.1Stoddpw#options 	IPSEC		# IP security
1101.1Stoddpw#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1111.1Stoddpw#options 	IPSEC_DEBUG	# debug for IP security
1121.1Stoddpw#options 	MROUTING	# IP multicast routing
1131.1Stoddpwoptions 	NS		# XNS
1141.1Stoddpw#options 	NSIP		# XNS tunneling over IP
1151.1Stoddpwoptions 	ISO,TPIP	# OSI
1161.1Stoddpw#options 	EON		# OSI tunneling over IP
1171.1Stoddpwoptions 	CCITT,LLC,HDLC	# X.25
1181.1Stoddpwoptions 	NETATALK	# AppleTalk networking protocols
1191.1Stoddpwoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1201.1Stoddpwoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1211.1Stoddpwoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1221.1Stoddpwoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1231.12Sfredboptions 	IPFILTER_LOG	# ipmon(8) log support
1241.22Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1251.2Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1261.1Stoddpw
1271.30Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1281.30Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1291.30Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1301.30Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1311.30Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1321.30Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1331.30Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1341.30Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1351.30Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1361.30Sabs#options 	ALTQ_RED	# Random Early Detection
1371.30Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1381.30Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1391.30Sabs
1401.1Stoddpw# These options enable verbose messages for several subsystems.
1411.1Stoddpw# Warning, these may compile large string tables into the kernel!
1421.1Stoddpwoptions 	SCSIVERBOSE	# human readable SCSI error messages
1431.1Stoddpw
1441.1Stoddpw# wscons options
1451.1Stoddpw#options 	WSEMUL_SUN		# sun terminal emulation
1461.1Stoddpwoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1471.1Stoddpwoptions 	WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
1481.1Stoddpw
1491.1Stoddpw# rcons options; note that 1-bit and 8-bit displays are supported by default.
1501.1Stoddpwoptions 	RCONS_2BPP		# Support for 2-bit display
1511.1Stoddpwoptions 	RCONS_4BPP		# Support for 4-bit display
1521.1Stoddpwoptions 	RCONS_16BPP		# Support for 16-bit display
1531.1Stoddpw
1541.1Stoddpw# Mac-specific options
1551.1Stoddpw#options 	ALTXBUTTONS	# Map Opt-{1,2,3} to mouse buttons
1561.1Stoddpw#options 	DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache
1571.1Stoddpwoptions 	GRF_COMPAT	# Include grf compatibility code
1581.1Stoddpw#options 	MRG_ADB		# Use ROM-based ADB driver
1591.1Stoddpwoptions 	ZS_CONSOLE_ABORT
1601.1Stoddpw
1611.1Stoddpwoptions 	NFS_BOOT_DHCP
1621.1Stoddpw
1631.1Stoddpw# Kernel root file system and dump configuration.
1641.1Stoddpwconfig		netbsd	root on ? type ?
1651.1Stoddpw
1661.1Stoddpw#
1671.1Stoddpw# Device configuration
1681.1Stoddpw#
1691.1Stoddpw
1701.1Stoddpwmainbus0 at root
1711.1Stoddpw
1721.1Stoddpwfpu0 at mainbus?			# Floating-Point Coprocessor support
1731.1Stoddpw
1741.1Stoddpw
1751.1Stoddpw# Basic Bus Support
1761.1Stoddpw
1771.1Stoddpw# On-board I/O bus support
1781.1Stoddpwobio0 at mainbus?
1791.1Stoddpw
1801.1Stoddpw# NuBus support
1811.1Stoddpwnubus0 at mainbus?
1821.1Stoddpw
1831.1Stoddpw
1841.1Stoddpw# Console Devices
1851.1Stoddpw
1861.1Stoddpw# Apple Desktop Bus interface
1871.1Stoddpwadb0	at obio?
1881.1Stoddpwaed*	at adb?				# ADB event device
1891.1Stoddpwakbd*	at adb?				# ADB keyboard
1901.1Stoddpwams*	at adb?				# ADB mouse
1911.1Stoddpw
1921.1Stoddpw# Basic frame buffer support
1931.1Stoddpwintvid0	at obio?			# Internal video hardware
1941.1Stoddpwmacvid*	at nubus?			# NuBus video card
1951.1Stoddpw
1961.1Stoddpw# Device-independent frame buffer interface
1971.1Stoddpwmacfb*	at intvid?
1981.1Stoddpwmacfb*	at macvid?
1991.1Stoddpw
2001.1Stoddpw# Workstation Console devices
2011.1Stoddpwwsdisplay* at macfb? console ?
2021.1Stoddpwwskbd*	at akbd? console ?
2031.1Stoddpwwsmouse* at ams?
2041.1Stoddpw
2051.1Stoddpw
2061.1Stoddpw# Serial Devices
2071.1Stoddpw
2081.1Stoddpw# On-board serial interface
2091.1Stoddpwzsc0	at obio?
2101.1Stoddpwzstty*	at zsc? channel ?
2111.1Stoddpw
2121.1Stoddpw
2131.1Stoddpw# SCSI Controllers and Devices
2141.1Stoddpw
2151.1Stoddpw# SCSI controllers
2161.1Stoddpw# XXX - use only one of ncrscsi or sbc
2171.1Stoddpw#ncrscsi0 at obio?			# SCSI NCR 5380
2181.1Stoddpwsbc0	at obio? flags 0x1		# MI SCSI NCR 5380
2191.1Stoddpwesp0	at obio?			# SCSI NCR 53C9x
2201.1Stoddpwesp1	at obio?			# SCSI NCR 53C9x
2211.1Stoddpw
2221.1Stoddpw# SCSI bus support
2231.1Stoddpwscsibus* at scsi?
2241.1Stoddpw
2251.1Stoddpw# SCSI devices
2261.1Stoddpwsd*	at scsibus? target ? lun ?	# SCSI disk drives
2271.1Stoddpwst*	at scsibus? target ? lun ?	# SCSI tape drives
2281.1Stoddpwcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2291.1Stoddpwch*	at scsibus? target ? lun ?	# SCSI autochangers
2301.1Stoddpwse*	at scsibus? target ? lun ?	# SCSI ethernet
2311.1Stoddpwss*	at scsibus? target ? lun ?	# SCSI scanners
2321.1Stoddpwuk*	at scsibus? target ? lun ?	# SCSI unknown
2331.17Sshiba
2341.17Sshiba# IDE controller and devices
2351.17Sshibawdc*	at obio? flags 0x1000
2361.27Slukematabus* at ata?
2371.26Sbouyerwd*	at atabus? drive ?
2381.1Stoddpw
2391.1Stoddpw
2401.1Stoddpw# Miscellaneous mass storage devices
2411.1Stoddpw
2421.1Stoddpw# IWM floppy disk controller
2431.1Stoddpwiwm0	at obio?			# Sony driver (800K GCR)
2441.1Stoddpwfd*	at iwm? drive ?
2451.1Stoddpw
2461.1Stoddpw
2471.1Stoddpw# Network Interfaces
2481.1Stoddpw
2491.1Stoddpw# On-board Ethernet controllers
2501.1Stoddpwsn*	at obio?			# SONIC-based (DP83932, DP83916)
2511.1Stoddpwmc*	at obio?			# MACE-based
2521.1Stoddpw
2531.1Stoddpw# NuBus Ethernet controllers
2541.1Stoddpwae*	at nubus?			# DP8390-based
2551.1Stoddpwsn*	at nubus?			# SONIC-based (DP83932, DP83916)
2561.1Stoddpwsm*	at nubus?			# SMC 91cxx-based
2571.19Sitojunnetdock*	at nubus?		# Asante NetDock, Newer Ether MicroDock
2581.1Stoddpw
2591.1Stoddpwnsphy*	at mii? phy ?
2601.1Stoddpwukphy*	at mii? phy ?
2611.1Stoddpw
2621.1Stoddpw# Audio Devices
2631.1Stoddpw
2641.1Stoddpw# On-board audio hardware
2651.1Stoddpwasc0	at obio?			# ASC/EASC audio
2661.1Stoddpw
2671.1Stoddpw# Pseudo-Devices
2681.1Stoddpw
2691.1Stoddpw# disk/mass storage pseudo-devices
2701.1Stoddpwpseudo-device	ccd		4	# concatenated/striped disk devices
2711.23Selric#pseudo-device	cgd		4	# cryptographic disk devices
2721.10Soster#pseudo-device	raid		8	# RAIDframe disk driver
2731.1Stoddpw#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2741.10Soster# Options to enable various other RAIDframe RAID types.
2751.10Soster# options	RF_INCLUDE_EVENODD=1
2761.10Soster# options	RF_INCLUDE_RAID5_RS=1
2771.10Soster# options	RF_INCLUDE_PARITYLOGGING=1
2781.10Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2791.10Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2801.10Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2811.10Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2821.1Stoddpwpseudo-device	md		1	# memory disk device (ramdisk)
2831.1Stoddpwpseudo-device	vcoda		1	# Venus/Coda distributed file system
2841.1Stoddpwpseudo-device	vnd		4	# disk-like interface to files
2851.1Stoddpw
2861.1Stoddpw# network pseudo-devices
2871.1Stoddpwpseudo-device	bpfilter	12	# Berkeley packet filter
2881.1Stoddpwpseudo-device	ipfilter		# IP filter (firewall) and NAT
2891.1Stoddpwpseudo-device	loop			# network loopback
2901.1Stoddpwpseudo-device	ppp		2	# Point-to-Point Protocol
2911.9Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2921.1Stoddpwpseudo-device	sl		2	# Serial Line IP
2931.1Stoddpw#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
2941.1Stoddpwpseudo-device	tun		2	# network tunneling over tty
2951.1Stoddpw#pseudo-device	gre		2	# generic L3 over IP tunnel
2961.1Stoddpwpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2971.1Stoddpw#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2981.1Stoddpw#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2991.5Sfredbpseudo-device	vlan			# IEEE 802.1q encapsulation
3001.8Satatatpseudo-device	bridge			# simple inter-network bridging
3011.1Stoddpw
3021.1Stoddpw# miscellaneous pseudo-devices
3031.1Stoddpwpseudo-device	grf		2	# grf emulation for wscons
3041.1Stoddpwpseudo-device	ite		1	# ite emulation for wscons
3051.1Stoddpwpseudo-device	pty			# pseudo-terminals
3061.1Stoddpw#pseudo-device	tb		1	# tablet line discipline
3071.18Slukempseudo-device	clockctl		# user control of clock subsystem
3081.1Stoddpw
3091.1Stoddpw# random number generator pseudo-device
3101.1Stoddpwpseudo-device	rnd			# /dev/random and in-kernel generator
3111.1Stoddpw#options 	RND_COM			# use "com" randomness as well (BROKEN)
312