GENERIC revision 1.41
11.41Sur#	$NetBSD: GENERIC,v 1.41 2000/12/24 09:25:25 ur Exp $
21.27Ssoda#	$OpenBSD: GENERIC,v 1.29 1999/08/29 12:14:03 niklas Exp $
31.1Sjonathan#
41.27Ssoda#	GENERIC -- everything that's currently supported
51.1Sjonathan#
61.1Sjonathan
71.23Ssodainclude		"arch/arc/conf/std.arc"
81.24Ssoda
91.41Sur#ident		"GENERIC-$Revision: 1.41 $"
101.1Sjonathan
111.27Ssodamaxusers	32		# estimated number of users
121.27Ssoda
131.27Ssoda# Standard system options
141.1Sjonathan
151.23Ssodaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
161.27Ssodaoptions 	NTP		# NTP phase/frequency locked loop
171.1Sjonathan
181.27Ssodaoptions 	KTRACE		# system call tracing via ktrace(1)
191.1Sjonathan
201.10Slukemoptions 	SYSVMSG		# System V-like message queues
211.10Slukemoptions 	SYSVSEM		# System V-like semaphores
221.10Slukemoptions 	SYSVSHM		# System V-like memory sharing
231.27Ssoda#options 	SHMMAXPGS=1024	# 1024 pages is the default
241.27Ssoda
251.27Ssodaoptions 	LKM		# loadable kernel modules
261.27Ssoda
271.27Ssoda# Diagnostic/debugging support options
281.27Ssodaoptions 	DIAGNOSTIC	# cheap kernel consistency checks
291.27Ssoda#options 	DEBUG		# expensive debugging checks/support
301.27Ssoda#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
311.27Ssodaoptions 	DDB		# in-kernel debugger
321.27Ssoda#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
331.27Ssoda#options 	KGDB		# remote gdb
341.27Ssoda#options 	KGDBRATE=19200	# kernel gdb port rate (default 9600)
351.27Ssoda#options 	KGDBDEV="17*256+0"	# device for kernel gdb
361.27Ssoda#makeoptions	DEBUG="-g"	# compile full symbol table
371.27Ssoda
381.27Ssoda# Compatibility options
391.27Ssodaoptions 	COMPAT_10	# NetBSD 1.0,
401.27Ssodaoptions 	COMPAT_11	# NetBSD 1.1,
411.27Ssodaoptions 	COMPAT_12	# NetBSD 1.2,
421.27Ssodaoptions 	COMPAT_13	# NetBSD 1.3,
431.27Ssodaoptions 	COMPAT_14	# NetBSD 1.4,
441.27Ssodaoptions 	COMPAT_43	# and 4.3BSD
451.27Ssodaoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
461.27Ssoda
471.27Ssoda# mipsel specific
481.27Ssodaoptions 	COMPAT_ULTRIX	# Ultrix binary compatibility
491.27Ssodaoptions 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
501.1Sjonathan
511.27Ssoda# File systems
521.6Sthorpejfile-system 	FFS		# fast filesystem
531.27Ssodafile-system 	EXT2FS		# second extended file system (linux)
541.27Ssodafile-system 	LFS		# log-structured file system
551.27Ssodafile-system 	MFS		# memory file system
561.27Ssodafile-system 	NTFS		# Windows/NT file system (experimental)
571.23Ssodafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
581.27Ssodafile-system 	MSDOSFS		# MS-DOS file system
591.27Ssodafile-system 	NFS		# Network File System client
601.27Ssodafile-system 	FDESC		# /dev/fd
611.27Ssodafile-system 	KERNFS		# /kern
621.27Ssodafile-system 	NULLFS		# loopback file system
631.27Ssodafile-system 	OVERLAY		# overlay file system
641.27Ssodafile-system 	PORTAL		# portal filesystem (still experimental)
651.27Ssodafile-system 	PROCFS		# /proc
661.27Ssodafile-system 	UMAPFS		# NULLFS + uid and gid remapping
671.27Ssodafile-system 	UNION		# union file system
681.27Ssoda#file-system	CODA		# Coda File System; also needs vcoda (below)
691.6Sthorpej
701.27Ssoda# File system options
711.10Slukemoptions 	QUOTA		# FFS quotas
721.27Ssoda#options 	FFS_EI		# FFS Endian Independent support
731.34Sfvdloptions 	SOFTDEP		# FFS soft updates support.
741.27Ssodaoptions 	NFSSERVER	# Network File System server
751.27Ssoda#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
761.27Ssoda				# immutable) behave as system flags.
771.20Sitojun
781.1Sjonathan# Networking options
791.23Ssoda#options 	GATEWAY		# IP packet forwarding
801.27Ssodaoptions 	INET		# IP + ICMP + TCP + UDP
811.27Ssodaoptions 	INET6		# IPV6
821.20Sitojun#options 	IPSEC		# IP security
831.20Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
841.20Sitojun#options 	IPSEC_DEBUG	# debug for IP security
851.27Ssoda#options 	MROUTING	# IP multicast routing
861.27Ssodaoptions 	NS		# XNS
871.27Ssoda#options 	NSIP		# XNS tunneling over IP
881.27Ssodaoptions 	ISO,TPIP	# OSI networking
891.36Ssommerfe#options 	EON		# OSI tunneling over IP
901.27Ssodaoptions 	CCITT,LLC,HDLC	# X.25
911.27Ssodaoptions 	NETATALK	# AppleTalk networking protocols
921.27Ssodaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
931.27Ssodaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
941.27Ssodaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
951.27Ssodaoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
961.27Ssodaoptions 	IPFILTER_LOG	# ipmon(8) log support
971.27Ssoda
981.27Ssoda# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
991.27Ssoda#options 	TCP_COMPAT_42
1001.27Ssoda
1011.27Ssoda# These options enable verbose messages for several subsystems.
1021.27Ssoda# Warning, these may compile large string tables into the kernel!
1031.27Ssoda#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1041.31Ssodaoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1051.28Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1061.27Ssodaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1071.37Sur
1081.37Sur# wscons terminal emulation
1091.37Suroptions 	WSEMUL_VT100	# VT100 emulation
1101.23Ssoda
1111.25Ssoda# Kernel root file system and dump configuration.
1121.27Ssodaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1131.27Ssodaconfig		netbsd	root on ? type ?
1141.27Ssoda#config		netbsd	root on sd0a type ffs
1151.27Ssoda#config		netbsd	root on ? type nfs
1161.1Sjonathan
1171.23Ssoda#
1181.27Ssoda# Device configuration
1191.23Ssoda#
1201.27Ssoda
1211.1Sjonathanmainbus0	at root
1221.1Sjonathancpu*		at mainbus0
1231.1Sjonathan
1241.41Sur#### Jazz-Internal bus devices
1251.23Ssoda
1261.41Surjazzio*		at mainbus0	# Jazz-Internal bus.
1271.41Suraclock0 	at jazzio?
1281.41Sur#pc0		at jazzio?
1291.41Sur#opms0		at jazzio?
1301.41Survga0		at jazzio?	# Jazz localbus VGA
1311.41Surpckbc0		at jazzio?	# PC keyboard controller
1321.41Surcom0		at jazzio?
1331.41Surcom1		at jazzio?
1341.41Surlpt0		at jazzio?
1351.41Sursn0		at jazzio?
1361.1Sjonathan
1371.41Surfdc0		at jazzio?
1381.1Sjonathanfd*		at fdc? drive ?
1391.1Sjonathan
1401.41Surasc0		at jazzio?
1411.1Sjonathanscsibus* 	at asc?
1421.1Sjonathan
1431.41Sur#siop0		at jazzio?
1441.33Ssoda#scsibus* 	at siop?
1451.33Ssoda
1461.27Ssoda#### ISA bus devices
1471.23Ssoda
1481.27Ssodaisabr*		at mainbus0	# ISA Bus bridge (std ISA bus).
1491.23Ssodaisa*		at isabr?
1501.27Ssoda#isadma0 	at isa?
1511.23Ssoda
1521.27Ssodaaclock0 	at isa? port 0x70 irq 0
1531.23Ssoda
1541.25Ssodapc0		at isa? port 0x60 irq 1		# generic PC console device
1551.33Ssoda#vga0		at isa?
1561.33Ssoda#pckbc0		at isa?				# PC keyboard controller
1571.23Ssodacom0		at isa? port 0x3f8 irq 4
1581.23Ssodacom1		at isa? port 0x2f8 irq 3
1591.23Ssodacom2		at isa? port 0x3e8 irq 4
1601.23Ssodacom3		at isa? port 0x2e8 irq 3
1611.27Ssodaast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
1621.27Ssodacom*		at ast? slave ?
1631.27Ssoda
1641.27Ssoda# Joystick driver. Probe is a little strange; add only if you have one.
1651.27Ssoda#joy0		at isa? port 0x201
1661.23Ssoda
1671.23Ssoda# ISA ST506, ESDI, and IDE controllers
1681.23Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
1691.23Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
1701.23Ssoda# Some controllers pass the initial 32bit test, but will fail later.
1711.23Ssoda# XXX - should be configured
1721.27Ssoda#wdc0		at isa? port 0x1f0 irq 14 flags 0x00
1731.27Ssoda#wdc1		at isa? port 0x170 irq 15 flags 0x00
1741.27Ssoda#wdc*		at isapnp?
1751.23Ssoda
1761.23Ssoda# IDE drives
1771.23Ssoda# Flags are used only with controllers that support DMA operations
1781.23Ssoda# and mode settings (e.g. some pciide controllers)
1791.23Ssoda# The lowest order four bits (rightmost digit) of the flags define the PIO
1801.23Ssoda# mode to use, the next set of four bits the DMA mode and the third set the
1811.23Ssoda# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1821.23Ssoda# to use, and the last bit must be 1 for this setting to be used.
1831.23Ssoda# For DMA and UDMA, 0xf (1111) means 'disable'.
1841.23Ssoda# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1851.23Ssoda# (0xc=1100, 0xa=1010, 0xf=1111)
1861.23Ssoda# 0x0000 means "use whatever the drive claims to support".
1871.23Ssoda# XXX - should be configured
1881.27Ssoda#wd*		at wdc? channel ? drive ? flags 0x0000
1891.23Ssoda
1901.23Ssoda# ATAPI bus support
1911.23Ssoda# XXX - should be configured
1921.27Ssoda#atapibus*	at wdc? channel ?
1931.23Ssoda
1941.27Ssoda# ISA parallel printer interfaces
1951.27Ssodalpt0		at isa? port 0x378 irq 7
1961.27Ssoda
1971.27Ssoda# ISA network interfaces
1981.27Ssoda# XXX - should be configured
1991.27Ssoda#ec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
2001.27Ssoda#ep0		at isa? port ? irq ?		# 3C509 ethernet cards
2011.27Ssoda#ne0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
2021.27Ssoda#ne1		at isa? port 0x300 irq 10
2031.27Ssoda#ne*		at isapnp?			# NE[12]000 PnP ethernet
2041.27Ssoda#we0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
2051.27Ssoda#we1		at isa? port 0x300 iomem 0xcc000 irq 10
2061.27Ssoda#we*		at isapnp?
2071.23Ssoda
2081.27Ssoda# XXX - should be configured
2091.27Ssoda#btl0		at isa? port 0x330 irq ? drq ?
2101.27Ssoda#scsibus*	at btl?
2111.23Ssoda
2121.27Ssoda#### Algor bus devices
2131.23Ssoda
2141.27Ssoda#algor*		at mainbus0	# Algorithmics local bus.
2151.23Ssoda
2161.27Ssoda#aclock0 	at algor?
2171.27Ssoda#com0		at algor?
2181.27Ssoda#com1		at algor?
2191.27Ssoda#lpt0		at algor?
2201.23Ssoda
2211.27Ssoda#### PCI bus devices
2221.23Ssoda
2231.31Ssodanecpb*		at mainbus0	# NEC RISCstation PCI host bridge.
2241.31Ssodapci*		at necpb?
2251.31Ssoda
2261.27Ssoda#pbcpcibr*	at mainbus0	# Algorithmics PCI bus bridge.
2271.27Ssoda#pci*		at pbcpcibr?
2281.23Ssoda
2291.27Ssoda#pcivga* 	at pci? dev ? function ?
2301.30Ssoren#siop*		at pci? dev ? function ?
2311.30Ssoren#scsibus* 	at siop?
2321.27Ssoda#de*		at pci? dev ? function ?
2331.23Ssoda
2341.31Ssodaex*		at pci? dev ? function ?	# 3Com 90x[B]
2351.31Ssodafxp*		at pci? dev ? function ?	# Intel EtherExpress PRO
2361.31Ssodale*		at pci? dev ? function ?	# PCnet-PCI
2371.31Ssodane*		at pci? dev ? function ?	# NE2000-compatible
2381.31Ssodatlp*		at pci? dev ? function ?	# DECchip 21x4x (and clones)
2391.31Ssoda#options 	TLP_MATCH_21040
2401.31Ssoda#options 	TLP_MATCH_21041
2411.31Ssoda#options 	TLP_MATCH_21140
2421.31Ssoda#options 	TLP_MATCH_21142
2431.31Ssoda
2441.31Ssoda# IDE and related devices
2451.31Ssoda# PCI IDE controllers - see pciide(4) for supported hardware.
2461.31Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
2471.31Ssoda# how to set up DMA modes for this chip. This may work, or may cause
2481.31Ssoda# a machine hang with some controllers.
2491.31Ssodapciide*		at pci ? dev ? function ? flags 0x0000
2501.31Ssodawd*		at pciide? channel ? drive ? flags 0x0000
2511.31Ssodaatapibus*	at pciide? channel ?
2521.31Ssoda
2531.31Ssodatga*		at pci? dev ? function ?	# DEC ZLXp-E[123] Graphics
2541.31Ssodaahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
2551.31Ssodascsibus*	at ahc?
2561.31Ssoda
2571.31Ssoda#### MII/PHY support
2581.31Ssoda
2591.31Ssodaexphy*		at mii? phy ?		# 3Com internal PHYs
2601.31Ssodaicsphy*		at mii? phy ?		# Integrated Circuit Systems ICS1890
2611.31Ssodainphy*		at mii? phy ?		# Intel 82555 PHYs
2621.31Ssodaiophy*		at mii? phy ?		# Intel 82553 PHYs
2631.31Ssodalxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
2641.31Ssodansphy*		at mii? phy ?		# NS83840 PHYs
2651.31Ssodansphyter*	at mii? phy ?		# NS83843 PHYs
2661.31Ssodaqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2671.31Ssodasqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
2681.31Ssodatlphy*		at mii? phy ?		# ThunderLAN PHYs
2691.31Ssodatqphy*		at mii? phy ?		# TDK Semiconductor PHYs
2701.31Ssodaukphy*		at mii? phy ?		# generic unknown PHYs
2711.31Ssoda
2721.27Ssoda#### SCSI bus devices
2731.23Ssoda
2741.1Sjonathansd*		at scsibus? target ? lun ?
2751.1Sjonathanst*		at scsibus? target ? lun ?
2761.1Sjonathancd*		at scsibus? target ? lun ?
2771.23Ssodach*		at scsibus? target ? lun ?
2781.23Ssodass*		at scsibus? target ? lun ?
2791.23Ssodauk*		at scsibus? target ? lun ?
2801.31Ssoda
2811.31Ssoda#### ATAPI bus devices
2821.31Ssoda
2831.31Ssoda# flags have the same meaning as for IDE drives.
2841.31Ssodacd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2851.31Ssodasd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2861.31Ssodauk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
2871.33Ssoda
2881.33Ssoda#### Workstation Console attachments
2891.33Ssoda
2901.33Ssodawsdisplay*	at vga?
2911.33Ssodawsdisplay*	at tga?
2921.33Ssodapckbd*		at pckbc?	# PC keyboard (kbd port)
2931.33Ssodawskbd*		at pckbd?
2941.33Ssodapms*		at pckbc?	# PS/2-style mouse (aux port)
2951.33Ssodawsmouse*	at pms?
2961.33Ssoda#pmsi*		at pckbc?	# PS/2 "Intelli"mouse (aux port)
2971.33Ssoda#wsmouse*	at pmsi?
2981.23Ssoda
2991.27Ssoda#### Pseudo devices
3001.1Sjonathan
3011.27Ssoda# disk/mass storage pseudo-devices
3021.27Ssodapseudo-device	ccd		4	# concatenated/striped disk devices
3031.27Ssoda#pseudo-device	raid		4	# RAIDframe disk driver
3041.27Ssodapseudo-device	md		1	# memory disk device (ramdisk)
3051.27Ssodapseudo-device	vnd		4	# disk-like interface to files
3061.27Ssoda
3071.27Ssoda# network pseudo-devices
3081.27Ssodapseudo-device	bpfilter	8	# Berkeley packet filter
3091.27Ssodapseudo-device	ipfilter		# IP filter (firewall) and NAT
3101.27Ssodapseudo-device	loop		1	# network loopback
3111.27Ssodapseudo-device	ppp		2	# Point-to-Point Protocol
3121.27Ssodapseudo-device	sl		2	# Serial Line IP
3131.27Ssoda#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
3141.27Ssodapseudo-device	tun		2	# network tunneling over tty
3151.23Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
3161.27Ssodapseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
3171.20Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
3181.20Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
3191.29Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
3201.40Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
3211.23Ssoda
3221.27Ssoda# miscellaneous pseudo-devices
3231.39Sjdolecekpseudo-device	pty			# pseudo-terminals
3241.27Ssodapseudo-device	tb		1	# tablet line discipline
3251.27Ssoda#pseudo-device	sequencer	1	# MIDI sequencer
3261.27Ssoda# rnd works; RND_COM does not on port arc yet.
3271.27Ssodapseudo-device	rnd			# /dev/random and in-kernel generator
3281.27Ssoda#options 	RND_COM			# use "com" randomness as well (BROKEN)
3291.27Ssoda
3301.27Ssoda# a pseudo device needed for Coda	# also needs CODA (above)
3311.27Ssoda#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
3321.27Ssoda
3331.27Ssoda# mouse & keyboard multiplexor pseudo-devices
3341.27Ssoda#pseudo-device	wsmux		2
335