GENERIC revision 1.78
11.78Schristos# $NetBSD: GENERIC,v 1.78 2013/04/27 21:43:39 christos Exp $
21.37Sgarbled#
31.48Sphx# machine description file for GENERIC NAS
41.37Sgarbled# 
51.37Sgarbled# This machine description file is used to generate the default NetBSD
61.37Sgarbled# kernel.  The generic kernel does not include all options, subsystems
71.37Sgarbled# and device drivers, but should be useful for most applications.
81.37Sgarbled#
91.37Sgarbled# The machine description file can be customised for your specific
101.37Sgarbled# machine to reduce the kernel size and improve its performance.
111.37Sgarbled#
121.37Sgarbled# For further information on compiling NetBSD kernels, see the config(8)
131.37Sgarbled# man page.
141.37Sgarbled#
151.37Sgarbled# For further information on hardware support for this architecture, see
161.37Sgarbled# the intro(4) man page.  For further information about kernel options
171.37Sgarbled# for this architecture, see the options(4) man page.  For an explanation
181.37Sgarbled# of each device driver in this file see the section 4 man page for the
191.37Sgarbled# device.
201.37Sgarbled
211.37Sgarbledinclude 	"arch/sandpoint/conf/std.sandpoint"
221.37Sgarbled
231.37Sgarbledoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.37Sgarbled
251.78Schristos#ident 		"GENERIC-$Revision: 1.78 $"
261.37Sgarbled
271.37Sgarbledmaxusers	32
281.37Sgarbled
291.48Sphx#options 	ALTIVEC		# Include AltiVec support
301.37Sgarbled
311.67Sphx# Standard system options
321.67Sphx#options 	INSECURE	# disable kernel security levels
331.67Sphx
341.67Sphxoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
351.67Sphxoptions 	KTRACE
361.67Sphx
371.67Sphx#options 	SYSVMSG		# System V message queues
381.67Sphx#options 	SYSVSEM		# System V semaphores
391.67Sphx#options 	SYSVSHM		# System V shared memory
401.67Sphx
411.67Sphx#options 	MODULAR		# module(7) support
421.67Sphx#options 	USERCONF	# userconf(4) support
431.37Sgarbled
441.67Sphx#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
451.67Sphxoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
461.51Snisimura
471.67Sphx# Enable experimental buffer queue strategy for better responsiveness under
481.67Sphx# high disk I/O load. Use it with caution - it's not proven to be stable yet.
491.67Sphx#options 	BUFQ_READPRIO
501.67Sphx#options 	BUFQ_PRIOCSCAN
511.67Sphx
521.67Sphx# Diagnostic/debugging support options
531.67Sphx#options 	DIAGNOSTIC	# cheap kernel consistency checks
541.67Sphx#options 	DEBUG		# expensive debugging checks/support
551.37Sgarbledoptions 	DDB
561.37Sgarbled#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
571.67Sphx#options 	TRAP_PANICWAIT
581.37Sgarbled#options 	PMAPCHECK
591.37Sgarbled#options 	PMAPDEBUG
601.67Sphxoptions 	MSGBUFSIZE=65536
611.67Sphx
621.67Sphx#makeoptions	DEBUG="-g"
631.37Sgarbled
641.37Sgarbled# Compatibility options
651.37Sgarbledoptions 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
661.37Sgarbledoptions 	COMPAT_09	# NetBSD 0.9
671.37Sgarbledoptions 	COMPAT_10	# NetBSD 1.0
681.37Sgarbledoptions 	COMPAT_11	# NetBSD 1.1
691.37Sgarbledoptions 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
701.37Sgarbledoptions 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
711.37Sgarbledoptions 	COMPAT_14	# NetBSD 1.4
721.37Sgarbledoptions 	COMPAT_15	# NetBSD 1.5
731.37Sgarbledoptions 	COMPAT_16	# NetBSD 1.6
741.37Sgarbledoptions 	COMPAT_20	# NetBSD 2.0
751.37Sgarbledoptions 	COMPAT_30	# NetBSD 3.0
761.39Snisimuraoptions 	COMPAT_40	# NetBSD 4.0
771.43Smrgoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
781.74Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
791.37Sgarbledoptions 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
801.37Sgarbled#options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
811.67Sphx#options 	COMPAT_LINUX	# binary compatibility with Linux
821.37Sgarbled#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
831.52Sphxoptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
841.37Sgarbled
851.67Sphx# Wedge support
861.67Sphx#options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
871.67Sphx#options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
881.67Sphx# The following two options can break /etc/fstab, so handle with care
891.67Sphx#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
901.67Sphx#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
911.37Sgarbled
921.67Sphx# File systems
931.37Sgarbledfile-system 	FFS		# UFS
941.37Sgarbledfile-system 	EXT2FS		# second extended file system (linux)
951.37Sgarbled#file-system 	LFS		# log-structured file system
961.37Sgarbledfile-system 	MFS		# memory file system
971.37Sgarbledfile-system 	NFS		# Network File System client
981.37Sgarbled#file-system 	NTFS		# Windows/NT file system (experimental)
991.69Sphxfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
1001.48Sphxfile-system 	MSDOSFS		# MS-DOS file system
1011.37Sgarbledfile-system 	FDESC		# /dev/fd
1021.37Sgarbledfile-system 	KERNFS		# /kern
1031.37Sgarbledfile-system 	NULLFS		# loopback file system
1041.37Sgarbled#file-system 	OVERLAY		# overlay file system
1051.48Sphxfile-system 	PROCFS		# /proc
1061.37Sgarbled#file-system 	UMAPFS		# NULLFS + uid and gid remapping
1071.37Sgarbled#file-system 	UNION		# union file system
1081.37Sgarbled#file-system	CODA		# Coda File System; also needs vcoda (below)
1091.37Sgarbled#file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
1101.37Sgarbledfile-system	PTYFS		# /dev/ptm support
1111.37Sgarbledfile-system	TMPFS		# Efficient memory file-system
1121.37Sgarbled
1131.37Sgarbled# File system options
1141.55Sbouyeroptions 	QUOTA		# legacy UFS quotas
1151.55Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1161.37Sgarbled#options 	FFS_EI		# FFS Endian Independent support
1171.63Sdhollandoptions 	WAPBL		# File system journaling support
1181.37Sgarbledoptions 	NFSSERVER	# Network File System server
1191.37Sgarbled#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1201.37Sgarbled#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1211.37Sgarbled
1221.67Sphx#options 	NFS_BOOT_DHCP
1231.67Sphxoptions 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
1241.67Sphx
1251.57Sphx# Networking options
1261.57Sphx#options 	GATEWAY		# packet forwarding
1271.57Sphxoptions 	INET		# IP + ICMP + TCP + UDP
1281.52Sphxoptions 	INET6		# IPV6
1291.57Sphx#options 	IPSEC		# IP security
1301.57Sphx#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1311.57Sphx#options 	IPSEC_DEBUG	# debug for IP security
1321.57Sphx#options 	MROUTING	# IP multicast routing
1331.57Sphx#options 	PIM		# Protocol Independent Multicast
1341.57Sphx#options 	NETATALK	# AppleTalk networking protocols
1351.57Sphx#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1361.57Sphx#options 	PPP_DEFLATE	# Deflate compression support for PPP
1371.57Sphx#options 	PPP_FILTER	# Active filter support for PPP (requires BPF)
1381.57Sphx#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1391.57Sphx#options 	IPFILTER_LOG	# ipmon(8) log support
1401.57Sphx#options 	IPFILTER_LOOKUP	# ippool(8) support
1411.57Sphx#options 	IPFILTER_COMPAT # Compat for IP-Filter
1421.57Sphx#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1431.37Sgarbled#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1441.37Sgarbled
1451.37Sgarbled#options 	ALTQ		# Manipulate network interfaces' output queues
1461.37Sgarbled#options 	ALTQ_BLUE	# Stochastic Fair Blue
1471.37Sgarbled#options 	ALTQ_CBQ	# Class-Based Queueing
1481.37Sgarbled#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1491.37Sgarbled#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1501.37Sgarbled#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1511.37Sgarbled#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1521.37Sgarbled#options 	ALTQ_LOCALQ	# Local queueing discipline
1531.37Sgarbled#options 	ALTQ_PRIQ	# Priority Queueing
1541.37Sgarbled#options 	ALTQ_RED	# Random Early Detection
1551.37Sgarbled#options 	ALTQ_RIO	# RED with IN/OUT
1561.37Sgarbled#options 	ALTQ_WFQ	# Weighted Fair Queueing
1571.37Sgarbled
1581.67Sphx# These options enable verbose messages for several subsystems.
1591.67Sphx# Warning, these may compile large string tables into the kernel!
1601.67Sphx#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1611.67Sphx#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1621.67Sphx#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1631.67Sphx#options 	SCSIVERBOSE	# human readable SCSI error messages
1641.67Sphx#options 	USBVERBOSE	# verbose USB device autoconfig messages
1651.37Sgarbled
1661.67Sphx# Kernel root file system and dump configuration
1671.37Sgarbledconfig		netbsd	root on ? type ?
1681.37Sgarbled
1691.37Sgarbled#
1701.67Sphx# Device configuration
1711.37Sgarbled#
1721.56Sphxmainbus0	at root
1731.56Sphxcpu*		at mainbus0
1741.62Sphx
1751.65Sphx#cfi0		at mainbus0
1761.65Sphx#nor*		at cfi?
1771.65Sphx#flash*		at nor?
1781.62Sphx
1791.66Sphxnhpow0		at mainbus0			# NH230/231 power,LED,buttons
1801.66Sphx
1811.67Sphx#options 	PCI_NETBSD_CONFIGURE
1821.56Sphxpci*		at mainbus0 bus ?
1831.56Sphxpchb*		at pci? dev ? function ?	# PCI host bridge
1841.37Sgarbled
1851.56Sphxeumb*		at mainbus0
1861.56Sphxcom0		at eumb? unit 0			# console at 0x4500
1871.56Sphx#com1		at eumb? unit 1
1881.56Sphxsatmgr0 	at eumb? unit 1 		# satmgr at 0x4600
1891.56Sphxociic*		at eumb?
1901.56Sphxiic*		at ociic?
1911.56Sphxrs5c372rtc*	at iic? addr 0x32
1921.58Sphxs390rtc*	at iic? addr 0x30
1931.65Sphxpcf8563rtc*	at iic? addr 0x51
1941.65Sphxdsrtc*		at iic? addr 0x68
1951.59Sphxstrtc*		at iic? addr 0x68
1961.59Sphxoptions 	STRTC_NO_WATCHDOG
1971.59Sphxoptions 	STRTC_NO_USERRAM
1981.37Sgarbled
1991.37Sgarbled# PCI IDE controllers - see pciide(4) for supported hardware.
2001.56Sphxacardide*	at pci? dev ? function ?	# Acard IDE controllers
2011.52Sphxcmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
2021.52Sphxiteide* 	at pci? dev ? function ?	# IT Express IDE controllers
2031.37Sgarbledsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
2041.68Sphxviaide* 	at pci? dev ? function ?	# VIA IDE controllers
2051.37Sgarbled
2061.37Sgarbled# ATA (IDE) bus support
2071.37Sgarbledatabus* at ata?
2081.37Sgarbled
2091.37Sgarbled# IDE drives
2101.37Sgarbledwd*		at atabus? drive ? flags 0x0000	# the drives themselves
2111.37Sgarbled
2121.37Sgarbled# PCI network interfaces
2131.56Sphxral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
2141.37Sgarbledre*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
2151.46Sphxskc*	at pci? dev ? function ?	# Marvell Yukon Gigabit Ethernet
2161.46Sphxsk*	at skc?				# Marvell Yukon Gigabit Ethernet
2171.56Sphxstge*	at pci? dev ? function ?	# Sundance ST1023 Gigabit
2181.56Sphxtlp*	at pci? dev ? function ?	# DEC Tulip and similar
2191.56Sphxwm*	at pci? dev ? function ?	# Intel 8254x Gigabit Ethernet
2201.37Sgarbled
2211.37Sgarbledinphy*	at mii? phy ?			# Intel 82555 PHYs
2221.37Sgarblednsphy*	at mii? phy ?			# NS83840 PHYs
2231.37Sgarbledrgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
2241.37Sgarbledmakphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
2251.37Sgarbledukphy*	at mii? phy ?			# generic unknown PHYs
2261.37Sgarbled
2271.66Sphx# GPIO devices
2281.66Sphxgpio*	at gpiobus?
2291.66Sphx
2301.37Sgarbled# USB Controller and Devices
2311.37Sgarbledehci*	at pci?	dev ? function ?	# Enhanced Host Controller
2321.37Sgarbledohci*	at pci?	dev ? function ?	# Open Host Controller
2331.37Sgarbled
2341.37Sgarbled# USB bus support
2351.37Sgarbledusb*	at ehci?
2361.37Sgarbledusb*	at ohci?
2371.37Sgarbled
2381.37Sgarbled# USB Hubs
2391.37Sgarbleduhub*	at usb?
2401.37Sgarbleduhub*	at uhub? port ?
2411.37Sgarbled
2421.52Sphx# USB HID devices
2431.52Sphxuhidev* at uhub? port ? configuration ? interface ?	# USB HID device
2441.52Sphxuthum*	at uhidev? reportid ?				# TEMPerHUM sensors
2451.52Sphxuhid*	at uhidev? reportid ?				# USB Generic HID
2461.52Sphx
2471.54Sphx# USB video
2481.54Sphxuvideo* at uhub?			# USB Video Class capture devices
2491.54Sphxvideo*	at videobus?
2501.54Sphx
2511.52Sphx# USB printer
2521.52Sphxulpt*	at uhub? port ? configuration ? interface ?	# USB Printer
2531.52Sphx
2541.37Sgarbled# USB Mass Storage
2551.37Sgarbledumass*	at uhub? port ? configuration ? interface ?
2561.37Sgarbledwd*	at umass?
2571.37Sgarbled
2581.37Sgarbledscsibus* at umass?
2591.37Sgarbledsd*	at scsibus? target ? lun ?	# SCSI disk drives
2601.69Sphxcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2611.35Selad
2621.70Sphxatapibus* at atapi?
2631.73Sphxsd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2641.70Sphxcd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2651.70Sphx
2661.68Sphx#
2671.68Sphx# Pseudo-Devices
2681.68Sphx#
2691.68Sphx#pseudo-device 	crypto			# /dev/crypto device
2701.68Sphx#pseudo-device	swcrypto		# software crypto implementation
2711.68Sphx
2721.68Sphx# disk/mass storage pseudo-devices
2731.77Schristos#pseudo-device	ccd			# concatenated/striped disk devices
2741.77Schristos#pseudo-device	cgd			# cryptographic disk devices
2751.68Sphxpseudo-device	fss			# file system snapshot device
2761.68Sphx#pseudo-device	putter			# for puffs and pud
2771.68Sphx
2781.78Schristospseudo-device	raid			# RAIDframe disk driver
2791.68Sphxoptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2801.68Sphx# Options to enable various other RAIDframe RAID types.
2811.68Sphx#options 	RF_INCLUDE_EVENODD=1
2821.68Sphx#options 	RF_INCLUDE_RAID5_RS=1
2831.68Sphx#options 	RF_INCLUDE_PARITYLOGGING=1
2841.68Sphx#options 	RF_INCLUDE_CHAINDECLUSTER=1
2851.68Sphx#options 	RF_INCLUDE_INTERDECLUSTER=1
2861.68Sphx#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2871.68Sphx#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2881.67Sphx
2891.68Sphxpseudo-device	vnd		
2901.68Sphx#options 	VND_COMPRESSION		# compressed vnd(4)
2911.67Sphx
2921.67Sphx# network pseudo-devices
2931.67Sphxpseudo-device	loop
2941.67Sphxpseudo-device	bpfilter		# packet filter
2951.68Sphx#pseudo-device	carp			# Common Address Redundancy Protocol
2961.67Sphx#pseudo-device	ppp			# Point-to-Point Protocol
2971.67Sphx#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2981.67Sphx#pseudo-device	ipfilter
2991.67Sphx#pseudo-device	pf			# PF packet filter
3001.67Sphx#pseudo-device	pflog			# PF log if
3011.67Sphx#pseudo-device	sl			# Serial Line IP
3021.67Sphx#pseudo-device	vlan			# IEEE 802.1q encapsulation
3031.67Sphx#pseudo-device	tun			# network tunneling over tty
3041.67Sphx#pseudo-device	tap			# virtual Ethernet
3051.67Sphx#pseudo-device	gre			# generic L3 over IP tunnel
3061.67Sphx#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3071.67Sphx#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3081.67Sphx#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3091.68Sphx#pseudo-device	vlan			# IEEE 802.1q encapsulation
3101.67Sphx#pseudo-device	bridge			# simple inter-network bridging
3111.67Sphx#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3121.67Sphx#pseudo-device	agr			# IEEE 802.3ad link aggregation
3131.68Sphx
3141.68Sphx#
3151.68Sphx# accept filters
3161.68Sphx#pseudo-device	accf_data		# "dataready" accept filter
3171.68Sphx#pseudo-device	accf_http		# "httpready" accept filter
3181.67Sphx
3191.67Sphx# miscellaneous pseudo-devices
3201.67Sphxpseudo-device	pty
3211.67Sphxpseudo-device	clockctl		# user control of clock subsystem
3221.67Sphxpseudo-device	ksyms			# /dev/ksyms
3231.68Sphx#pseudo-device	lockstat		# lock profiling
3241.68Sphx
3251.68Sphx# a pseudo device needed for Coda	# also needs CODA (above)
3261.78Schristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
3271.68Sphx
3281.68Sphx# a pseudo device needed for SMBFS
3291.68Sphx#pseudo-device	nsmb			# experimental - SMB requester
3301.67Sphx
3311.67Sphx# userland interface to drivers, including autoconf and properties retrieval
3321.67Sphxpseudo-device	drvctl
3331.67Sphx
3341.35Selad# Veriexec
3351.35Selad#
3361.35Selad# a pseudo device needed for veriexec
3371.78Schristos#pseudo-device	veriexec
3381.35Selad#
3391.35Selad# Uncomment the fingerprint methods below that are desired. Note that
3401.35Selad# removing fingerprint methods will have almost no impact on the kernel
3411.35Selad# code size.
3421.35Selad#
3431.68Sphx#options 	VERIFIED_EXEC_FP_RMD160
3441.68Sphx#options 	VERIFIED_EXEC_FP_SHA256
3451.68Sphx#options 	VERIFIED_EXEC_FP_SHA384
3461.68Sphx#options 	VERIFIED_EXEC_FP_SHA512
3471.68Sphx#options 	VERIFIED_EXEC_FP_SHA1
3481.68Sphx#options 	VERIFIED_EXEC_FP_MD5
3491.67Sphx
3501.68Sphx#options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
3511.68Sphx#options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
352