GENERIC revision 1.171
11.171Sabs# $NetBSD: GENERIC,v 1.171 2012/08/17 20:11:39 abs Exp $
21.1Smycroft#
31.72Sgmcgarry# GENERIC machine description file
41.160Stsutsui#
51.72Sgmcgarry# This machine description file is used to generate the default NetBSD
61.72Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.72Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Smycroft#
91.72Sgmcgarry# The machine description file can be customised for your specific
101.72Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.72Sgmcgarry#
121.72Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.72Sgmcgarry# man page.
141.72Sgmcgarry#
151.72Sgmcgarry# For further information on hardware support for this architecture, see
161.72Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.72Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.72Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.72Sgmcgarry# device.
201.1Smycroft
211.72Sgmcgarryinclude 	"arch/hp300/conf/std.hp300"
221.50Shubertf
231.79Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.79Satatat
251.171Sabs#ident 		"GENERIC-$Revision: 1.171 $"
261.80Sgmcgarry
271.80Sgmcgarrymaxusers	32		# estimated number of users
281.20Sthorpej
291.20Sthorpej# Support for various CPU types
301.20Sthorpejoptions 	HP320
311.20Sthorpejoptions 	HP330		# includes 318, 319
321.20Sthorpejoptions 	HP340
331.28Sthorpejoptions 	HP345
341.20Sthorpejoptions 	HP350
351.20Sthorpejoptions 	HP360
361.132Stsutsuioptions 	HP362
371.20Sthorpejoptions 	HP370
381.28Sthorpejoptions 	HP375
391.28Sthorpejoptions 	HP380
401.132Stsutsuioptions 	HP382
411.47Sthorpejoptions 	HP385
421.28Sthorpejoptions 	HP400
431.28Sthorpejoptions 	HP425
441.28Sthorpejoptions 	HP433
451.80Sgmcgarryoptions 	FPSP		# floating point interface for 68040
461.80Sgmcgarry
471.80Sgmcgarry# Standard system options
481.80Sgmcgarryoptions 	KTRACE		# system call tracing support
491.80Sgmcgarry#options 	INSECURE	# disable kernel security level
501.82Slukemoptions 	USERCONF	# userconf(4) support
511.108Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
521.103Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
531.108Stsutsui#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
541.80Sgmcgarryoptions 	NTP		# NTP phase/frequency locked loop
551.80Sgmcgarryoptions 	SYSVSHM		# System V-style shared memory
561.80Sgmcgarryoptions 	SYSVMSG		# System V-style message queues
571.80Sgmcgarryoptions 	SYSVSEM		# System V-style semaphores
581.87Sjunyoung
591.159Stsutsui#options 	MODULAR		# new style module(7) framework
601.157Stsutsui
611.160Stsutsui# Enable experimental buffer queue strategy for better responsiveness under
621.87Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
631.114Stsutsui#options 	BUFQ_READPRIO
641.114Stsutsui#options 	BUFQ_PRIOCSCAN
651.1Smycroft
661.80Sgmcgarry# Debugging options
671.124Schs#options 	DIAGNOSTIC	# Extra kernel sanity checks
681.80Sgmcgarry#options 	DEBUG		# Enable misc. kernel debugging code
691.80Sgmcgarry#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
701.80Sgmcgarryoptions 	DDB		# Kernel Dynamic Debugger
711.156Schsoptions 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
721.80Sgmcgarry#options 	KGDB		# remote debugger
731.80Sgmcgarry#makeoptions	DEBUG="-g"	# netbsd.gdb with full debugging symbols
741.1Smycroft
751.80Sgmcgarry# Compatibility options
761.20Sthorpejoptions 	COMPAT_43	# compatibility with 4.3BSD interfaces
771.157Stsutsui#options 	COMPAT_44	# compatibility with 4.4BSD binaries
781.20Sthorpejoptions 	COMPAT_09	# compatibility with NetBSD 0.9
791.20Sthorpejoptions 	COMPAT_10	# compatibility with NetBSD 1.0
801.20Sthorpejoptions 	COMPAT_11	# compatibility with NetBSD 1.1
811.20Sthorpejoptions 	COMPAT_12	# compatibility with NetBSD 1.2
821.37Skleinkoptions 	COMPAT_13	# compatibility with NetBSD 1.3
831.46Saugustssoptions 	COMPAT_14	# compatibility with NetBSD 1.4
841.95Scloptions 	COMPAT_15	# compatibility with NetBSD 1.5
851.95Scloptions 	COMPAT_16	# compatibility with NetBSD 1.6
861.104Stsutsuioptions 	COMPAT_20	# compatibility with NetBSD 2.0
871.140Stsutsuioptions 	COMPAT_30	# compatibility with NetBSD 3.0
881.140Stsutsuioptions 	COMPAT_40	# compatibility with NetBSD 4.0
891.150Stsutsuioptions 	COMPAT_50	# compatibility with NetBSD 5.0
901.66Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
911.80Sgmcgarry
921.80Sgmcgarry# Binary compatibility.
931.80Sgmcgarryoptions 	COMPAT_AOUT_M68K	# NetBSD/m68k a.out binary compatibility
941.80Sgmcgarryoptions 	COMPAT_M68K4K	# NetBSD/m68k4k binary compatibility
951.80Sgmcgarryoptions 	COMPAT_SUNOS	# SunOS4 m68k binary compatibility
961.80Sgmcgarryoptions 	COMPAT_LINUX	# Linux/m68k binary compatibility
971.80Sgmcgarryoptions 	COMPAT_SVR4	# SVR4 binary compatibility
981.108Stsutsuioptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
991.1Smycroft
1001.22Sthorpej# Filesystems
1011.80Sgmcgarryfile-system	CD9660		# CD-ROM ISO-9660 filesystem
1021.80Sgmcgarryfile-system	EXT2FS		# second extended file system (linux)
1031.80Sgmcgarryfile-system	FDESC		# user file descriptor filesystem
1041.29Slukemfile-system	FFS		# fast filesystem
1051.80Sgmcgarryfile-system	KERNFS		# kernel data-structure filesystem
1061.80Sgmcgarryfile-system	LFS		# log-structured file system
1071.80Sgmcgarryfile-system	MFS		# Memory-based filesystem
1081.29Slukemfile-system	NFS		# Network filesystem client
1091.80Sgmcgarryfile-system	NULLFS		# loopback file system
1101.80Sgmcgarryfile-system	OVERLAY		# overlay file system
1111.151Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
1121.80Sgmcgarryfile-system	PROCFS		# /proc filesystem
1131.80Sgmcgarryfile-system	UMAPFS		# NULLFS + uid and gid remapping
1141.29Slukemfile-system	UNION		# Union filesystem (req. for FDESC)
1151.80Sgmcgarryfile-system	CODA		# Coda File System; also needs vcoda (below)
1161.121Schristosfile-system	PTYFS		# /dev/pts/N support
1171.154Schsfile-system	TMPFS		# Efficient memory file-system
1181.127Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1191.22Sthorpej
1201.1Smycroft# Filesystem options
1211.165Sbouyeroptions 	QUOTA		# legacy UFS quotas
1221.165Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1231.167Swiz#options 	FFS_EI		# FFS Endian Independent support
1241.169Sdhollandoptions 	WAPBL		# File system journaling support
1251.122Stsutsui#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1261.20Sthorpejoptions 	NFSSERVER	# Network filesystem server
1271.80Sgmcgarry#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags
1281.73Sgmcgarryoptions 	NFS_BOOT_BOOTP	# use bootp for NFS boot
1291.125Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1301.49Sitojun
1311.1Smycroft# Networking options
1321.21Sscottroptions 	INET		# Internet protocols
1331.49Sitojunoptions 	INET6		# IPV6
1341.49Sitojun#options 	IPSEC		# IP security
1351.49Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1361.116Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1371.49Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1381.152Sjoergoptions 	GATEWAY		# IP forwarding
1391.29Slukemoptions 	MROUTING	# Multicast routing
1401.106Smanuoptions 	PIM		# Protocol Independent Multicast
1411.141Sadrianp#options 	ISO,TPIP	# OSI
1421.80Sgmcgarry#options 	EON		# OSI tunneling over IP
1431.80Sgmcgarryoptions 	NETATALK	# AppleTalk networking protocols
1441.80Sgmcgarryoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1451.80Sgmcgarryoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1461.80Sgmcgarryoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1471.45Schristosoptions 	PFIL_HOOKS	# packet filter hooks
1481.80Sgmcgarryoptions 	IPFILTER_LOG	# ipmon(8) log support
1491.137Schristosoptions 	IPFILTER_LOOKUP	# ippool(8) support
1501.155Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
1511.84Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1521.66Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1531.1Smycroft
1541.101Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1551.101Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1561.101Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1571.101Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1581.101Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1591.101Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1601.101Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1611.101Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1621.101Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1631.101Sabs#options 	ALTQ_RED	# Random Early Detection
1641.101Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1651.101Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1661.101Sabs
1671.1Smycroft# Options for HP hardware
1681.21Sscottroptions 	USELEDS		# make the lights twinkle
1691.29Slukem#options 	PANICBUTTON	# two fast <reset>s on HIL dump kernel
1701.30Slukem#options 	CONSCODE=9	# force console at this select code
1711.20Sthorpej#options 	MAPPEDCOPY	# different copyin/copyout for large copies
1721.20Sthorpej
1731.80Sgmcgarry# These options enable verbose messages for several subsystems.
1741.80Sgmcgarry# Warning, these may compile large string tables into the kernel!
1751.80Sgmcgarry#options 	SCSIVERBOSE	# Verbose SCSI errors
1761.21Sscottroptions 	DIOVERBOSE	# recognize "unknown" DIO devices
1771.1Smycroft
1781.161Stsutsui# workstation console options
1791.161Stsutsuioptions 	WSEMUL_VT100            # VT100 / VT220 emulation
1801.171Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1811.161Stsutsuioptions 	WSDISPLAY_COMPAT_RAWKBD
1821.161Stsutsuioptions 	WS_KERNEL_FG=WSCOL_GREEN
1831.161Stsutsui#options 	WS_KERNEL_BG=WSCOL_BLACK
1841.161Stsutsui
1851.161Stsutsuioptions 	FONT_GALLANT12x22
1861.161Stsutsui#options 	FONT_VT220ISO8x16
1871.161Stsutsui
1881.22Sthorpejconfig		netbsd root on ? type ?
1891.1Smycroft
1901.80Sgmcgarry#
1911.80Sgmcgarry# Device configuration
1921.80Sgmcgarry#
1931.20Sthorpej
1941.80Sgmcgarrymainbus0	at root			# root "bus"
1951.32Sthorpej
1961.80Sgmcgarryintio0		at mainbus0		# internal i/o space
1971.80Sgmcgarrydio0		at mainbus0		# DIO/DIO-II bus
1981.163Stsutsui#sgc0		at mainbus0		# SGC bus
1991.69Sgmcgarry
2001.161Stsutsui# Human Interface Loop devices
2011.161Stsutsuihil0		at intio?		# HIL controller
2021.161Stsutsuihilkbd* 	at hil?			# keyboards
2031.161Stsutsuiwskbd*		at hilkbd? mux 1
2041.161Stsutsuihilms*		at hil?			# mice, buttons and tablets
2051.161Stsutsuiwsmouse*	at hilms? mux 0
2061.161Stsutsuihilid*		at hil?			# ID module
2071.161Stsutsui
2081.80Sgmcgarryrtc*		at intio?		# real-time clock (not optional)
2091.89Sgmcgarrydma* 		at intio?		# DMA controller
2101.160Stsutsuifrodo*		at intio?		# Frodo utility chip found on 382, 4xx
2111.93Sgmcgarrynhpib*		at intio?		# slow internal HP-IB
2121.32Sthorpej
2131.32Sthorpej# 8250-like serial ports found on Frodo ASIC
2141.164Stsutsuidnkbd0		at frodo? offset 0x0	# Domain keyboard flavor
2151.164Stsutsuiwskbd*		at dnkbd? mux 1
2161.164Stsutsuiwsmouse*	at dnkbd? mux 0
2171.96Stsutsuicom*		at frodo? offset ?	# tty flavor
2181.20Sthorpej
2191.160Stsutsuidvbox*		at intio?		# Davinci framebuffer
2201.20Sthorpejdvbox*		at dio? scode ?
2211.161Stsutsuiwsdisplay*	at dvbox?
2221.20Sthorpej
2231.80Sgmcgarrygbox*		at intio?		# Gatorbox framebuffer
2241.20Sthorpejgbox*		at dio? scode ?
2251.161Stsutsuiwsdisplay*	at gbox?
2261.20Sthorpej
2271.80Sgmcgarryhyper*		at dio? scode ?		# Hyperion framebuffer
2281.161Stsutsuiwsdisplay*	at hyper?
2291.20Sthorpej
2301.80Sgmcgarryrbox*		at intio?		# Renaissance framebuffer
2311.20Sthorpejrbox*		at dio? scode ?
2321.161Stsutsuiwsdisplay*	at rbox?
2331.20Sthorpej
2341.80Sgmcgarrytopcat*		at intio?		# Topcat/catseye framebuffers
2351.20Sthorpejtopcat*		at dio? scode ?
2361.161Stsutsuiwsdisplay*	at topcat?
2371.20Sthorpej
2381.161Stsutsuitvrx*		at dio? scode ?		# TurboVRX framebuffer
2391.161Stsutsuiwsdisplay*	at tvrx?
2401.20Sthorpej
2411.162Stsutsuigendiofb*	at dio? scode ?		# dumb framebuffer support for 362/382
2421.162Stsutsuiwsdisplay*	at gendiofb?
2431.162Stsutsui
2441.166Stsutsui#sti*		at sgc?	slot ?		# SGC EVRX framebuffers
2451.166Stsutsui#wsdisplay*	at sti?
2461.166Stsutsui
2471.97Stsutsuicom0		at dio0 scode 9		# DCA serial interfaces
2481.97Stsutsuicom*		at dio? scode ?
2491.20Sthorpej
2501.20Sthorpejdcm*		at dio? scode ?	flags 0xe # DCM 4- or 8-port serial interfaces
2511.20Sthorpej
2521.20Sthorpejle*		at dio? scode ?		# LANCE ethernet interfaces
2531.20Sthorpej
2541.20Sthorpejnhpib0		at dio? scode 7		# slow internal HP-IB
2551.20Sthorpejnhpib*		at dio? scode ?
2561.20Sthorpej
2571.20Sthorpejfhpib*		at dio? scode ?		# `fast' HP-IB
2581.20Sthorpej
2591.20Sthorpejhpibbus0	at nhpib0
2601.20Sthorpejhpibbus*	at nhpib?
2611.20Sthorpejhpibbus*	at fhpib?
2621.3Sthorpej
2631.20Sthorpejrd*		at hpibbus? slave ? punit ?	# HP-IB disks
2641.20Sthorpejct*		at hpibbus? slave ? punit ?	# HP-IB cartridge tapes
2651.20Sthorpejmt*		at hpibbus? slave ? punit ?	# HP-IB 9-track tape
2661.20Sthorpejppi0		at hpibbus0 slave 5 punit 0	# HP-IB plotter
2671.1Smycroft
2681.94Stsutsuispc*		at dio? scode ?			# HP 98265A SCSI
2691.94Stsutsuiscsibus*	at spc?
2701.1Smycroft
2711.94Stsutsuisd*		at scsibus? target ? lun ?	# SCSI disks
2721.94Stsutsuist*		at scsibus? target ? lun ?	# SCSI tapes
2731.94Stsutsuicd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
2741.94Stsutsuich*		at scsibus? target ? lun ?	# SCSI changer devices
2751.94Stsutsuiss*		at scsibus? target ? lun ?	# SCSI scanners
2761.94Stsutsuiuk*		at scsibus? target ? lun ?	# unknown SCSI devices
2771.1Smycroft
2781.80Sgmcgarry#
2791.80Sgmcgarry# Pseudo-devices
2801.80Sgmcgarry#
2811.80Sgmcgarry
2821.80Sgmcgarry# disk pseudo-devices
2831.4Sthorpejpseudo-device	ccd		4	# concatenated disk devices
2841.86Selric#pseudo-device	cgd		4	# cryptographic disk devices
2851.75Sosterpseudo-device	raid		8	# RAIDframe disk driver
2861.75Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2871.75Soster# Options to enable various other RAIDframe RAID types.
2881.108Stsutsui#options 	RF_INCLUDE_EVENODD=1
2891.108Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
2901.108Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
2911.108Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
2921.108Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
2931.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2941.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2951.153Spookapseudo-device	fss			# file system snapshot device
2961.158Shannkenpseudo-device	md			# memory disk device (ramdisk)
2971.129Scubepseudo-device	vnd			# vnode pseudo-disks
2981.117Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2991.80Sgmcgarry
3001.80Sgmcgarry# network pseudo-devices
3011.80Sgmcgarrypseudo-device	bridge			# simple inter-network bridging
3021.122Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3031.139Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3041.128Srpaulopseudo-device	bpfilter		# Berkeley packet filter
3051.131Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
3061.129Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3071.129Scube#pseudo-device	gre			# generic L3 over IP tunnel
3081.129Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3091.80Sgmcgarrypseudo-device	ipfilter 		# IP Filter package
3101.80Sgmcgarrypseudo-device	loop			# loopback network interface
3111.129Scubepseudo-device	ppp			# PPP network interfaces
3121.80Sgmcgarrypseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3131.129Scubepseudo-device	sl			# SLIP network interfaces
3141.130Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3151.129Scubepseudo-device	tun			# network tunneling over tty
3161.109Scubepseudo-device	tap			# virtual Ethernet
3171.62Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
3181.80Sgmcgarry
3191.147Stls#
3201.147Stls# accept filters
3211.147Stlspseudo-device   accf_data		# "dataready" accept filter
3221.147Stlspseudo-device   accf_http		# "httpready" accept filter
3231.147Stls
3241.80Sgmcgarry# miscellaneous pseudo-devices
3251.81Slukempseudo-device	clockctl		# user control of clock subsystem
3261.80Sgmcgarrypseudo-device	pty			# pseudo-terminals
3271.80Sgmcgarrypseudo-device	vcoda		4	# coda minicache <-> venus comm.
3281.92Sraggepseudo-device	ksyms			# /dev/ksyms
3291.100Sitojun#pseudo-device	pf			# PF packet filter
3301.100Sitojun#pseudo-device	pflog			# PF log if
3311.151Spookapseudo-device	putter			# for puffs and pud
3321.126Selad
3331.161Stsutsui# wscons pseudo-devices
3341.161Stsutsuipseudo-device	wsmux			# mouse & keyboard multiplexor
3351.161Stsutsuipseudo-device	wsfont
3361.161Stsutsui
3371.126Selad# Veriexec
3381.126Selad#
3391.126Selad# a pseudo device needed for veriexec
3401.126Selad#pseudo-device	veriexec		1
3411.126Selad#
3421.126Selad# Uncomment the fingerprint methods below that are desired. Note that
3431.126Selad# removing fingerprint methods will have almost no impact on the kernel
3441.126Selad# code size.
3451.126Selad#
3461.136Stsutsui#options 	VERIFIED_EXEC_FP_RMD160
3471.136Stsutsui#options 	VERIFIED_EXEC_FP_SHA256
3481.136Stsutsui#options 	VERIFIED_EXEC_FP_SHA384
3491.136Stsutsui#options 	VERIFIED_EXEC_FP_SHA512
3501.136Stsutsui#options 	VERIFIED_EXEC_FP_SHA1
3511.136Stsutsui#options 	VERIFIED_EXEC_FP_MD5
352