GENERIC revision 1.199
11.199Smaxv# $NetBSD: GENERIC,v 1.199 2018/08/01 20:04:11 maxv 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.199Smaxv#ident 		"GENERIC-$Revision: 1.199 $"
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.187Sjnemethoptions 	MODULAR_DEFAULT_AUTOLOAD
641.157Stsutsui
651.198Ssevan# Alternate buffer queue strategies for better responsiveness under high
661.198Ssevan# disk I/O load.
671.114Stsutsui#options 	BUFQ_READPRIO
681.114Stsutsui#options 	BUFQ_PRIOCSCAN
691.1Smycroft
701.80Sgmcgarry# Debugging options
711.124Schs#options 	DIAGNOSTIC	# Extra kernel sanity checks
721.80Sgmcgarry#options 	DEBUG		# Enable misc. kernel debugging code
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.197Smrginclude 	"conf/compat_netbsd09.config"
801.80Sgmcgarry
811.80Sgmcgarry# Binary compatibility.
821.80Sgmcgarryoptions 	COMPAT_AOUT_M68K	# NetBSD/m68k a.out binary compatibility
831.80Sgmcgarryoptions 	COMPAT_M68K4K	# NetBSD/m68k4k binary compatibility
841.80Sgmcgarryoptions 	COMPAT_SUNOS	# SunOS4 m68k binary compatibility
851.183Stsutsui#options 	COMPAT_LINUX	# Linux/m68k binary compatibility
861.183Stsutsui#options 	COMPAT_SVR4	# SVR4 binary compatibility
871.1Smycroft
881.22Sthorpej# Filesystems
891.80Sgmcgarryfile-system	CD9660		# CD-ROM ISO-9660 filesystem
901.183Stsutsui#file-system	EXT2FS		# second extended file system (linux)
911.80Sgmcgarryfile-system	FDESC		# user file descriptor filesystem
921.29Slukemfile-system	FFS		# fast filesystem
931.80Sgmcgarryfile-system	KERNFS		# kernel data-structure filesystem
941.183Stsutsui#file-system	LFS		# log-structured file system
951.80Sgmcgarryfile-system	MFS		# Memory-based filesystem
961.29Slukemfile-system	NFS		# Network filesystem client
971.80Sgmcgarryfile-system	NULLFS		# loopback file system
981.183Stsutsui#file-system	OVERLAY		# overlay file system
991.183Stsutsui#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
1001.80Sgmcgarryfile-system	PROCFS		# /proc filesystem
1011.183Stsutsui#file-system	UMAPFS		# NULLFS + uid and gid remapping
1021.183Stsutsui#file-system	UNION		# Union filesystem (req. for FDESC)
1031.183Stsutsui#file-system	CODA		# Coda File System; also needs vcoda (below)
1041.121Schristosfile-system	PTYFS		# /dev/pts/N support
1051.154Schsfile-system	TMPFS		# Efficient memory file-system
1061.127Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1071.22Sthorpej
1081.1Smycroft# Filesystem options
1091.165Sbouyeroptions 	QUOTA		# legacy UFS quotas
1101.165Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1111.167Swiz#options 	FFS_EI		# FFS Endian Independent support
1121.169Sdhollandoptions 	WAPBL		# File system journaling support
1131.122Stsutsui#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
1141.20Sthorpejoptions 	NFSSERVER	# Network filesystem server
1151.80Sgmcgarry#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags
1161.183Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1171.189Smanuoptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1181.49Sitojun
1191.1Smycroft# Networking options
1201.21Sscottroptions 	INET		# Internet protocols
1211.49Sitojunoptions 	INET6		# IPV6
1221.49Sitojun#options 	IPSEC		# IP security
1231.49Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1241.152Sjoergoptions 	GATEWAY		# IP forwarding
1251.29Slukemoptions 	MROUTING	# Multicast routing
1261.106Smanuoptions 	PIM		# Protocol Independent Multicast
1271.80Sgmcgarryoptions 	NETATALK	# AppleTalk networking protocols
1281.183Stsutsui#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1291.183Stsutsui#options 	PPP_DEFLATE	# Deflate compression support for PPP
1301.80Sgmcgarryoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1311.66Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1321.1Smycroft
1331.101Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1341.101Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1351.101Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1361.101Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1371.101Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1381.101Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1391.101Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1401.101Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1411.101Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1421.101Sabs#options 	ALTQ_RED	# Random Early Detection
1431.101Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1441.101Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1451.101Sabs
1461.184Stsutsui#options 	NFS_BOOT_BOOTP	# use bootp for NFS boot
1471.184Stsutsuioptions 	NFS_BOOT_DHCP	# use dhcp for NFS boot
1481.184Stsutsui
1491.1Smycroft# Options for HP hardware
1501.21Sscottroptions 	USELEDS		# make the lights twinkle
1511.29Slukem#options 	PANICBUTTON	# two fast <reset>s on HIL dump kernel
1521.30Slukem#options 	CONSCODE=9	# force console at this select code
1531.20Sthorpej#options 	MAPPEDCOPY	# different copyin/copyout for large copies
1541.20Sthorpej
1551.80Sgmcgarry# These options enable verbose messages for several subsystems.
1561.80Sgmcgarry# Warning, these may compile large string tables into the kernel!
1571.80Sgmcgarry#options 	SCSIVERBOSE	# Verbose SCSI errors
1581.21Sscottroptions 	DIOVERBOSE	# recognize "unknown" DIO devices
1591.1Smycroft
1601.161Stsutsui# workstation console options
1611.161Stsutsuioptions 	WSEMUL_VT100            # VT100 / VT220 emulation
1621.171Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1631.161Stsutsuioptions 	WSDISPLAY_COMPAT_RAWKBD
1641.161Stsutsuioptions 	WS_KERNEL_FG=WSCOL_GREEN
1651.161Stsutsui#options 	WS_KERNEL_BG=WSCOL_BLACK
1661.161Stsutsui
1671.184Stsutsui#options 	FONT_GALLANT12x22
1681.184Stsutsuioptions 	FONT_VT220ISO8x16
1691.161Stsutsui
1701.22Sthorpejconfig		netbsd root on ? type ?
1711.1Smycroft
1721.80Sgmcgarry#
1731.80Sgmcgarry# Device configuration
1741.80Sgmcgarry#
1751.20Sthorpej
1761.80Sgmcgarrymainbus0	at root			# root "bus"
1771.32Sthorpej
1781.80Sgmcgarryintio0		at mainbus0		# internal i/o space
1791.80Sgmcgarrydio0		at mainbus0		# DIO/DIO-II bus
1801.173Stsutsuisgc0		at mainbus0		# SGC bus
1811.69Sgmcgarry
1821.161Stsutsui# Human Interface Loop devices
1831.161Stsutsuihil0		at intio?		# HIL controller
1841.161Stsutsuihilkbd* 	at hil?			# keyboards
1851.161Stsutsuiwskbd*		at hilkbd? mux 1
1861.161Stsutsuihilms*		at hil?			# mice, buttons and tablets
1871.161Stsutsuiwsmouse*	at hilms? mux 0
1881.161Stsutsuihilid*		at hil?			# ID module
1891.161Stsutsui
1901.80Sgmcgarryrtc*		at intio?		# real-time clock (not optional)
1911.89Sgmcgarrydma* 		at intio?		# DMA controller
1921.160Stsutsuifrodo*		at intio?		# Frodo utility chip found on 382, 4xx
1931.93Sgmcgarrynhpib*		at intio?		# slow internal HP-IB
1941.32Sthorpej
1951.32Sthorpej# 8250-like serial ports found on Frodo ASIC
1961.164Stsutsuidnkbd0		at frodo? offset 0x0	# Domain keyboard flavor
1971.164Stsutsuiwskbd*		at dnkbd? mux 1
1981.164Stsutsuiwsmouse*	at dnkbd? mux 0
1991.96Stsutsuicom*		at frodo? offset ?	# tty flavor
2001.20Sthorpej
2011.181Stsutsui# mc146818-like real time clock found on 425e
2021.181Stsutsuimcclock0	at frodo? offset 0x80
2031.181Stsutsui
2041.160Stsutsuidvbox*		at intio?		# Davinci framebuffer
2051.20Sthorpejdvbox*		at dio? scode ?
2061.161Stsutsuiwsdisplay*	at dvbox?
2071.20Sthorpej
2081.80Sgmcgarrygbox*		at intio?		# Gatorbox framebuffer
2091.20Sthorpejgbox*		at dio? scode ?
2101.161Stsutsuiwsdisplay*	at gbox?
2111.20Sthorpej
2121.80Sgmcgarryhyper*		at dio? scode ?		# Hyperion framebuffer
2131.161Stsutsuiwsdisplay*	at hyper?
2141.20Sthorpej
2151.80Sgmcgarryrbox*		at intio?		# Renaissance framebuffer
2161.20Sthorpejrbox*		at dio? scode ?
2171.161Stsutsuiwsdisplay*	at rbox?
2181.20Sthorpej
2191.80Sgmcgarrytopcat*		at intio?		# Topcat/catseye framebuffers
2201.20Sthorpejtopcat*		at dio? scode ?
2211.161Stsutsuiwsdisplay*	at topcat?
2221.20Sthorpej
2231.161Stsutsuitvrx*		at dio? scode ?		# TurboVRX framebuffer
2241.161Stsutsuiwsdisplay*	at tvrx?
2251.20Sthorpej
2261.162Stsutsuigendiofb*	at dio? scode ?		# dumb framebuffer support for 362/382
2271.162Stsutsuiwsdisplay*	at gendiofb?
2281.162Stsutsui
2291.173Stsutsuisti*		at sgc?	slot ?		# SGC EVRX framebuffers
2301.173Stsutsuiwsdisplay*	at sti?
2311.166Stsutsui
2321.97Stsutsuicom0		at dio0 scode 9		# DCA serial interfaces
2331.97Stsutsuicom*		at dio? scode ?
2341.20Sthorpej
2351.20Sthorpejdcm*		at dio? scode ?	flags 0xe # DCM 4- or 8-port serial interfaces
2361.20Sthorpej
2371.20Sthorpejle*		at dio? scode ?		# LANCE ethernet interfaces
2381.20Sthorpej
2391.20Sthorpejnhpib0		at dio? scode 7		# slow internal HP-IB
2401.20Sthorpejnhpib*		at dio? scode ?
2411.20Sthorpej
2421.20Sthorpejfhpib*		at dio? scode ?		# `fast' HP-IB
2431.20Sthorpej
2441.20Sthorpejhpibbus0	at nhpib0
2451.20Sthorpejhpibbus*	at nhpib?
2461.20Sthorpejhpibbus*	at fhpib?
2471.3Sthorpej
2481.20Sthorpejrd*		at hpibbus? slave ? punit ?	# HP-IB disks
2491.20Sthorpejct*		at hpibbus? slave ? punit ?	# HP-IB cartridge tapes
2501.20Sthorpejmt*		at hpibbus? slave ? punit ?	# HP-IB 9-track tape
2511.20Sthorpejppi0		at hpibbus0 slave 5 punit 0	# HP-IB plotter
2521.1Smycroft
2531.94Stsutsuispc*		at dio? scode ?			# HP 98265A SCSI
2541.94Stsutsuiscsibus*	at spc?
2551.1Smycroft
2561.94Stsutsuisd*		at scsibus? target ? lun ?	# SCSI disks
2571.94Stsutsuist*		at scsibus? target ? lun ?	# SCSI tapes
2581.94Stsutsuicd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
2591.94Stsutsuich*		at scsibus? target ? lun ?	# SCSI changer devices
2601.94Stsutsuiss*		at scsibus? target ? lun ?	# SCSI scanners
2611.94Stsutsuiuk*		at scsibus? target ? lun ?	# unknown SCSI devices
2621.1Smycroft
2631.188Stsutsui# 425e digital audio
2641.188Stsutsuiarcofi* 	at dio? scode ?
2651.188Stsutsuiaudio*		at arcofi?
2661.188Stsutsui
2671.194Schristosspkr*		at audio?		# PC speaker (synthesized)
2681.192Snat
2691.80Sgmcgarry#
2701.80Sgmcgarry# Pseudo-devices
2711.80Sgmcgarry#
2721.80Sgmcgarry
2731.80Sgmcgarry# disk pseudo-devices
2741.176Schristospseudo-device	ccd			# concatenated disk devices
2751.176Schristos#pseudo-device	cgd			# cryptographic disk devices
2761.177Schristospseudo-device	raid			# RAIDframe disk driver
2771.75Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2781.75Soster# Options to enable various other RAIDframe RAID types.
2791.108Stsutsui#options 	RF_INCLUDE_EVENODD=1
2801.108Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
2811.108Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
2821.108Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
2831.108Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
2841.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2851.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2861.183Stsutsui#pseudo-device	fss			# file system snapshot device
2871.158Shannkenpseudo-device	md			# memory disk device (ramdisk)
2881.129Scubepseudo-device	vnd			# vnode pseudo-disks
2891.117Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2901.80Sgmcgarry
2911.80Sgmcgarry# network pseudo-devices
2921.80Sgmcgarrypseudo-device	bridge			# simple inter-network bridging
2931.122Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2941.139Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
2951.128Srpaulopseudo-device	bpfilter		# Berkeley packet filter
2961.131Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
2971.129Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2981.129Scube#pseudo-device	gre			# generic L3 over IP tunnel
2991.129Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3001.199Smaxvpseudo-device	npf			# NPF packet filter
3011.80Sgmcgarrypseudo-device	loop			# loopback network interface
3021.129Scubepseudo-device	ppp			# PPP network interfaces
3031.80Sgmcgarrypseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3041.129Scubepseudo-device	sl			# SLIP network interfaces
3051.130Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3061.129Scubepseudo-device	tun			# network tunneling over tty
3071.109Scubepseudo-device	tap			# virtual Ethernet
3081.62Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
3091.80Sgmcgarry
3101.147Stls#
3111.147Stls# accept filters
3121.183Stsutsui#pseudo-device   accf_data		# "dataready" accept filter
3131.183Stsutsui#pseudo-device   accf_http		# "httpready" accept filter
3141.147Stls
3151.80Sgmcgarry# miscellaneous pseudo-devices
3161.81Slukempseudo-device	clockctl		# user control of clock subsystem
3171.80Sgmcgarrypseudo-device	pty			# pseudo-terminals
3181.183Stsutsui#pseudo-device	vcoda			# coda minicache <-> venus comm.
3191.92Sraggepseudo-device	ksyms			# /dev/ksyms
3201.183Stsutsui#pseudo-device	putter			# for puffs and pud
3211.126Selad
3221.161Stsutsui# wscons pseudo-devices
3231.161Stsutsuipseudo-device	wsmux			# mouse & keyboard multiplexor
3241.161Stsutsuipseudo-device	wsfont
3251.161Stsutsui
3261.126Selad# Veriexec
3271.126Selad#
3281.126Selad# a pseudo device needed for veriexec
3291.177Schristos#pseudo-device	veriexec
3301.126Selad#
3311.126Selad# Uncomment the fingerprint methods below that are desired. Note that
3321.126Selad# removing fingerprint methods will have almost no impact on the kernel
3331.126Selad# code size.
3341.126Selad#
3351.136Stsutsui#options 	VERIFIED_EXEC_FP_SHA256
3361.136Stsutsui#options 	VERIFIED_EXEC_FP_SHA384
3371.136Stsutsui#options 	VERIFIED_EXEC_FP_SHA512
338