GENERICSBC revision 1.33
11.33Smanu#	$NetBSD: GENERICSBC,v 1.33 2004/09/04 23:29:50 manu 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.33Smanu#ident 		"GENERICSBC-$Revision: 1.33 $"
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.1Stoddpw
801.1Stoddpw# File systems
811.1Stoddpwfile-system 	FFS		# UFS
821.1Stoddpwfile-system 	EXT2FS		# second extended file system (linux)
831.1Stoddpwfile-system 	LFS		# log-structured file system
841.1Stoddpwfile-system 	MFS		# memory file system
851.1Stoddpwfile-system 	NFS		# Network File System client
861.1Stoddpwfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
871.1Stoddpwfile-system 	MSDOSFS		# MS-DOS file system
881.1Stoddpwfile-system 	FDESC		# /dev/fd
891.1Stoddpwfile-system 	KERNFS		# /kern
901.1Stoddpwfile-system 	NULLFS		# loopback file system
911.1Stoddpwfile-system 	OVERLAY		# overlay file system
921.1Stoddpwfile-system 	PORTAL		# portal filesystem (still experimental)
931.1Stoddpwfile-system 	PROCFS		# /proc
941.1Stoddpwfile-system 	UMAPFS		# NULLFS + uid and gid remapping
951.1Stoddpwfile-system 	UNION		# union file system
961.1Stoddpwfile-system 	CODA		# Venus/Coda distributed file system
971.1Stoddpw
981.1Stoddpw# File system options
991.1Stoddpwoptions 	QUOTA		# UFS quotas
1001.1Stoddpw#options 	FFS_EI		# FFS Endian Independant support
1011.1Stoddpwoptions 	SOFTDEP		# FFS soft updates support.
1021.1Stoddpwoptions 	NFSSERVER	# Network File System server
1031.1Stoddpw#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1041.1Stoddpw				# immutable) behave as system flags.
1051.1Stoddpw
1061.1Stoddpw# Networking options
1071.1Stoddpwoptions 	GATEWAY		# packet forwarding
1081.1Stoddpwoptions 	INET		# IP + ICMP + TCP + UDP
1091.1Stoddpwoptions 	INET6		# IPV6
1101.1Stoddpw#options 	IPSEC		# IP security
1111.1Stoddpw#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1121.1Stoddpw#options 	IPSEC_DEBUG	# debug for IP security
1131.1Stoddpw#options 	MROUTING	# IP multicast routing
1141.33Smanu#options 	PIM		# Protocol Independent Multicast
1151.1Stoddpwoptions 	NS		# XNS
1161.1Stoddpw#options 	NSIP		# XNS tunneling over IP
1171.1Stoddpwoptions 	ISO,TPIP	# OSI
1181.1Stoddpw#options 	EON		# OSI tunneling over IP
1191.1Stoddpwoptions 	CCITT,LLC,HDLC	# X.25
1201.1Stoddpwoptions 	NETATALK	# AppleTalk networking protocols
1211.1Stoddpwoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1221.1Stoddpwoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1231.1Stoddpwoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1241.1Stoddpwoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1251.12Sfredboptions 	IPFILTER_LOG	# ipmon(8) log support
1261.22Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1271.2Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1281.1Stoddpw
1291.30Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1301.30Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1311.30Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1321.30Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1331.30Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1341.30Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1351.30Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1361.30Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1371.30Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1381.30Sabs#options 	ALTQ_RED	# Random Early Detection
1391.30Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1401.30Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1411.30Sabs
1421.1Stoddpw# These options enable verbose messages for several subsystems.
1431.1Stoddpw# Warning, these may compile large string tables into the kernel!
1441.1Stoddpwoptions 	SCSIVERBOSE	# human readable SCSI error messages
1451.1Stoddpw
1461.1Stoddpw# wscons options
1471.1Stoddpw#options 	WSEMUL_SUN		# sun terminal emulation
1481.1Stoddpwoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1491.1Stoddpwoptions 	WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
1501.1Stoddpw
1511.1Stoddpw# rcons options; note that 1-bit and 8-bit displays are supported by default.
1521.1Stoddpwoptions 	RCONS_2BPP		# Support for 2-bit display
1531.1Stoddpwoptions 	RCONS_4BPP		# Support for 4-bit display
1541.1Stoddpwoptions 	RCONS_16BPP		# Support for 16-bit display
1551.1Stoddpw
1561.1Stoddpw# Mac-specific options
1571.1Stoddpw#options 	ALTXBUTTONS	# Map Opt-{1,2,3} to mouse buttons
1581.1Stoddpw#options 	DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache
1591.1Stoddpwoptions 	GRF_COMPAT	# Include grf compatibility code
1601.1Stoddpw#options 	MRG_ADB		# Use ROM-based ADB driver
1611.1Stoddpwoptions 	ZS_CONSOLE_ABORT
1621.1Stoddpw
1631.1Stoddpwoptions 	NFS_BOOT_DHCP
1641.1Stoddpw
1651.1Stoddpw# Kernel root file system and dump configuration.
1661.1Stoddpwconfig		netbsd	root on ? type ?
1671.1Stoddpw
1681.1Stoddpw#
1691.1Stoddpw# Device configuration
1701.1Stoddpw#
1711.1Stoddpw
1721.1Stoddpwmainbus0 at root
1731.1Stoddpw
1741.1Stoddpwfpu0 at mainbus?			# Floating-Point Coprocessor support
1751.1Stoddpw
1761.1Stoddpw
1771.1Stoddpw# Basic Bus Support
1781.1Stoddpw
1791.1Stoddpw# On-board I/O bus support
1801.1Stoddpwobio0 at mainbus?
1811.1Stoddpw
1821.1Stoddpw# NuBus support
1831.1Stoddpwnubus0 at mainbus?
1841.1Stoddpw
1851.1Stoddpw
1861.1Stoddpw# Console Devices
1871.1Stoddpw
1881.1Stoddpw# Apple Desktop Bus interface
1891.1Stoddpwadb0	at obio?
1901.1Stoddpwaed*	at adb?				# ADB event device
1911.1Stoddpwakbd*	at adb?				# ADB keyboard
1921.1Stoddpwams*	at adb?				# ADB mouse
1931.1Stoddpw
1941.1Stoddpw# Basic frame buffer support
1951.1Stoddpwintvid0	at obio?			# Internal video hardware
1961.1Stoddpwmacvid*	at nubus?			# NuBus video card
1971.1Stoddpw
1981.1Stoddpw# Device-independent frame buffer interface
1991.1Stoddpwmacfb*	at intvid?
2001.1Stoddpwmacfb*	at macvid?
2011.1Stoddpw
2021.1Stoddpw# Workstation Console devices
2031.1Stoddpwwsdisplay* at macfb? console ?
2041.1Stoddpwwskbd*	at akbd? console ?
2051.1Stoddpwwsmouse* at ams?
2061.1Stoddpw
2071.1Stoddpw
2081.1Stoddpw# Serial Devices
2091.1Stoddpw
2101.1Stoddpw# On-board serial interface
2111.1Stoddpwzsc0	at obio?
2121.1Stoddpwzstty*	at zsc? channel ?
2131.1Stoddpw
2141.1Stoddpw
2151.1Stoddpw# SCSI Controllers and Devices
2161.1Stoddpw
2171.1Stoddpw# SCSI controllers
2181.1Stoddpw# XXX - use only one of ncrscsi or sbc
2191.1Stoddpw#ncrscsi0 at obio?			# SCSI NCR 5380
2201.1Stoddpwsbc0	at obio? flags 0x1		# MI SCSI NCR 5380
2211.1Stoddpwesp0	at obio?			# SCSI NCR 53C9x
2221.1Stoddpwesp1	at obio?			# SCSI NCR 53C9x
2231.1Stoddpw
2241.1Stoddpw# SCSI bus support
2251.1Stoddpwscsibus* at scsi?
2261.1Stoddpw
2271.1Stoddpw# SCSI devices
2281.1Stoddpwsd*	at scsibus? target ? lun ?	# SCSI disk drives
2291.1Stoddpwst*	at scsibus? target ? lun ?	# SCSI tape drives
2301.1Stoddpwcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2311.1Stoddpwch*	at scsibus? target ? lun ?	# SCSI autochangers
2321.1Stoddpwse*	at scsibus? target ? lun ?	# SCSI ethernet
2331.1Stoddpwss*	at scsibus? target ? lun ?	# SCSI scanners
2341.1Stoddpwuk*	at scsibus? target ? lun ?	# SCSI unknown
2351.17Sshiba
2361.17Sshiba# IDE controller and devices
2371.17Sshibawdc*	at obio? flags 0x1000
2381.27Slukematabus* at ata?
2391.26Sbouyerwd*	at atabus? drive ?
2401.1Stoddpw
2411.1Stoddpw
2421.1Stoddpw# Miscellaneous mass storage devices
2431.1Stoddpw
2441.1Stoddpw# IWM floppy disk controller
2451.1Stoddpwiwm0	at obio?			# Sony driver (800K GCR)
2461.1Stoddpwfd*	at iwm? drive ?
2471.1Stoddpw
2481.1Stoddpw
2491.1Stoddpw# Network Interfaces
2501.1Stoddpw
2511.1Stoddpw# On-board Ethernet controllers
2521.1Stoddpwsn*	at obio?			# SONIC-based (DP83932, DP83916)
2531.1Stoddpwmc*	at obio?			# MACE-based
2541.1Stoddpw
2551.1Stoddpw# NuBus Ethernet controllers
2561.1Stoddpwae*	at nubus?			# DP8390-based
2571.1Stoddpwsn*	at nubus?			# SONIC-based (DP83932, DP83916)
2581.1Stoddpwsm*	at nubus?			# SMC 91cxx-based
2591.19Sitojunnetdock*	at nubus?		# Asante NetDock, Newer Ether MicroDock
2601.1Stoddpw
2611.1Stoddpwnsphy*	at mii? phy ?
2621.1Stoddpwukphy*	at mii? phy ?
2631.1Stoddpw
2641.1Stoddpw# Audio Devices
2651.1Stoddpw
2661.1Stoddpw# On-board audio hardware
2671.1Stoddpwasc0	at obio?			# ASC/EASC audio
2681.1Stoddpw
2691.1Stoddpw# Pseudo-Devices
2701.1Stoddpw
2711.1Stoddpw# disk/mass storage pseudo-devices
2721.1Stoddpwpseudo-device	ccd		4	# concatenated/striped disk devices
2731.23Selric#pseudo-device	cgd		4	# cryptographic disk devices
2741.10Soster#pseudo-device	raid		8	# RAIDframe disk driver
2751.1Stoddpw#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2761.10Soster# Options to enable various other RAIDframe RAID types.
2771.10Soster# options	RF_INCLUDE_EVENODD=1
2781.10Soster# options	RF_INCLUDE_RAID5_RS=1
2791.10Soster# options	RF_INCLUDE_PARITYLOGGING=1
2801.10Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2811.10Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2821.10Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2831.10Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2841.1Stoddpwpseudo-device	md		1	# memory disk device (ramdisk)
2851.1Stoddpwpseudo-device	vcoda		1	# Venus/Coda distributed file system
2861.1Stoddpwpseudo-device	vnd		4	# disk-like interface to files
2871.1Stoddpw
2881.1Stoddpw# network pseudo-devices
2891.1Stoddpwpseudo-device	bpfilter	12	# Berkeley packet filter
2901.1Stoddpwpseudo-device	ipfilter		# IP filter (firewall) and NAT
2911.1Stoddpwpseudo-device	loop			# network loopback
2921.1Stoddpwpseudo-device	ppp		2	# Point-to-Point Protocol
2931.9Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2941.1Stoddpwpseudo-device	sl		2	# Serial Line IP
2951.1Stoddpw#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
2961.1Stoddpwpseudo-device	tun		2	# network tunneling over tty
2971.1Stoddpw#pseudo-device	gre		2	# generic L3 over IP tunnel
2981.1Stoddpwpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2991.1Stoddpw#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
3001.1Stoddpw#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
3011.5Sfredbpseudo-device	vlan			# IEEE 802.1q encapsulation
3021.8Satatatpseudo-device	bridge			# simple inter-network bridging
3031.1Stoddpw
3041.1Stoddpw# miscellaneous pseudo-devices
3051.1Stoddpwpseudo-device	grf		2	# grf emulation for wscons
3061.1Stoddpwpseudo-device	ite		1	# ite emulation for wscons
3071.1Stoddpwpseudo-device	pty			# pseudo-terminals
3081.1Stoddpw#pseudo-device	tb		1	# tablet line discipline
3091.18Slukempseudo-device	clockctl		# user control of clock subsystem
3101.1Stoddpw
3111.1Stoddpw# random number generator pseudo-device
3121.1Stoddpwpseudo-device	rnd			# /dev/random and in-kernel generator
3131.1Stoddpw#options 	RND_COM			# use "com" randomness as well (BROKEN)
314