GENERIC revision 1.186
11.186Sdholland# $NetBSD: GENERIC,v 1.186 2014/08/23 20:26:58 dholland 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.186Sdholland#ident 		"GENERIC-$Revision: 1.186 $"
261.182Stsutsui
271.182Stsutsuimakeoptions	COPTS="-O2 -fno-reorder-blocks"	# see share/mk/sys.mk
281.80Sgmcgarry
291.184Stsutsuimaxusers	8		# estimated number of users
301.20Sthorpej
311.20Sthorpej# Support for various CPU types
321.20Sthorpejoptions 	HP320
331.20Sthorpejoptions 	HP330		# includes 318, 319
341.20Sthorpejoptions 	HP340
351.28Sthorpejoptions 	HP345
361.20Sthorpejoptions 	HP350
371.20Sthorpejoptions 	HP360
381.132Stsutsuioptions 	HP362
391.20Sthorpejoptions 	HP370
401.28Sthorpejoptions 	HP375
411.28Sthorpejoptions 	HP380
421.132Stsutsuioptions 	HP382
431.47Sthorpejoptions 	HP385
441.28Sthorpejoptions 	HP400
451.28Sthorpejoptions 	HP425
461.28Sthorpejoptions 	HP433
471.80Sgmcgarryoptions 	FPSP		# floating point interface for 68040
481.180Stsutsui#options 	FPU_EMULATE	# software fpu emulation for MC68030
491.80Sgmcgarry
501.80Sgmcgarry# Standard system options
511.80Sgmcgarryoptions 	KTRACE		# system call tracing support
521.80Sgmcgarry#options 	INSECURE	# disable kernel security level
531.82Slukemoptions 	USERCONF	# userconf(4) support
541.108Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
551.103Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
561.108Stsutsui#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
571.80Sgmcgarryoptions 	NTP		# NTP phase/frequency locked loop
581.80Sgmcgarryoptions 	SYSVSHM		# System V-style shared memory
591.80Sgmcgarryoptions 	SYSVMSG		# System V-style message queues
601.80Sgmcgarryoptions 	SYSVSEM		# System V-style semaphores
611.87Sjunyoung
621.183Stsutsuioptions 	MODULAR		# new style module(7) framework
631.157Stsutsui
641.160Stsutsui# Enable experimental buffer queue strategy for better responsiveness under
651.87Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
661.114Stsutsui#options 	BUFQ_READPRIO
671.114Stsutsui#options 	BUFQ_PRIOCSCAN
681.1Smycroft
691.80Sgmcgarry# Debugging options
701.124Schs#options 	DIAGNOSTIC	# Extra kernel sanity checks
711.80Sgmcgarry#options 	DEBUG		# Enable misc. kernel debugging code
721.80Sgmcgarry#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
731.80Sgmcgarryoptions 	DDB		# Kernel Dynamic Debugger
741.156Schsoptions 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
751.80Sgmcgarry#options 	KGDB		# remote debugger
761.80Sgmcgarry#makeoptions	DEBUG="-g"	# netbsd.gdb with full debugging symbols
771.1Smycroft
781.80Sgmcgarry# Compatibility options
791.20Sthorpejoptions 	COMPAT_43	# compatibility with 4.3BSD interfaces
801.157Stsutsui#options 	COMPAT_44	# compatibility with 4.4BSD binaries
811.186Sdhollandoptions 	COMPAT_09	# NetBSD 0.9,
821.186Sdhollandoptions 	COMPAT_10	# NetBSD 1.0,
831.186Sdhollandoptions 	COMPAT_11	# NetBSD 1.1,
841.186Sdhollandoptions 	COMPAT_12	# NetBSD 1.2,
851.186Sdhollandoptions 	COMPAT_13	# NetBSD 1.3,
861.186Sdhollandoptions 	COMPAT_14	# NetBSD 1.4,
871.186Sdhollandoptions 	COMPAT_15	# NetBSD 1.5,
881.186Sdhollandoptions 	COMPAT_16	# NetBSD 1.6,
891.186Sdhollandoptions 	COMPAT_20	# NetBSD 2.0,
901.186Sdhollandoptions 	COMPAT_30	# NetBSD 3.0,
911.186Sdhollandoptions 	COMPAT_40	# NetBSD 4.0,
921.186Sdhollandoptions 	COMPAT_50	# NetBSD 5.0,
931.186Sdhollandoptions 	COMPAT_60	# NetBSD 6.0, and
941.186Sdhollandoptions 	COMPAT_70	# NetBSD 7.0 binary compatibility.
951.66Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
961.80Sgmcgarry
971.80Sgmcgarry# Binary compatibility.
981.80Sgmcgarryoptions 	COMPAT_AOUT_M68K	# NetBSD/m68k a.out binary compatibility
991.80Sgmcgarryoptions 	COMPAT_M68K4K	# NetBSD/m68k4k binary compatibility
1001.80Sgmcgarryoptions 	COMPAT_SUNOS	# SunOS4 m68k binary compatibility
1011.183Stsutsui#options 	COMPAT_LINUX	# Linux/m68k binary compatibility
1021.183Stsutsui#options 	COMPAT_SVR4	# SVR4 binary compatibility
1031.108Stsutsuioptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1041.1Smycroft
1051.22Sthorpej# Filesystems
1061.80Sgmcgarryfile-system	CD9660		# CD-ROM ISO-9660 filesystem
1071.183Stsutsui#file-system	EXT2FS		# second extended file system (linux)
1081.80Sgmcgarryfile-system	FDESC		# user file descriptor filesystem
1091.29Slukemfile-system	FFS		# fast filesystem
1101.80Sgmcgarryfile-system	KERNFS		# kernel data-structure filesystem
1111.183Stsutsui#file-system	LFS		# log-structured file system
1121.80Sgmcgarryfile-system	MFS		# Memory-based filesystem
1131.29Slukemfile-system	NFS		# Network filesystem client
1141.80Sgmcgarryfile-system	NULLFS		# loopback file system
1151.183Stsutsui#file-system	OVERLAY		# overlay file system
1161.183Stsutsui#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
1171.80Sgmcgarryfile-system	PROCFS		# /proc filesystem
1181.183Stsutsui#file-system	UMAPFS		# NULLFS + uid and gid remapping
1191.183Stsutsui#file-system	UNION		# Union filesystem (req. for FDESC)
1201.183Stsutsui#file-system	CODA		# Coda File System; also needs vcoda (below)
1211.121Schristosfile-system	PTYFS		# /dev/pts/N support
1221.154Schsfile-system	TMPFS		# Efficient memory file-system
1231.127Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1241.22Sthorpej
1251.1Smycroft# Filesystem options
1261.165Sbouyeroptions 	QUOTA		# legacy UFS quotas
1271.165Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1281.167Swiz#options 	FFS_EI		# FFS Endian Independent support
1291.169Sdhollandoptions 	WAPBL		# File system journaling support
1301.122Stsutsui#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1311.20Sthorpejoptions 	NFSSERVER	# Network filesystem server
1321.80Sgmcgarry#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags
1331.183Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1341.49Sitojun
1351.1Smycroft# Networking options
1361.21Sscottroptions 	INET		# Internet protocols
1371.49Sitojunoptions 	INET6		# IPV6
1381.49Sitojun#options 	IPSEC		# IP security
1391.49Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1401.152Sjoergoptions 	GATEWAY		# IP forwarding
1411.29Slukemoptions 	MROUTING	# Multicast routing
1421.106Smanuoptions 	PIM		# Protocol Independent Multicast
1431.80Sgmcgarryoptions 	NETATALK	# AppleTalk networking protocols
1441.183Stsutsui#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1451.183Stsutsui#options 	PPP_DEFLATE	# Deflate compression support for PPP
1461.80Sgmcgarryoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1471.80Sgmcgarryoptions 	IPFILTER_LOG	# ipmon(8) log support
1481.137Schristosoptions 	IPFILTER_LOOKUP	# ippool(8) support
1491.155Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
1501.84Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1511.66Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1521.1Smycroft
1531.101Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1541.101Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1551.101Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1561.101Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1571.101Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1581.101Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1591.101Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1601.101Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1611.101Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1621.101Sabs#options 	ALTQ_RED	# Random Early Detection
1631.101Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1641.101Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1651.101Sabs
1661.184Stsutsui#options 	NFS_BOOT_BOOTP	# use bootp for NFS boot
1671.184Stsutsuioptions 	NFS_BOOT_DHCP	# use dhcp for NFS boot
1681.184Stsutsui
1691.1Smycroft# Options for HP hardware
1701.21Sscottroptions 	USELEDS		# make the lights twinkle
1711.29Slukem#options 	PANICBUTTON	# two fast <reset>s on HIL dump kernel
1721.30Slukem#options 	CONSCODE=9	# force console at this select code
1731.20Sthorpej#options 	MAPPEDCOPY	# different copyin/copyout for large copies
1741.20Sthorpej
1751.80Sgmcgarry# These options enable verbose messages for several subsystems.
1761.80Sgmcgarry# Warning, these may compile large string tables into the kernel!
1771.80Sgmcgarry#options 	SCSIVERBOSE	# Verbose SCSI errors
1781.21Sscottroptions 	DIOVERBOSE	# recognize "unknown" DIO devices
1791.1Smycroft
1801.161Stsutsui# workstation console options
1811.161Stsutsuioptions 	WSEMUL_VT100            # VT100 / VT220 emulation
1821.171Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1831.161Stsutsuioptions 	WSDISPLAY_COMPAT_RAWKBD
1841.161Stsutsuioptions 	WS_KERNEL_FG=WSCOL_GREEN
1851.161Stsutsui#options 	WS_KERNEL_BG=WSCOL_BLACK
1861.161Stsutsui
1871.184Stsutsui#options 	FONT_GALLANT12x22
1881.184Stsutsuioptions 	FONT_VT220ISO8x16
1891.161Stsutsui
1901.22Sthorpejconfig		netbsd root on ? type ?
1911.1Smycroft
1921.80Sgmcgarry#
1931.80Sgmcgarry# Device configuration
1941.80Sgmcgarry#
1951.20Sthorpej
1961.80Sgmcgarrymainbus0	at root			# root "bus"
1971.32Sthorpej
1981.80Sgmcgarryintio0		at mainbus0		# internal i/o space
1991.80Sgmcgarrydio0		at mainbus0		# DIO/DIO-II bus
2001.173Stsutsuisgc0		at mainbus0		# SGC bus
2011.69Sgmcgarry
2021.161Stsutsui# Human Interface Loop devices
2031.161Stsutsuihil0		at intio?		# HIL controller
2041.161Stsutsuihilkbd* 	at hil?			# keyboards
2051.161Stsutsuiwskbd*		at hilkbd? mux 1
2061.161Stsutsuihilms*		at hil?			# mice, buttons and tablets
2071.161Stsutsuiwsmouse*	at hilms? mux 0
2081.161Stsutsuihilid*		at hil?			# ID module
2091.161Stsutsui
2101.80Sgmcgarryrtc*		at intio?		# real-time clock (not optional)
2111.89Sgmcgarrydma* 		at intio?		# DMA controller
2121.160Stsutsuifrodo*		at intio?		# Frodo utility chip found on 382, 4xx
2131.93Sgmcgarrynhpib*		at intio?		# slow internal HP-IB
2141.32Sthorpej
2151.32Sthorpej# 8250-like serial ports found on Frodo ASIC
2161.164Stsutsuidnkbd0		at frodo? offset 0x0	# Domain keyboard flavor
2171.164Stsutsuiwskbd*		at dnkbd? mux 1
2181.164Stsutsuiwsmouse*	at dnkbd? mux 0
2191.96Stsutsuicom*		at frodo? offset ?	# tty flavor
2201.20Sthorpej
2211.181Stsutsui# mc146818-like real time clock found on 425e
2221.181Stsutsuimcclock0	at frodo? offset 0x80
2231.181Stsutsui
2241.160Stsutsuidvbox*		at intio?		# Davinci framebuffer
2251.20Sthorpejdvbox*		at dio? scode ?
2261.161Stsutsuiwsdisplay*	at dvbox?
2271.20Sthorpej
2281.80Sgmcgarrygbox*		at intio?		# Gatorbox framebuffer
2291.20Sthorpejgbox*		at dio? scode ?
2301.161Stsutsuiwsdisplay*	at gbox?
2311.20Sthorpej
2321.80Sgmcgarryhyper*		at dio? scode ?		# Hyperion framebuffer
2331.161Stsutsuiwsdisplay*	at hyper?
2341.20Sthorpej
2351.80Sgmcgarryrbox*		at intio?		# Renaissance framebuffer
2361.20Sthorpejrbox*		at dio? scode ?
2371.161Stsutsuiwsdisplay*	at rbox?
2381.20Sthorpej
2391.80Sgmcgarrytopcat*		at intio?		# Topcat/catseye framebuffers
2401.20Sthorpejtopcat*		at dio? scode ?
2411.161Stsutsuiwsdisplay*	at topcat?
2421.20Sthorpej
2431.161Stsutsuitvrx*		at dio? scode ?		# TurboVRX framebuffer
2441.161Stsutsuiwsdisplay*	at tvrx?
2451.20Sthorpej
2461.162Stsutsuigendiofb*	at dio? scode ?		# dumb framebuffer support for 362/382
2471.162Stsutsuiwsdisplay*	at gendiofb?
2481.162Stsutsui
2491.173Stsutsuisti*		at sgc?	slot ?		# SGC EVRX framebuffers
2501.173Stsutsuiwsdisplay*	at sti?
2511.166Stsutsui
2521.97Stsutsuicom0		at dio0 scode 9		# DCA serial interfaces
2531.97Stsutsuicom*		at dio? scode ?
2541.20Sthorpej
2551.20Sthorpejdcm*		at dio? scode ?	flags 0xe # DCM 4- or 8-port serial interfaces
2561.20Sthorpej
2571.20Sthorpejle*		at dio? scode ?		# LANCE ethernet interfaces
2581.20Sthorpej
2591.20Sthorpejnhpib0		at dio? scode 7		# slow internal HP-IB
2601.20Sthorpejnhpib*		at dio? scode ?
2611.20Sthorpej
2621.20Sthorpejfhpib*		at dio? scode ?		# `fast' HP-IB
2631.20Sthorpej
2641.20Sthorpejhpibbus0	at nhpib0
2651.20Sthorpejhpibbus*	at nhpib?
2661.20Sthorpejhpibbus*	at fhpib?
2671.3Sthorpej
2681.20Sthorpejrd*		at hpibbus? slave ? punit ?	# HP-IB disks
2691.20Sthorpejct*		at hpibbus? slave ? punit ?	# HP-IB cartridge tapes
2701.20Sthorpejmt*		at hpibbus? slave ? punit ?	# HP-IB 9-track tape
2711.20Sthorpejppi0		at hpibbus0 slave 5 punit 0	# HP-IB plotter
2721.1Smycroft
2731.94Stsutsuispc*		at dio? scode ?			# HP 98265A SCSI
2741.94Stsutsuiscsibus*	at spc?
2751.1Smycroft
2761.94Stsutsuisd*		at scsibus? target ? lun ?	# SCSI disks
2771.94Stsutsuist*		at scsibus? target ? lun ?	# SCSI tapes
2781.94Stsutsuicd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
2791.94Stsutsuich*		at scsibus? target ? lun ?	# SCSI changer devices
2801.94Stsutsuiss*		at scsibus? target ? lun ?	# SCSI scanners
2811.94Stsutsuiuk*		at scsibus? target ? lun ?	# unknown SCSI devices
2821.1Smycroft
2831.80Sgmcgarry#
2841.80Sgmcgarry# Pseudo-devices
2851.80Sgmcgarry#
2861.80Sgmcgarry
2871.80Sgmcgarry# disk pseudo-devices
2881.176Schristospseudo-device	ccd			# concatenated disk devices
2891.176Schristos#pseudo-device	cgd			# cryptographic disk devices
2901.177Schristospseudo-device	raid			# RAIDframe disk driver
2911.75Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2921.75Soster# Options to enable various other RAIDframe RAID types.
2931.108Stsutsui#options 	RF_INCLUDE_EVENODD=1
2941.108Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
2951.108Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
2961.108Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
2971.108Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
2981.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2991.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3001.183Stsutsui#pseudo-device	fss			# file system snapshot device
3011.158Shannkenpseudo-device	md			# memory disk device (ramdisk)
3021.129Scubepseudo-device	vnd			# vnode pseudo-disks
3031.117Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3041.80Sgmcgarry
3051.80Sgmcgarry# network pseudo-devices
3061.80Sgmcgarrypseudo-device	bridge			# simple inter-network bridging
3071.122Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
3081.139Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3091.128Srpaulopseudo-device	bpfilter		# Berkeley packet filter
3101.131Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
3111.129Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3121.129Scube#pseudo-device	gre			# generic L3 over IP tunnel
3131.129Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3141.80Sgmcgarrypseudo-device	ipfilter 		# IP Filter package
3151.80Sgmcgarrypseudo-device	loop			# loopback network interface
3161.129Scubepseudo-device	ppp			# PPP network interfaces
3171.80Sgmcgarrypseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3181.129Scubepseudo-device	sl			# SLIP network interfaces
3191.130Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3201.129Scubepseudo-device	tun			# network tunneling over tty
3211.109Scubepseudo-device	tap			# virtual Ethernet
3221.62Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
3231.80Sgmcgarry
3241.147Stls#
3251.147Stls# accept filters
3261.183Stsutsui#pseudo-device   accf_data		# "dataready" accept filter
3271.183Stsutsui#pseudo-device   accf_http		# "httpready" accept filter
3281.147Stls
3291.80Sgmcgarry# miscellaneous pseudo-devices
3301.81Slukempseudo-device	clockctl		# user control of clock subsystem
3311.80Sgmcgarrypseudo-device	pty			# pseudo-terminals
3321.183Stsutsui#pseudo-device	vcoda			# coda minicache <-> venus comm.
3331.92Sraggepseudo-device	ksyms			# /dev/ksyms
3341.100Sitojun#pseudo-device	pf			# PF packet filter
3351.100Sitojun#pseudo-device	pflog			# PF log if
3361.183Stsutsui#pseudo-device	putter			# for puffs and pud
3371.126Selad
3381.161Stsutsui# wscons pseudo-devices
3391.161Stsutsuipseudo-device	wsmux			# mouse & keyboard multiplexor
3401.161Stsutsuipseudo-device	wsfont
3411.161Stsutsui
3421.126Selad# Veriexec
3431.126Selad#
3441.126Selad# a pseudo device needed for veriexec
3451.177Schristos#pseudo-device	veriexec
3461.126Selad#
3471.126Selad# Uncomment the fingerprint methods below that are desired. Note that
3481.126Selad# removing fingerprint methods will have almost no impact on the kernel
3491.126Selad# code size.
3501.126Selad#
3511.136Stsutsui#options 	VERIFIED_EXEC_FP_RMD160
3521.136Stsutsui#options 	VERIFIED_EXEC_FP_SHA256
3531.136Stsutsui#options 	VERIFIED_EXEC_FP_SHA384
3541.136Stsutsui#options 	VERIFIED_EXEC_FP_SHA512
3551.136Stsutsui#options 	VERIFIED_EXEC_FP_SHA1
3561.136Stsutsui#options 	VERIFIED_EXEC_FP_MD5
357