GENERIC revision 1.82
11.82Slukem# $NetBSD: GENERIC,v 1.82 2002/09/18 02:43:58 lukem 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.82Slukem#ident 		"GENERIC-$Revision: 1.82 $"
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.80Sgmcgarryoptions 	LKM		# Loadable kernel modules
481.80Sgmcgarry#options 	INSECURE	# disable kernel security level
491.80Sgmcgarry#options 	UCONSOLE	# Allow non-root TIOCCONS
501.82Slukemoptions 	USERCONF	# userconf(4) support
511.80Sgmcgarry#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
521.80Sgmcgarry#options	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
531.80Sgmcgarryoptions 	NTP		# NTP phase/frequency locked loop
541.80Sgmcgarryoptions 	SYSVSHM		# System V-style shared memory
551.80Sgmcgarry#options	SHMMAXPGS=1024	# 1024 pages is the default
561.80Sgmcgarryoptions 	SYSVMSG		# System V-style message queues
571.80Sgmcgarryoptions 	SYSVSEM		# System V-style semaphores
581.80Sgmcgarry#options 	SEMMNI=10	# number of semaphore identifiers
591.80Sgmcgarry#options 	SEMMNS=60	# number of semaphores in system
601.80Sgmcgarry#options 	SEMUME=10	# max number of undo entries per process
611.80Sgmcgarry#options 	SEMMNU=30	# number of undo structures in system
621.1Smycroft
631.80Sgmcgarry# Debugging options
641.80Sgmcgarryoptions 	DIAGNOSTIC	# Extra kernel sanity checks
651.80Sgmcgarry#options 	DEBUG		# Enable misc. kernel debugging code
661.80Sgmcgarry#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
671.80Sgmcgarryoptions 	DDB		# Kernel Dynamic Debugger
681.80Sgmcgarry#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
691.80Sgmcgarry#options 	KGDB		# remote debugger
701.80Sgmcgarry#makeoptions	DEBUG="-g"	# netbsd.gdb with full debugging symbols
711.1Smycroft
721.80Sgmcgarry# Compatibility options
731.20Sthorpejoptions 	COMPAT_43	# compatibility with 4.3BSD interfaces
741.20Sthorpejoptions 	COMPAT_44	# compatibility with 4.4BSD binaries
751.20Sthorpejoptions 	COMPAT_09	# compatibility with NetBSD 0.9
761.20Sthorpejoptions 	COMPAT_10	# compatibility with NetBSD 1.0
771.20Sthorpejoptions 	COMPAT_11	# compatibility with NetBSD 1.1
781.20Sthorpejoptions 	COMPAT_12	# compatibility with NetBSD 1.2
791.37Skleinkoptions 	COMPAT_13	# compatibility with NetBSD 1.3
801.46Saugustssoptions 	COMPAT_14	# compatibility with NetBSD 1.4
811.66Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
821.80Sgmcgarry
831.80Sgmcgarry# Binary compatibility.
841.80Sgmcgarryoptions 	COMPAT_HPUX	# HP-UX binary compatibility
851.80Sgmcgarryoptions 	COMPAT_AOUT_M68K	# NetBSD/m68k a.out binary compatibility
861.80Sgmcgarryoptions 	COMPAT_M68K4K	# NetBSD/m68k4k binary compatibility
871.80Sgmcgarryoptions 	COMPAT_SUNOS	# SunOS4 m68k binary compatibility
881.80Sgmcgarryoptions 	COMPAT_LINUX	# Linux/m68k binary compatibility
891.80Sgmcgarryoptions 	COMPAT_SVR4	# SVR4 binary compatibility
901.1Smycroft
911.22Sthorpej# Filesystems
921.80Sgmcgarryfile-system	CD9660		# CD-ROM ISO-9660 filesystem
931.80Sgmcgarryfile-system	EXT2FS		# second extended file system (linux)
941.80Sgmcgarryfile-system	FDESC		# user file descriptor filesystem
951.29Slukemfile-system	FFS		# fast filesystem
961.80Sgmcgarryfile-system	KERNFS		# kernel data-structure filesystem
971.80Sgmcgarryfile-system	LFS		# log-structured file system
981.80Sgmcgarryfile-system	MFS		# Memory-based filesystem
991.29Slukemfile-system	NFS		# Network filesystem client
1001.80Sgmcgarryfile-system	NULLFS		# loopback file system
1011.80Sgmcgarryfile-system	OVERLAY		# overlay file system
1021.80Sgmcgarryfile-system	PORTAL		# portal filesystem (still experimental)
1031.80Sgmcgarryfile-system	PROCFS		# /proc filesystem
1041.80Sgmcgarryfile-system	UMAPFS		# NULLFS + uid and gid remapping
1051.29Slukemfile-system	UNION		# Union filesystem (req. for FDESC)
1061.80Sgmcgarryfile-system	CODA		# Coda File System; also needs vcoda (below)
1071.22Sthorpej
1081.1Smycroft# Filesystem options
1091.22Sthorpejoptions 	QUOTA		# User and group quotas in FFS
1101.38Sbouyer#options 	FFS_EI		# FFS Endian Independant support
1111.70Slukemoptions 	SOFTDEP		# FFS soft updates support.
1121.20Sthorpejoptions 	NFSSERVER	# Network filesystem server
1131.80Sgmcgarry#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags
1141.73Sgmcgarryoptions 	NFS_BOOT_BOOTP	# use bootp for NFS boot
1151.49Sitojun
1161.1Smycroft# Networking options
1171.21Sscottroptions 	INET		# Internet protocols
1181.49Sitojunoptions 	INET6		# IPV6
1191.49Sitojun#options 	IPSEC		# IP security
1201.49Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1211.49Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1221.29Slukemoptions 	GATEWAY		# IP forwarding + larger mb_map
1231.29Slukemoptions 	MROUTING	# Multicast routing
1241.80Sgmcgarryoptions 	NS		# XNS
1251.80Sgmcgarry#options 	NSIP		# XNS tunneling over IP
1261.80Sgmcgarryoptions 	ISO,TPIP	# OSI
1271.80Sgmcgarry#options 	EON		# OSI tunneling over IP
1281.80Sgmcgarryoptions 	CCITT,LLC,HDLC	# X.25
1291.80Sgmcgarryoptions 	NETATALK	# AppleTalk networking protocols
1301.80Sgmcgarryoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1311.80Sgmcgarryoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1321.80Sgmcgarryoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1331.45Schristosoptions 	PFIL_HOOKS	# packet filter hooks
1341.80Sgmcgarryoptions 	IPFILTER_LOG	# ipmon(8) log support
1351.66Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1361.1Smycroft
1371.1Smycroft# Options for HP hardware
1381.21Sscottroptions 	USELEDS		# make the lights twinkle
1391.21Sscottroptions 	COMPAT_NOLABEL	# defaults for unlabeled disks
1401.29Slukem#options 	PANICBUTTON	# two fast <reset>s on HIL dump kernel
1411.30Slukem#options 	CONSCODE=9	# force console at this select code
1421.20Sthorpej#options 	MAPPEDCOPY	# different copyin/copyout for large copies
1431.20Sthorpej
1441.80Sgmcgarry# These options enable verbose messages for several subsystems.
1451.80Sgmcgarry# Warning, these may compile large string tables into the kernel!
1461.80Sgmcgarry#options 	SCSIVERBOSE	# Verbose SCSI errors
1471.21Sscottroptions 	DIOVERBOSE	# recognize "unknown" DIO devices
1481.1Smycroft
1491.22Sthorpejconfig		netbsd root on ? type ?
1501.1Smycroft
1511.80Sgmcgarry#
1521.80Sgmcgarry# Device configuration
1531.80Sgmcgarry#
1541.20Sthorpej
1551.80Sgmcgarrymainbus0	at root			# root "bus"
1561.32Sthorpej
1571.80Sgmcgarryintio0		at mainbus0		# internal i/o space
1581.80Sgmcgarrydio0		at mainbus0		# DIO/DIO-II bus
1591.69Sgmcgarry
1601.80Sgmcgarryrtc*		at intio?		# real-time clock (not optional)
1611.80Sgmcgarryhil*		at intio?		# Human Interface Loop
1621.80Sgmcgarryoptions 	UK_KEYBOARD		# include United Kingdom HIL keymap
1631.80Sgmcgarryoptions 	SE_KEYBOARD		# include Swedish HIL keymap
1641.80Sgmcgarryfrodo*		at intio?		# Frodo utility chip found on 4xx's
1651.32Sthorpej
1661.32Sthorpej# 8250-like serial ports found on Frodo ASIC
1671.32Sthorpej#dnkbd0		at frodo? offset 0x0	# Domain keyboard flavor
1681.32Sthorpejapci*		at frodo? offset ?	# tty flavor
1691.20Sthorpej
1701.80Sgmcgarrydvbox*		at intio? 		# Davinci framebuffer
1711.20Sthorpejdvbox*		at dio? scode ?
1721.20Sthorpej
1731.80Sgmcgarrygbox*		at intio?		# Gatorbox framebuffer
1741.20Sthorpejgbox*		at dio? scode ?
1751.20Sthorpej
1761.80Sgmcgarryhyper*		at dio? scode ?		# Hyperion framebuffer
1771.20Sthorpej
1781.80Sgmcgarryrbox*		at intio?		# Renaissance framebuffer
1791.20Sthorpejrbox*		at dio? scode ?
1801.20Sthorpej
1811.80Sgmcgarrytopcat*		at intio?		# Topcat/catseye framebuffers
1821.20Sthorpejtopcat*		at dio? scode ?
1831.20Sthorpej
1841.20Sthorpej# Framebuffer abstraction
1851.20Sthorpejgrf*		at dvbox?
1861.20Sthorpejgrf*		at gbox?
1871.20Sthorpejgrf*		at hyper?
1881.20Sthorpejgrf*		at rbox?
1891.20Sthorpejgrf*		at topcat?
1901.20Sthorpej
1911.80Sgmcgarryite*		at grf?			# Internal Terminal Emulator
1921.20Sthorpej
1931.31Slukemdca0		at dio? scode 9	flags 1	# DCA serial interfaces
1941.20Sthorpejdca*		at dio? scode ?
1951.20Sthorpej
1961.20Sthorpejdcm*		at dio? scode ?	flags 0xe # DCM 4- or 8-port serial interfaces
1971.20Sthorpej
1981.20Sthorpejle*		at dio? scode ?		# LANCE ethernet interfaces
1991.20Sthorpej
2001.20Sthorpejnhpib0		at dio? scode 7		# slow internal HP-IB
2011.20Sthorpejnhpib*		at dio? scode ?
2021.20Sthorpej
2031.20Sthorpejfhpib*		at dio? scode ?		# `fast' HP-IB
2041.20Sthorpej
2051.20Sthorpejhpibbus0	at nhpib0
2061.20Sthorpejhpibbus*	at nhpib?
2071.20Sthorpejhpibbus*	at fhpib?
2081.3Sthorpej
2091.20Sthorpejrd*		at hpibbus? slave ? punit ?	# HP-IB disks
2101.20Sthorpejct*		at hpibbus? slave ? punit ?	# HP-IB cartridge tapes
2111.20Sthorpejmt*		at hpibbus? slave ? punit ?	# HP-IB 9-track tape
2121.20Sthorpejppi0		at hpibbus0 slave 5 punit 0	# HP-IB plotter
2131.1Smycroft
2141.20Sthorpejoscsi*		at dio? scode ?		# Old HP SCSI
2151.1Smycroft
2161.20Sthorpejsd*		at oscsi? target ? lun ?	# SCSI disks
2171.20Sthorpejst*		at oscsi? target ? lun ?	# SCSI tapes
2181.20Sthorpejac*		at oscsi? target ? lun ?	# SCSI changers
2191.1Smycroft
2201.80Sgmcgarry#
2211.80Sgmcgarry# Pseudo-devices
2221.80Sgmcgarry#
2231.80Sgmcgarry
2241.80Sgmcgarry# disk pseudo-devices
2251.4Sthorpejpseudo-device	ccd		4	# concatenated disk devices
2261.75Sosterpseudo-device	raid		8	# RAIDframe disk driver
2271.75Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2281.75Soster# Options to enable various other RAIDframe RAID types.
2291.75Soster# options	RF_INCLUDE_EVENODD=1
2301.75Soster# options	RF_INCLUDE_RAID5_RS=1
2311.75Soster# options	RF_INCLUDE_PARITYLOGGING=1
2321.75Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2331.75Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2341.75Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2351.75Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2361.80Sgmcgarrypseudo-device	md		1	# memory disk device (ramdisk)
2371.80Sgmcgarrypseudo-device	vnd		4	# vnode pseudo-disks
2381.80Sgmcgarry
2391.80Sgmcgarry# network pseudo-devices
2401.80Sgmcgarrypseudo-device	bridge			# simple inter-network bridging
2411.80Sgmcgarrypseudo-device	bpfilter	8	# Berkeley packet filter
2421.80Sgmcgarry#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2431.42Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2441.49Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2451.80Sgmcgarrypseudo-device	ipfilter 		# IP Filter package
2461.80Sgmcgarrypseudo-device	loop			# loopback network interface
2471.80Sgmcgarrypseudo-device	ppp		4	# PPP network interfaces
2481.80Sgmcgarrypseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2491.80Sgmcgarrypseudo-device	sl		4	# SLIP network interfaces
2501.54Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2511.80Sgmcgarrypseudo-device	tun		2	# network tunneling over tty
2521.62Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2531.80Sgmcgarry
2541.80Sgmcgarry# miscellaneous pseudo-devices
2551.81Slukempseudo-device	clockctl		# user control of clock subsystem
2561.80Sgmcgarrypseudo-device	pty			# pseudo-terminals
2571.61Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2581.80Sgmcgarrypseudo-device	vcoda		4	# coda minicache <-> venus comm.
259