GENERIC revision 1.122
11.122Stsutsui# $NetBSD: GENERIC,v 1.122 2005/08/20 03:42:25 tsutsui Exp $
21.1Smycroft#
31.72Sgmcgarry# GENERIC machine description file
41.72Sgmcgarry# 
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.122Stsutsui#ident 		"GENERIC-$Revision: 1.122 $"
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.20Sthorpejoptions 	HP370
371.28Sthorpejoptions 	HP375
381.28Sthorpejoptions 	HP380
391.47Sthorpejoptions 	HP385
401.28Sthorpejoptions 	HP400
411.28Sthorpejoptions 	HP425
421.28Sthorpejoptions 	HP433
431.80Sgmcgarryoptions 	FPSP		# floating point interface for 68040
441.80Sgmcgarry
451.80Sgmcgarry# Standard system options
461.80Sgmcgarryoptions 	KTRACE		# system call tracing support
471.85Sprovosoptions 	SYSTRACE	# system call vetting via systrace(1)
481.80Sgmcgarryoptions 	LKM		# Loadable kernel modules
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.108Stsutsui#options 	SHMMAXPGS=1024	# 1024 pages is the default
571.80Sgmcgarryoptions 	SYSVMSG		# System V-style message queues
581.80Sgmcgarryoptions 	SYSVSEM		# System V-style semaphores
591.80Sgmcgarry#options 	SEMMNI=10	# number of semaphore identifiers
601.80Sgmcgarry#options 	SEMMNS=60	# number of semaphores in system
611.80Sgmcgarry#options 	SEMUME=10	# max number of undo entries per process
621.80Sgmcgarry#options 	SEMMNU=30	# number of undo structures in system
631.102Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
641.87Sjunyoung
651.88Swiz# Enable experimental buffer queue strategy for better responsiveness under 
661.87Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
671.114Stsutsui#options 	BUFQ_READPRIO
681.114Stsutsui#options 	BUFQ_PRIOCSCAN
691.1Smycroft
701.80Sgmcgarry# Debugging options
711.80Sgmcgarryoptions 	DIAGNOSTIC	# Extra kernel sanity checks
721.80Sgmcgarry#options 	DEBUG		# Enable misc. kernel debugging code
731.80Sgmcgarry#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
741.80Sgmcgarryoptions 	DDB		# Kernel Dynamic Debugger
751.80Sgmcgarry#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
761.80Sgmcgarry#options 	KGDB		# remote debugger
771.80Sgmcgarry#makeoptions	DEBUG="-g"	# netbsd.gdb with full debugging symbols
781.1Smycroft
791.80Sgmcgarry# Compatibility options
801.20Sthorpejoptions 	COMPAT_43	# compatibility with 4.3BSD interfaces
811.20Sthorpejoptions 	COMPAT_44	# compatibility with 4.4BSD binaries
821.20Sthorpejoptions 	COMPAT_09	# compatibility with NetBSD 0.9
831.20Sthorpejoptions 	COMPAT_10	# compatibility with NetBSD 1.0
841.20Sthorpejoptions 	COMPAT_11	# compatibility with NetBSD 1.1
851.20Sthorpejoptions 	COMPAT_12	# compatibility with NetBSD 1.2
861.37Skleinkoptions 	COMPAT_13	# compatibility with NetBSD 1.3
871.46Saugustssoptions 	COMPAT_14	# compatibility with NetBSD 1.4
881.95Scloptions 	COMPAT_15	# compatibility with NetBSD 1.5
891.95Scloptions 	COMPAT_16	# compatibility with NetBSD 1.6
901.104Stsutsuioptions 	COMPAT_20	# compatibility with NetBSD 2.0
911.120Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
921.66Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
931.80Sgmcgarry
941.80Sgmcgarry# Binary compatibility.
951.80Sgmcgarryoptions 	COMPAT_HPUX	# HP-UX binary compatibility
961.80Sgmcgarryoptions 	COMPAT_AOUT_M68K	# NetBSD/m68k a.out binary compatibility
971.80Sgmcgarryoptions 	COMPAT_M68K4K	# NetBSD/m68k4k binary compatibility
981.80Sgmcgarryoptions 	COMPAT_SUNOS	# SunOS4 m68k binary compatibility
991.80Sgmcgarryoptions 	COMPAT_LINUX	# Linux/m68k binary compatibility
1001.80Sgmcgarryoptions 	COMPAT_SVR4	# SVR4 binary compatibility
1011.108Stsutsuioptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1021.1Smycroft
1031.22Sthorpej# Filesystems
1041.80Sgmcgarryfile-system	CD9660		# CD-ROM ISO-9660 filesystem
1051.80Sgmcgarryfile-system	EXT2FS		# second extended file system (linux)
1061.80Sgmcgarryfile-system	FDESC		# user file descriptor filesystem
1071.29Slukemfile-system	FFS		# fast filesystem
1081.80Sgmcgarryfile-system	KERNFS		# kernel data-structure filesystem
1091.80Sgmcgarryfile-system	LFS		# log-structured file system
1101.80Sgmcgarryfile-system	MFS		# Memory-based filesystem
1111.29Slukemfile-system	NFS		# Network filesystem client
1121.80Sgmcgarryfile-system	NULLFS		# loopback file system
1131.80Sgmcgarryfile-system	OVERLAY		# overlay file system
1141.80Sgmcgarryfile-system	PORTAL		# portal filesystem (still experimental)
1151.80Sgmcgarryfile-system	PROCFS		# /proc filesystem
1161.80Sgmcgarryfile-system	UMAPFS		# NULLFS + uid and gid remapping
1171.29Slukemfile-system	UNION		# Union filesystem (req. for FDESC)
1181.80Sgmcgarryfile-system	CODA		# Coda File System; also needs vcoda (below)
1191.121Schristosfile-system	PTYFS		# /dev/pts/N support
1201.22Sthorpej
1211.1Smycroft# Filesystem options
1221.22Sthorpejoptions 	QUOTA		# User and group quotas in FFS
1231.38Sbouyer#options 	FFS_EI		# FFS Endian Independant support
1241.70Slukemoptions 	SOFTDEP		# FFS soft updates 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.113Sdsl#options 	FFS_NO_SNAPSHOT	# ffs snapshots
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.29Slukemoptions 	GATEWAY		# IP forwarding + larger mb_map
1391.29Slukemoptions 	MROUTING	# Multicast routing
1401.106Smanuoptions 	PIM		# Protocol Independent Multicast
1411.80Sgmcgarryoptions 	NS		# XNS
1421.80Sgmcgarry#options 	NSIP		# XNS tunneling over IP
1431.80Sgmcgarryoptions 	ISO,TPIP	# OSI
1441.80Sgmcgarry#options 	EON		# OSI tunneling over IP
1451.80Sgmcgarryoptions 	CCITT,LLC,HDLC	# X.25
1461.80Sgmcgarryoptions 	NETATALK	# AppleTalk networking protocols
1471.80Sgmcgarryoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1481.80Sgmcgarryoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1491.80Sgmcgarryoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1501.45Schristosoptions 	PFIL_HOOKS	# packet filter hooks
1511.80Sgmcgarryoptions 	IPFILTER_LOG	# ipmon(8) log support
1521.84Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1531.66Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1541.1Smycroft
1551.101Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1561.101Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1571.101Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1581.101Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1591.101Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1601.101Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1611.101Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1621.101Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1631.101Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1641.101Sabs#options 	ALTQ_RED	# Random Early Detection
1651.101Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1661.101Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1671.101Sabs
1681.1Smycroft# Options for HP hardware
1691.21Sscottroptions 	USELEDS		# make the lights twinkle
1701.29Slukem#options 	PANICBUTTON	# two fast <reset>s on HIL dump kernel
1711.30Slukem#options 	CONSCODE=9	# force console at this select code
1721.20Sthorpej#options 	MAPPEDCOPY	# different copyin/copyout for large copies
1731.20Sthorpej
1741.80Sgmcgarry# These options enable verbose messages for several subsystems.
1751.80Sgmcgarry# Warning, these may compile large string tables into the kernel!
1761.80Sgmcgarry#options 	SCSIVERBOSE	# Verbose SCSI errors
1771.21Sscottroptions 	DIOVERBOSE	# recognize "unknown" DIO devices
1781.1Smycroft
1791.22Sthorpejconfig		netbsd root on ? type ?
1801.1Smycroft
1811.80Sgmcgarry#
1821.80Sgmcgarry# Device configuration
1831.80Sgmcgarry#
1841.20Sthorpej
1851.80Sgmcgarrymainbus0	at root			# root "bus"
1861.32Sthorpej
1871.80Sgmcgarryintio0		at mainbus0		# internal i/o space
1881.80Sgmcgarrydio0		at mainbus0		# DIO/DIO-II bus
1891.69Sgmcgarry
1901.80Sgmcgarryrtc*		at intio?		# real-time clock (not optional)
1911.89Sgmcgarrydma* 		at intio?		# DMA controller
1921.80Sgmcgarryhil*		at intio?		# Human Interface Loop
1931.80Sgmcgarryoptions 	UK_KEYBOARD		# include United Kingdom HIL keymap
1941.80Sgmcgarryoptions 	SE_KEYBOARD		# include Swedish HIL keymap
1951.80Sgmcgarryfrodo*		at intio?		# Frodo utility chip found on 4xx's
1961.93Sgmcgarrynhpib*		at intio?		# slow internal HP-IB
1971.32Sthorpej
1981.32Sthorpej# 8250-like serial ports found on Frodo ASIC
1991.32Sthorpej#dnkbd0		at frodo? offset 0x0	# Domain keyboard flavor
2001.96Stsutsuicom*		at frodo? offset ?	# tty flavor
2011.20Sthorpej
2021.80Sgmcgarrydvbox*		at intio? 		# Davinci framebuffer
2031.20Sthorpejdvbox*		at dio? scode ?
2041.20Sthorpej
2051.80Sgmcgarrygbox*		at intio?		# Gatorbox framebuffer
2061.20Sthorpejgbox*		at dio? scode ?
2071.20Sthorpej
2081.80Sgmcgarryhyper*		at dio? scode ?		# Hyperion framebuffer
2091.20Sthorpej
2101.80Sgmcgarryrbox*		at intio?		# Renaissance framebuffer
2111.20Sthorpejrbox*		at dio? scode ?
2121.20Sthorpej
2131.80Sgmcgarrytopcat*		at intio?		# Topcat/catseye framebuffers
2141.20Sthorpejtopcat*		at dio? scode ?
2151.20Sthorpej
2161.20Sthorpej# Framebuffer abstraction
2171.20Sthorpejgrf*		at dvbox?
2181.20Sthorpejgrf*		at gbox?
2191.20Sthorpejgrf*		at hyper?
2201.20Sthorpejgrf*		at rbox?
2211.20Sthorpejgrf*		at topcat?
2221.20Sthorpej
2231.80Sgmcgarryite*		at grf?			# Internal Terminal Emulator
2241.20Sthorpej
2251.97Stsutsuicom0		at dio0 scode 9		# DCA serial interfaces
2261.97Stsutsuicom*		at dio? scode ?
2271.20Sthorpej
2281.20Sthorpejdcm*		at dio? scode ?	flags 0xe # DCM 4- or 8-port serial interfaces
2291.20Sthorpej
2301.20Sthorpejle*		at dio? scode ?		# LANCE ethernet interfaces
2311.20Sthorpej
2321.20Sthorpejnhpib0		at dio? scode 7		# slow internal HP-IB
2331.20Sthorpejnhpib*		at dio? scode ?
2341.20Sthorpej
2351.20Sthorpejfhpib*		at dio? scode ?		# `fast' HP-IB
2361.20Sthorpej
2371.20Sthorpejhpibbus0	at nhpib0
2381.20Sthorpejhpibbus*	at nhpib?
2391.20Sthorpejhpibbus*	at fhpib?
2401.3Sthorpej
2411.20Sthorpejrd*		at hpibbus? slave ? punit ?	# HP-IB disks
2421.20Sthorpejct*		at hpibbus? slave ? punit ?	# HP-IB cartridge tapes
2431.20Sthorpejmt*		at hpibbus? slave ? punit ?	# HP-IB 9-track tape
2441.20Sthorpejppi0		at hpibbus0 slave 5 punit 0	# HP-IB plotter
2451.1Smycroft
2461.94Stsutsuispc*		at dio? scode ?			# HP 98265A SCSI
2471.94Stsutsuiscsibus*	at spc?
2481.1Smycroft
2491.94Stsutsuisd*		at scsibus? target ? lun ?	# SCSI disks
2501.94Stsutsuist*		at scsibus? target ? lun ?	# SCSI tapes
2511.94Stsutsuicd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
2521.94Stsutsuich*		at scsibus? target ? lun ?	# SCSI changer devices
2531.94Stsutsuiss*		at scsibus? target ? lun ?	# SCSI scanners
2541.94Stsutsuiuk*		at scsibus? target ? lun ?	# unknown SCSI devices
2551.1Smycroft
2561.80Sgmcgarry#
2571.80Sgmcgarry# Pseudo-devices
2581.80Sgmcgarry#
2591.80Sgmcgarry
2601.80Sgmcgarry# disk pseudo-devices
2611.4Sthorpejpseudo-device	ccd		4	# concatenated disk devices
2621.86Selric#pseudo-device	cgd		4	# cryptographic disk devices
2631.75Sosterpseudo-device	raid		8	# RAIDframe disk driver
2641.75Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2651.75Soster# Options to enable various other RAIDframe RAID types.
2661.108Stsutsui#options 	RF_INCLUDE_EVENODD=1
2671.108Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
2681.108Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
2691.108Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
2701.108Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
2711.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2721.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2731.111Shannkenpseudo-device	fss		4	# file system snapshot device
2741.80Sgmcgarrypseudo-device	md		1	# memory disk device (ramdisk)
2751.80Sgmcgarrypseudo-device	vnd		4	# vnode pseudo-disks
2761.117Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2771.80Sgmcgarry
2781.80Sgmcgarry# network pseudo-devices
2791.80Sgmcgarrypseudo-device	bridge			# simple inter-network bridging
2801.122Stsutsui#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
2811.80Sgmcgarrypseudo-device	bpfilter	8	# Berkeley packet filter
2821.80Sgmcgarry#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2831.42Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2841.49Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2851.80Sgmcgarrypseudo-device	ipfilter 		# IP Filter package
2861.80Sgmcgarrypseudo-device	loop			# loopback network interface
2871.80Sgmcgarrypseudo-device	ppp		4	# PPP network interfaces
2881.80Sgmcgarrypseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2891.80Sgmcgarrypseudo-device	sl		4	# SLIP network interfaces
2901.54Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2911.80Sgmcgarrypseudo-device	tun		2	# network tunneling over tty
2921.109Scubepseudo-device	tap			# virtual Ethernet
2931.62Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2941.80Sgmcgarry
2951.80Sgmcgarry# miscellaneous pseudo-devices
2961.81Slukempseudo-device	clockctl		# user control of clock subsystem
2971.80Sgmcgarrypseudo-device	pty			# pseudo-terminals
2981.61Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2991.80Sgmcgarrypseudo-device	vcoda		4	# coda minicache <-> venus comm.
3001.92Sraggepseudo-device	ksyms			# /dev/ksyms
3011.100Sitojun#pseudo-device	pf			# PF packet filter
3021.100Sitojun#pseudo-device	pflog			# PF log if
303