GENERIC revision 1.6
11.6Ssoren#	$NetBSD: GENERIC,v 1.6 2000/06/01 14:21:44 soren Exp $
21.1Ssoren
31.1Ssoreninclude 	"arch/cobalt/conf/std.cobalt"
41.1Ssoren
51.6Ssoren#ident 		"GENERIC-$Revision: 1.6 $"
61.1Ssoren
71.1Ssorenmaxusers	32
81.1Ssoren
91.1Ssoren# Standard system options
101.1Ssorenoptions 	KTRACE		# system call tracing support
111.1Ssorenoptions 	SYSVMSG		# System V message queues
121.1Ssorenoptions 	SYSVSEM		# System V semaphores
131.1Ssorenoptions 	SYSVSHM		# System V shared memory
141.1Ssoren#options 	SHMMAXPGS=1024	# 1024 pages is the default
151.1Ssorenoptions 	LKM		# loadable kernel modules
161.1Ssoren#options 	NTP		# network time protocol
171.1Ssoren#options 	UCONSOLE	# users can redirect console (unsafe)
181.1Ssoren
191.1Ssoren# Debugging options
201.1Ssorenoptions 	DIAGNOSTIC	# extra kernel sanity checking
211.1Ssoren#options 	DEBUG		# extra kernel debugging support
221.1Ssoren#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)  
231.1Ssorenoptions 	DDB		# kernel dynamic debugger
241.1Ssoren#options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
251.1Ssoren#makeoptions 	DEBUG="-g"	# compile full symbol table
261.1Ssoren
271.1Ssoren# Compatibility options
281.1Ssorenoptions 	COMPAT_43	# compatibility with 4.3BSD binaries
291.1Ssoren#options 	COMPAT_10	# NetBSD 0.9 binary compatibility
301.1Ssoren#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
311.1Ssoren#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
321.1Ssoren#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
331.1Ssoren#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
341.1Ssoren#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
351.1Ssoren#options 	EXEC_ECOFF	# exec ECOFF binaries
361.1Ssoren#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
371.1Ssoren
381.1Ssoren# File systems
391.1Ssorenfile-system	FFS		# Berkeley Fast Filesystem
401.6Ssorenfile-system 	EXT2FS		# second extended file system (linux) 
411.1Ssorenfile-system	NFS		# Sun NFS-compatible filesystem client
421.1Ssorenfile-system	KERNFS		# kernel data-structure filesystem
431.1Ssoren#file-system	NULLFS		# NULL layered filesystem
441.1Ssorenfile-system 	OVERLAY		# overlay file system
451.1Ssorenfile-system	MFS		# memory-based filesystem
461.1Ssorenfile-system	FDESC		# user file descriptor filesystem
471.1Ssoren#file-system	UMAPFS		# uid/gid remapping filesystem
481.1Ssorenfile-system	LFS		# Log-based filesystem (still experimental)
491.1Ssoren#file-system	PORTAL		# portal filesystem (still experimental)
501.1Ssorenfile-system	PROCFS		# /proc
511.1Ssoren#file-system	CD9660		# ISO 9660 + Rock Ridge file system
521.1Ssoren#file-system	UNION		# union file system
531.1Ssoren#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
541.1Ssoren#file-system 	CODA		# Coda File System; also needs vcoda (below)
551.1Ssoren
561.1Ssoren# File system options
571.1Ssorenoptions 	NFSSERVER	# Sun NFS-compatible filesystem server
581.1Ssorenoptions 	QUOTA		# FFS quotas
591.1Ssoren#options 	FFS_EI		# FFS Endian Independant support
601.1Ssoren#options 	SOFTDEP         # FFS soft updates support.
611.1Ssoren#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
621.1Ssoren				# immutable) behave as system flags.
631.1Ssoren
641.1Ssoren# Pull in config fragments for kernel crypto.  This is required for
651.1Ssoren# options IPSEC etc. to work. If you want to run with IPSEC, uncomment
661.1Ssoren# one of these, based on whether you use crypto-us or crypto-intl, and
671.1Ssoren# adjust the prefixes as necessary.
681.1Ssoren
691.1Ssoren#prefix ../crypto-us/sys
701.1Ssoren#cinclude "conf/files.crypto-us"
711.1Ssoren#prefix
721.1Ssoren
731.1Ssoren#prefix ../crypto-intl/sys
741.1Ssoren#cinclude "conf/files.crypto-intl"
751.1Ssoren#prefix
761.1Ssoren
771.1Ssoren# Networking options
781.1Ssoren#options 	GATEWAY		# IP packet forwarding
791.1Ssorenoptions 	INET		# Internet protocols
801.1Ssorenoptions 	INET6		# IPV6
811.1Ssoren#options 	IPSEC		# IP security
821.1Ssoren#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
831.1Ssoren#options 	IPSEC_DEBUG	# debug for IP security
841.1Ssoren#options 	MROUTING	# packet forwarding of multicast packets
851.1Ssoren#options 	NS		# Xerox NS networking
861.1Ssoren#options 	NSIP		# Xerox NS tunneling over IP
871.1Ssoren#options 	ISO,TPIP	# OSI networking
881.1Ssoren#options 	EON		# OSI tunneling over IP
891.1Ssoren#options 	CCITT,LLC,HDLC	# X.25
901.1Ssoren#options 	NETATALK	# AppleTalk (over Ethernet) protocol
911.1Ssoren#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
921.1Ssoren#options 	PPP_DEFLATE	# Deflate compression support for PPP
931.1Ssorenoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
941.1Ssorenoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
951.1Ssorenoptions 	IPFILTER_LOG	# ipmon(8) log support
961.1Ssoren
971.1Ssoren# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
981.1Ssoren#options 	TCP_COMPAT_42
991.1Ssoren
1001.1Ssoren# These options enable verbose messages for several subsystems.
1011.1Ssoren# Warning, these may compile large string tables into the kernel!
1021.1Ssorenoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1031.1Ssoren#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1041.1Ssorenoptions         SCSIVERBOSE     # human readable SCSI error messages
1051.5Saugustss#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1061.1Ssoren
1071.1Ssorenoptions 	NFS_BOOT_DHCP
1081.1Ssoren
1091.1Ssorenconfig		netbsd	root on ? type ?
1101.1Ssoren
1111.1Ssorenmainbus0 	at root
1121.1Ssoren
1131.1Ssorencpu0 		at mainbus?
1141.1Ssoren
1151.1Ssorencom0		at mainbus? addr 0x1c800000 level 3
1161.1Ssorenoptions 	COM16650
1171.1Ssoren
1181.1Ssorengt0 		at mainbus? addr 0x14000000
1191.1Ssoren
1201.1Ssorenpci* 		at gt0
1211.1Ssorenpchb* 		at pci? dev ? function ?
1221.1Ssorenpcib* 		at pci? dev ? function ?
1231.1Ssoren
1241.1Ssoren# PCI serial/parallel interfaces
1251.1Ssorenpuc* 		at pci? dev ? function ? 	# PCI "universal" comm. cards
1261.1Ssorencom* 		at puc? port ?
1271.1Ssoren#lpt* 		at puc? port ?
1281.1Ssoren#cy* 		at pci? dev ? function ?	# Cyclades Cyclom-Y serial cards
1291.1Ssoren
1301.1Ssoren# PCI SCSI controllers
1311.1Ssoren#adv*		at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA]
1321.1Ssoren#adw*		at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
1331.1Ssorenahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
1341.1Ssoren#bha*		at pci? dev ? function ?	# BusLogic 9xx SCSI
1351.1Ssoren#dpt*		at pci? dev ? function ?	# DPT SmartCache/SmartRAID
1361.1Ssoren#isp*		at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FC
1371.4Ssorensiop*		at pci? dev ? function ?	# NCR 53c8xx SCSI
1381.1Ssoren#pcscp*		at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
1391.1Ssoren
1401.1Ssoren# SCSI bus support
1411.1Ssoren#scsibus* 	at adv?
1421.1Ssoren#scsibus* 	at adw?
1431.1Ssorenscsibus* 	at ahc?
1441.1Ssoren#scsibus* 	at bha?
1451.1Ssoren#scsibus* 	at dpt?
1461.1Ssoren#scsibus* 	at isp?
1471.4Ssorenscsibus* 	at siop?
1481.1Ssoren#scsibus* 	at pcscp?
1491.1Ssoren
1501.1Ssoren# SCSI devices
1511.1Ssorensd*		at scsibus? target ? lun ?	# SCSI disk drives
1521.1Ssorenst*		at scsibus? target ? lun ?	# SCSI tape drives
1531.1Ssorencd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
1541.1Ssorench*		at scsibus? target ? lun ?	# SCSI autochangers
1551.1Ssoren#ss*		at scsibus? target ? lun ?	# SCSI scanners
1561.1Ssorenuk*		at scsibus? target ? lun ?	# SCSI unknown
1571.1Ssoren
1581.1Ssoren# RAID controllers and devices
1591.1Ssoren#cac*		at pci? dev ? function ?	# Compaq array controller
1601.1Ssoren#ca*		at cac? unit ?			# Compaq array disk device
1611.1Ssoren
1621.1Ssoren# IDE and related devices
1631.1Ssoren# PCI IDE controllers - see pciide(4) for supported hardware.
1641.1Ssoren# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
1651.1Ssoren# how to set up DMA modes for this chip. This may work, or may cause
1661.1Ssoren# a machine hang with some controllers.
1671.1Ssorenpciide* 	at pci? dev ? function ? flags 0x0000
1681.1Ssoren
1691.1Ssoren# IDE drives
1701.1Ssoren# Flags are used only with controllers that support DMA operations
1711.1Ssoren# and mode settings (e.g. some pciide controllers)
1721.1Ssoren# The lowest order four bits (rightmost digit) of the flags define the PIO
1731.1Ssoren# mode to use, the next set of four bits the DMA mode and the third set the
1741.1Ssoren# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1751.1Ssoren# to use, and the last bit must be 1 for this setting to be used.
1761.1Ssoren# For DMA and UDMA, 0xf (1111) means 'disable'.
1771.1Ssoren# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1781.1Ssoren# (0xc=1100, 0xa=1010, 0xf=1111)
1791.1Ssoren# 0x0000 means "use whatever the drive claims to support".
1801.1Ssorenwd* 		at pciide? channel ? drive ? flags 0x0000
1811.1Ssoren
1821.1Ssoren# PCI network interfaces
1831.1Ssoren#de*		at pci? dev ? function ?	# DEC 21x4x-based Ethernet
1841.1Ssoren#en*		at pci? dev ? function ?	# ENI/Adaptec ATM
1851.1Ssoren#ep*		at pci? dev ? function ?	# 3Com 3c59x
1861.1Ssoren#ex*		at pci? dev ? function ?	# 3Com 90x[B]
1871.1Ssoren#epic*		at pci? dev ? function ?	# SMC EPIC/100 Ethernet
1881.1Ssoren#esh*		at pci? dev ? function ?	# Essential HIPPI card
1891.1Ssoren#fpa*		at pci? dev ? function ?	# DEC DEFPA FDDI
1901.1Ssoren#fxp*		at pci? dev ? function ?	# Intel EtherExpress PRO10+/100B
1911.1Ssoren#le*		at pci? dev ? function ?	# PCnet-PCI Ethernet
1921.1Ssoren#ne*		at pci? dev ? function ?	# NE2000-compatible Ethernet
1931.1Ssoren#ntwoc*		at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
1941.1Ssoren#sip*		at pci? dev ? function ?	# SiS 900 Ethernet
1951.1Ssoren#tl*		at pci? dev ? function ?	# ThunderLAN-based Ethernet
1961.1Ssorentlp*		at pci? dev ? function ?	# DECchip 21x4x (and clones)
1971.1Ssoren#options 	TLP_MATCH_21040
1981.1Ssoren#options 	TLP_MATCH_21041
1991.1Ssoren#options 	TLP_MATCH_21140
2001.1Ssorenoptions 	TLP_MATCH_21142
2011.1Ssoren#vr*		at pci? dev ? function ?	# VIA Rhine Fast Ethernet
2021.1Ssoren#lmc*		at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
2031.3Sgroo#rtk*		at pci? dev ? function ?	# Realtek 8129/8139
2041.1Ssoren
2051.1Ssoren# MII/PHY support
2061.1Ssoren#exphy*		at mii? phy ?			# 3Com internal PHYs
2071.1Ssoren#icsphy*		at mii? phy ?			# ICS1890 PHYs
2081.1Ssoren#inphy*		at mii? phy ?			# Intel 82555 PHYs
2091.1Ssoren#iophy*		at mii? phy ?			# Intel 82553 PHYs
2101.1Ssorenlxtphy*		at mii? phy ?			# Level One LXT-970 PHYs
2111.1Ssoren#nsphy*		at mii? phy ?			# NS83840 PHYs
2121.1Ssoren#nsphyter* 	at mii? phy ?			# NS83843 PHYs
2131.1Ssoren#qsphy*		at mii? phy ?			# Quality Semiconductor QS6612
2141.1Ssoren#sqphy*		at mii? phy ?			# Seeq 80220/80221/80223 PHYs
2151.1Ssoren#tlphy*		at mii? phy ?			# ThunderLAN PHYs
2161.1Ssoren#tqphy*		at mii? phy ?			# TDK Semiconductor PHYs
2171.1Ssoren#ukphy*		at mii? phy ?			# generic unknown PHYs
2181.1Ssoren
2191.1Ssoren# PCI audio devices
2201.1Ssoren#clcs*		at pci? dev ? function ?	# Cirrus Logic CS4280
2211.1Ssoren#eap*		at pci? dev ? function ?	# Ensoniq AudioPCI
2221.1Ssoren#eso*		at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
2231.1Ssoren#fms*		at pci? dev ? function ?	# Forte Media FM801
2241.1Ssoren#sbl*		at pci? dev ? function ?	# SoundBlaster Live!
2251.1Ssoren#sv*		at pci? dev ? function ?	# S3 SonicVibes
2261.1Ssoren
2271.1Ssoren# Pseudo-devices
2281.1Ssoren
2291.1Ssoren# Disk/mass storage pseudo-devices
2301.1Ssorenpseudo-device	ccd		4		# concatenated disk devices
2311.1Ssoren#pseudo-device	raid		4		# RAIDframe disk driver
2321.1Ssoren#options 	RAID_AUTOCONFIG			# auto-configuration of RAID
2331.1Ssorenpseudo-device	md		1		# memory disk device (ramdisk)
2341.1Ssorenpseudo-device	vnd		4		# disk-like interface to files
2351.1Ssoren
2361.1Ssoren# Network pseudo-devices
2371.1Ssorenpseudo-device	bpfilter	8		# Berkeley packet filter
2381.1Ssorenpseudo-device	ipfilter			# IP filter (firewall) and NAT
2391.1Ssorenpseudo-device	loop				# network loopback
2401.1Ssoren#pseudo-device	ppp		2		# Point-to-Point Protocol
2411.1Ssoren#pseudo-device	sl		2		# Serial Line IP
2421.1Ssoren#pseudo-device	strip		2		# Starmode Radio IP (Metricom)
2431.1Ssoren#pseudo-device	tun		2		# network tunneling over tty
2441.1Ssoren#pseudo-device	gre		2		# generic L3 over IP tunnel
2451.1Ssoren#pseudo-device	ipip		2		# RFC 2003 IP Encapsulation
2461.1Ssoren#pseudo-device	gif		4		# RFC1933  tunnel
2471.1Ssoren#pseudo-device	faith		1		# IPv[46] tcp relay translation 
2481.2Sitojun#pseudo-device	stf		1		# 6to4 IPv6 over IPv4 encapsulation
2491.1Ssoren
2501.1Ssoren# Miscellaneous pseudo-devices
2511.1Ssorenpseudo-device	pty		64		# pseudo-terminals
2521.1Ssoren#pseudo-device	tb		1		# tablet line discipline
2531.1Ssoren#pseudo-device	sequencer	1		# MIDI sequencer
2541.1Ssoren# rnd works; RND_COM does not on port i386 yet.
2551.1Ssorenpseudo-device	rnd				# /dev/random & kernel generator
2561.1Ssoren#options 	RND_COM				# use "com" randomness (BROKEN)
2571.1Ssoren
2581.1Ssoren# A pseudo device needed for Coda		# also needs CODA (above)
2591.1Ssoren#pseudo-device	vcoda		4		# coda minicache <-> venus comm.
260