GENERIC revision 1.66
11.66Srumble# $NetBSD: GENERIC,v 1.66 2005/01/28 03:19:49 rumble Exp $
21.23Sgmcgarry#
31.23Sgmcgarry# GENERIC machine description file
41.23Sgmcgarry# 
51.23Sgmcgarry# This machine description file is used to generate the default NetBSD
61.23Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.23Sgmcgarry# and device drivers, but should be useful for most applications.
81.23Sgmcgarry#
91.23Sgmcgarry# The machine description file can be customised for your specific
101.23Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.23Sgmcgarry#
121.23Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.23Sgmcgarry# man page.
141.23Sgmcgarry#
151.23Sgmcgarry# For further information on hardware support for this architecture, see
161.23Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.23Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.23Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.23Sgmcgarry# device.
201.1Ssoren
211.1Ssoreninclude 	"arch/cobalt/conf/std.cobalt"
221.1Ssoren
231.31Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.31Satatat
251.66Srumble#ident 		"GENERIC-$Revision: 1.66 $"
261.1Ssoren
271.1Ssorenmaxusers	32
281.1Ssoren
291.1Ssoren# Standard system options
301.1Ssorenoptions 	KTRACE		# system call tracing support
311.36Sprovosoptions 	SYSTRACE	# system call vetting via systrace(1)
321.1Ssorenoptions 	SYSVMSG		# System V message queues
331.1Ssorenoptions 	SYSVSEM		# System V semaphores
341.21Slukem#options 	SEMMNI=10	# number of semaphore identifiers
351.21Slukem#options 	SEMMNS=60	# number of semaphores in system
361.21Slukem#options 	SEMUME=10	# max number of undo entries per process
371.21Slukem#options 	SEMMNU=30	# number of undo structures in system
381.1Ssorenoptions 	SYSVSHM		# System V shared memory
391.1Ssoren#options 	SHMMAXPGS=1024	# 1024 pages is the default
401.60Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
411.15Ssoren#options 	LKM		# loadable kernel modules
421.1Ssoren#options 	NTP		# network time protocol
431.33Slukemoptions 	USERCONF	# userconf(4) support
441.26Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
451.61Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
461.38Sjunyoung
471.39Swiz# Enable experimental buffer queue strategy for better responsiveness under 
481.38Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
491.38Sjunyoung#options 	NEW_BUFQ_STRATEGY
501.1Ssoren
511.1Ssoren# Debugging options
521.1Ssorenoptions 	DIAGNOSTIC	# extra kernel sanity checking
531.1Ssoren#options 	DEBUG		# extra kernel debugging support
541.21Slukem#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
551.1Ssorenoptions 	DDB		# kernel dynamic debugger
561.1Ssoren#options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
571.21Slukem#makeoptions	DEBUG="-g"	# compile full symbol table
581.1Ssoren
591.1Ssoren# Compatibility options
601.1Ssorenoptions 	COMPAT_43	# compatibility with 4.3BSD binaries
611.45Stsutsui#options 	COMPAT_09	# NetBSD 0.9 binary compatibility
621.1Ssoren#options 	COMPAT_10	# NetBSD 1.0 binary compatibility
631.1Ssoren#options 	COMPAT_11	# NetBSD 1.1 binary compatibility
641.1Ssoren#options 	COMPAT_12	# NetBSD 1.2 binary compatibility
651.1Ssoren#options 	COMPAT_13	# NetBSD 1.3 binary compatibility
661.1Ssoren#options 	COMPAT_14	# NetBSD 1.4 binary compatibility
671.48Stsutsuioptions 	COMPAT_16	# NetBSD 1.6 binary compatibility
681.1Ssoren#options 	EXEC_ECOFF	# exec ECOFF binaries
691.1Ssoren#options 	COMPAT_ULTRIX	# binary compatibility with Ultrix
701.17Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
711.63Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
721.1Ssoren
731.1Ssoren# File systems
741.1Ssorenfile-system	FFS		# Berkeley Fast Filesystem
751.21Slukemfile-system 	EXT2FS		# second extended file system (linux)
761.1Ssorenfile-system	NFS		# Sun NFS-compatible filesystem client
771.7Ssoren#file-system	KERNFS		# kernel data-structure filesystem
781.1Ssoren#file-system	NULLFS		# NULL layered filesystem
791.7Ssoren#file-system 	OVERLAY		# overlay file system
801.1Ssorenfile-system	MFS		# memory-based filesystem
811.1Ssorenfile-system	FDESC		# user file descriptor filesystem
821.1Ssoren#file-system	UMAPFS		# uid/gid remapping filesystem
831.7Ssoren#file-system	LFS		# Log-based filesystem (still experimental)
841.1Ssoren#file-system	PORTAL		# portal filesystem (still experimental)
851.7Ssoren#file-system	PROCFS		# /proc
861.1Ssoren#file-system	CD9660		# ISO 9660 + Rock Ridge file system
871.1Ssoren#file-system	UNION		# union file system
881.1Ssoren#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
891.1Ssoren#file-system 	CODA		# Coda File System; also needs vcoda (below)
901.1Ssoren
911.1Ssoren# File system options
921.1Ssorenoptions 	NFSSERVER	# Sun NFS-compatible filesystem server
931.1Ssorenoptions 	QUOTA		# FFS quotas
941.1Ssoren#options 	FFS_EI		# FFS Endian Independant support
951.21Slukemoptions 	SOFTDEP		# FFS soft updates support.
961.66Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
971.1Ssoren#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
981.1Ssoren				# immutable) behave as system flags.
991.1Ssoren
1001.1Ssoren# Networking options
1011.1Ssoren#options 	GATEWAY		# IP packet forwarding
1021.1Ssorenoptions 	INET		# Internet protocols
1031.7Ssoren#options 	INET6		# IPV6
1041.1Ssoren#options 	IPSEC		# IP security
1051.1Ssoren#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1061.1Ssoren#options 	IPSEC_DEBUG	# debug for IP security
1071.1Ssoren#options 	MROUTING	# packet forwarding of multicast packets
1081.62Smanu#options 	PIM		# Protocol Independent Multicast
1091.1Ssoren#options 	NS		# Xerox NS networking
1101.1Ssoren#options 	NSIP		# Xerox NS tunneling over IP
1111.1Ssoren#options 	ISO,TPIP	# OSI networking
1121.1Ssoren#options 	EON		# OSI tunneling over IP
1131.1Ssoren#options 	CCITT,LLC,HDLC	# X.25
1141.1Ssoren#options 	NETATALK	# AppleTalk (over Ethernet) protocol
1151.1Ssoren#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1161.1Ssoren#options 	PPP_DEFLATE	# Deflate compression support for PPP
1171.10Ssoren#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1181.10Ssoren#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1191.10Ssoren#options 	IPFILTER_LOG	# ipmon(8) log support
1201.35Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1211.17Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1221.1Ssoren
1231.59Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1241.59Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1251.59Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1261.59Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1271.59Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1281.59Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1291.59Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1301.59Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1311.59Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1321.59Sabs#options 	ALTQ_RED	# Random Early Detection
1331.59Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1341.59Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1351.59Sabs
1361.1Ssoren# These options enable verbose messages for several subsystems.
1371.1Ssoren# Warning, these may compile large string tables into the kernel!
1381.1Ssorenoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1391.1Ssoren#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1401.21Slukemoptions 	SCSIVERBOSE	# human readable SCSI error messages
1411.5Saugustss#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1421.1Ssoren
1431.1Ssorenoptions 	NFS_BOOT_DHCP
1441.1Ssoren
1451.1Ssorenconfig		netbsd	root on ? type ?
1461.1Ssoren
1471.1Ssorenmainbus0 	at root
1481.1Ssoren
1491.1Ssorencpu0 		at mainbus?
1501.1Ssoren
1511.1Ssorencom0		at mainbus? addr 0x1c800000 level 3
1521.55Sthorpejoptions 	COM_16650
1531.1Ssoren
1541.40Ssorenpanel0 		at mainbus? addr 0x1f000000
1551.40Ssoren
1561.1Ssorengt0 		at mainbus? addr 0x14000000
1571.1Ssoren
1581.1Ssorenpci* 		at gt0
1591.1Ssorenpchb* 		at pci? dev ? function ?
1601.1Ssorenpcib* 		at pci? dev ? function ?
1611.1Ssoren
1621.54Sjonathan# Cryptographic Devices
1631.54Sjonathan
1641.54Sjonathan# PCI cryptographic devices
1651.54Sjonathanhifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
1661.54Sjonathanubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
1671.54Sjonathan
1681.1Ssoren# PCI serial/parallel interfaces
1691.10Ssoren#puc* 		at pci? dev ? function ? 	# PCI "universal" comm. cards
1701.10Ssoren#com* 		at puc? port ?
1711.1Ssoren#lpt* 		at puc? port ?
1721.1Ssoren#cy* 		at pci? dev ? function ?	# Cyclades Cyclom-Y serial cards
1731.1Ssoren
1741.1Ssoren# PCI SCSI controllers
1751.1Ssoren#adv*		at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA]
1761.1Ssoren#adw*		at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
1771.1Ssorenahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
1781.1Ssoren#bha*		at pci? dev ? function ?	# BusLogic 9xx SCSI
1791.1Ssoren#dpt*		at pci? dev ? function ?	# DPT SmartCache/SmartRAID
1801.1Ssoren#isp*		at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FC
1811.4Ssorensiop*		at pci? dev ? function ?	# NCR 53c8xx SCSI
1821.44Sbouyeresiop*		at pci? dev ? function ?	# NCR 53c82s75xx SCSI and newer
1831.1Ssoren#pcscp*		at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
1841.1Ssoren
1851.1Ssoren# SCSI bus support
1861.1Ssoren#scsibus* 	at adv?
1871.1Ssoren#scsibus* 	at adw?
1881.1Ssorenscsibus* 	at ahc?
1891.1Ssoren#scsibus* 	at bha?
1901.1Ssoren#scsibus* 	at dpt?
1911.1Ssoren#scsibus* 	at isp?
1921.4Ssorenscsibus* 	at siop?
1931.44Sbouyerscsibus* 	at esiop?
1941.1Ssoren#scsibus* 	at pcscp?
1951.1Ssoren
1961.1Ssoren# SCSI devices
1971.1Ssorensd*		at scsibus? target ? lun ?	# SCSI disk drives
1981.1Ssorenst*		at scsibus? target ? lun ?	# SCSI tape drives
1991.7Ssoren#cd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
2001.7Ssoren#ch*		at scsibus? target ? lun ?	# SCSI autochangers
2011.1Ssoren#ss*		at scsibus? target ? lun ?	# SCSI scanners
2021.10Ssoren#uk*		at scsibus? target ? lun ?	# SCSI unknown
2031.1Ssoren
2041.1Ssoren# RAID controllers and devices
2051.1Ssoren#cac*		at pci? dev ? function ?	# Compaq array controller
2061.1Ssoren#ca*		at cac? unit ?			# Compaq array disk device
2071.1Ssoren
2081.1Ssoren# IDE and related devices
2091.1Ssoren# PCI IDE controllers - see pciide(4) for supported hardware.
2101.1Ssoren# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
2111.1Ssoren# how to set up DMA modes for this chip. This may work, or may cause
2121.1Ssoren# a machine hang with some controllers.
2131.47Sbouyerpciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
2141.47Sbouyeracardide*	at pci? dev ? function ?	# Acard IDE controllers
2151.47Sbouyeraceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
2161.53Sthorpejartsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
2171.47Sbouyercmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
2181.47Sbouyercypide* 	at pci? dev ? function ?	# Cypress IDE controllers
2191.47Sbouyerhptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
2201.47Sbouyeroptiide* 	at pci? dev ? function ?	# Opti IDE controllers
2211.50Stsutsui#piixide* 	at pci? dev ? function ?	# Intel IDE controllers
2221.47Sbouyerpdcide* 	at pci? dev ? function ?	# Promise IDE controllers
2231.64Sbouyerpdcsata* 	at pci? dev ? function ?	# Promise SATA150 controllers
2241.52Sthorpejsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
2251.47Sbouyersiside* 	at pci? dev ? function ?	# SiS IDE controllers
2261.47Sbouyerslide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
2271.47Sbouyerviaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
2281.47Sbouyer
2291.47Sbouyer# ATA bus
2301.50Stsutsuiatabus* 	at ata?
2311.46Sbouyer
2321.1Ssoren# IDE drives
2331.1Ssoren# Flags are used only with controllers that support DMA operations
2341.1Ssoren# and mode settings (e.g. some pciide controllers)
2351.1Ssoren# The lowest order four bits (rightmost digit) of the flags define the PIO
2361.1Ssoren# mode to use, the next set of four bits the DMA mode and the third set the
2371.1Ssoren# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
2381.1Ssoren# to use, and the last bit must be 1 for this setting to be used.
2391.1Ssoren# For DMA and UDMA, 0xf (1111) means 'disable'.
2401.1Ssoren# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
2411.1Ssoren# (0xc=1100, 0xa=1010, 0xf=1111)
2421.1Ssoren# 0x0000 means "use whatever the drive claims to support".
2431.46Sbouyerwd* 		at atabus? drive ? flags 0x0000
2441.1Ssoren
2451.1Ssoren# PCI network interfaces
2461.1Ssoren#en*		at pci? dev ? function ?	# ENI/Adaptec ATM
2471.1Ssoren#ep*		at pci? dev ? function ?	# 3Com 3c59x
2481.18Shubertf#ex*		at pci? dev ? function ?	# 3Com 90x[BC]
2491.1Ssoren#epic*		at pci? dev ? function ?	# SMC EPIC/100 Ethernet
2501.1Ssoren#esh*		at pci? dev ? function ?	# Essential HIPPI card
2511.1Ssoren#fpa*		at pci? dev ? function ?	# DEC DEFPA FDDI
2521.1Ssoren#fxp*		at pci? dev ? function ?	# Intel EtherExpress PRO10+/100B
2531.1Ssoren#le*		at pci? dev ? function ?	# PCnet-PCI Ethernet
2541.1Ssoren#ne*		at pci? dev ? function ?	# NE2000-compatible Ethernet
2551.1Ssoren#ntwoc*		at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
2561.1Ssoren#sip*		at pci? dev ? function ?	# SiS 900 Ethernet
2571.1Ssoren#tl*		at pci? dev ? function ?	# ThunderLAN-based Ethernet
2581.30Smycrofttlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
2591.1Ssoren#vr*		at pci? dev ? function ?	# VIA Rhine Fast Ethernet
2601.1Ssoren#lmc*		at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
2611.3Sgroo#rtk*		at pci? dev ? function ?	# Realtek 8129/8139
2621.1Ssoren
2631.1Ssoren# MII/PHY support
2641.1Ssoren#exphy*		at mii? phy ?			# 3Com internal PHYs
2651.27Swiz#icsphy*		at mii? phy ?			# ICS189x PHYs
2661.1Ssoren#inphy*		at mii? phy ?			# Intel 82555 PHYs
2671.1Ssoren#iophy*		at mii? phy ?			# Intel 82553 PHYs
2681.1Ssorenlxtphy*		at mii? phy ?			# Level One LXT-970 PHYs
2691.1Ssoren#nsphy*		at mii? phy ?			# NS83840 PHYs
2701.1Ssoren#nsphyter* 	at mii? phy ?			# NS83843 PHYs
2711.1Ssoren#qsphy*		at mii? phy ?			# Quality Semiconductor QS6612
2721.1Ssoren#sqphy*		at mii? phy ?			# Seeq 80220/80221/80223 PHYs
2731.1Ssoren#tlphy*		at mii? phy ?			# ThunderLAN PHYs
2741.1Ssoren#tqphy*		at mii? phy ?			# TDK Semiconductor PHYs
2751.1Ssoren#ukphy*		at mii? phy ?			# generic unknown PHYs
2761.1Ssoren
2771.1Ssoren# PCI audio devices
2781.1Ssoren#clcs*		at pci? dev ? function ?	# Cirrus Logic CS4280
2791.1Ssoren#eap*		at pci? dev ? function ?	# Ensoniq AudioPCI
2801.1Ssoren#eso*		at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
2811.1Ssoren#fms*		at pci? dev ? function ?	# Forte Media FM801
2821.1Ssoren#sbl*		at pci? dev ? function ?	# SoundBlaster Live!
2831.1Ssoren#sv*		at pci? dev ? function ?	# S3 SonicVibes
2841.1Ssoren
2851.1Ssoren# Pseudo-devices
2861.1Ssoren
2871.54Sjonathanpseudo-device 	crypto				# opencrypto framework
2881.54Sjonathan
2891.1Ssoren# Disk/mass storage pseudo-devices
2901.7Ssoren#pseudo-device	ccd		4		# concatenated disk devices
2911.37Selric#pseudo-device	cgd		4		# cryptographic disk devices
2921.25Sosterpseudo-device	raid		8		# RAIDframe disk driver
2931.25Sosteroptions 	RAID_AUTOCONFIG			# auto-configuration of RAID
2941.25Soster# Options to enable various other RAIDframe RAID types.
2951.25Soster# options	RF_INCLUDE_EVENODD=1
2961.25Soster# options	RF_INCLUDE_RAID5_RS=1
2971.25Soster# options	RF_INCLUDE_PARITYLOGGING=1
2981.25Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2991.25Soster# options	RF_INCLUDE_INTERDECLUSTER=1
3001.25Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3011.25Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3021.7Ssoren#pseudo-device	md		1		# memory disk device (ramdisk)
3031.7Ssoren#pseudo-device	vnd		4		# disk-like interface to files
3041.1Ssoren
3051.1Ssoren# Network pseudo-devices
3061.1Ssorenpseudo-device	bpfilter	8		# Berkeley packet filter
3071.10Ssoren#pseudo-device	ipfilter			# IP filter (firewall) and NAT
3081.1Ssorenpseudo-device	loop				# network loopback
3091.1Ssoren#pseudo-device	ppp		2		# Point-to-Point Protocol
3101.24Smartin#pseudo-device	pppoe				# PPP over Ethernet (RFC 2516)
3111.1Ssoren#pseudo-device	sl		2		# Serial Line IP
3121.1Ssoren#pseudo-device	strip		2		# Starmode Radio IP (Metricom)
3131.1Ssoren#pseudo-device	tun		2		# network tunneling over tty
3141.65Scube#pseudo-device	tap				# virtual Ethernet
3151.1Ssoren#pseudo-device	gre		2		# generic L3 over IP tunnel
3161.21Slukem#pseudo-device	gif		4		# RFC1933 tunnel
3171.21Slukem#pseudo-device	faith		1		# IPv[46] tcp relay translation
3181.2Sitojun#pseudo-device	stf		1		# 6to4 IPv6 over IPv4 encapsulation
3191.14Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
3201.22Satatatpseudo-device	bridge			# simple inter-network bridging
3211.41Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3221.1Ssoren
3231.1Ssoren# Miscellaneous pseudo-devices
3241.13Sjdolecekpseudo-device	pty				# pseudo-terminals
3251.1Ssoren#pseudo-device	tb		1		# tablet line discipline
3261.1Ssoren#pseudo-device	sequencer	1		# MIDI sequencer
3271.1Ssorenpseudo-device	rnd				# /dev/random & kernel generator
3281.1Ssoren#options 	RND_COM				# use "com" randomness (BROKEN)
3291.32Slukempseudo-device	clockctl		# user control of clock subsystem
3301.49Scdipseudo-device	nullcons			# no-op console
3311.1Ssoren
3321.1Ssoren# A pseudo device needed for Coda		# also needs CODA (above)
3331.1Ssoren#pseudo-device	vcoda		4		# coda minicache <-> venus comm.
3341.43Sraggepseudo-device	ksyms				# /dev/ksyms
3351.58Sitojun#pseudo-device	pf			# PF packet filter
3361.58Sitojun#pseudo-device	pflog			# PF log if
337