GENERIC revision 1.10
11.10Satatat#	$NetBSD: GENERIC,v 1.10 2001/11/23 05:00:27 atatat Exp $
21.1Smatt#
31.1Smatt#	GENERIC -- Netwinder Architecture Kernel
41.1Smatt#
51.1Smatt
61.1Smattinclude	"arch/netwinder/conf/std.netwinder"
71.1Smatt
81.1Smatt# estimated number of users
91.1Smatt
101.1Smattmaxusers	32
111.1Smatt
121.1Smatt# Standard system options
131.1Smatt
141.1Smattoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
151.1Smatt#options 	NTP		# NTP phase/frequency locked loop
161.1Smatt
171.1Smatt# CPU options
181.1Smatt
191.1Smatt# For StrongARM systems
201.1Smattoptions 	CPU_SA110	# Support the SA110 core
211.1Smattmakeoptions	COPTS="-O2 -march=armv4 -mtune=strongarm"
221.1Smatt
231.1Smatt# Architecture options
241.1Smattoptions 	FOOTBRIDGE	# We have DC21285 'Footbridge' core logic
251.1Smattoptions 	NETWINDER	# We are a NETWINDER
261.1Smatt
271.1Smatt# FPA options
281.1Smatt
291.1Smatt#options 	ARMFPE		# ARM Ltd FPE
301.1Smatt
311.1Smatt# File systems
321.1Smatt
331.1Smattfile-system	FFS		# UFS
341.1Smatt#file-system	LFS		# log-structured file system
351.1Smattfile-system	MFS		# memory file system
361.1Smattfile-system	NFS		# Network file system
371.1Smatt#file-system 	ADOSFS		# AmigaDOS-compatible file system
381.1Smattfile-system 	EXT2FS		# second extended file system (linux)
391.1Smatt#file-system	CD9660		# ISO 9660 + Rock Ridge file system
401.1Smattfile-system	MSDOSFS		# MS-DOS file system
411.1Smatt#file-system	FDESC		# /dev/fd
421.1Smatt#file-system	KERNFS		# /kern
431.1Smattfile-system	NULLFS		# loopback file system
441.1Smatt#file-system	PORTAL		# portal filesystem (still experimental)
451.1Smatt#file-system	PROCFS		# /proc
461.1Smatt#file-system	UMAPFS		# NULLFS + uid and gid remapping
471.1Smatt#file-system	UNION		# union file system
481.1Smatt
491.1Smatt# File system options
501.1Smatt#options 	QUOTA		# UFS quotas
511.1Smatt#options 	FFS_EI		# FFS Endian Independant support
521.1Smattoptions 	NFSSERVER
531.3Smattoptions 	SOFTDEP
541.1Smatt
551.1Smatt# Networking options
561.1Smatt
571.1Smatt#options 	GATEWAY		# packet forwarding
581.1Smattoptions 	INET		# IP + ICMP + TCP + UDP
591.1Smattoptions 	INET6		# IPV6
601.1Smatt#options 	IPSEC		# IP security
611.1Smatt#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
621.1Smatt#options 	IPSEC_DEBUG	# debug for IP security
631.1Smatt#options 	MROUTING	# IP multicast routing
641.1Smatt#options 	NS		# XNS
651.1Smatt#options 	NSIP		# XNS tunneling over IP
661.1Smatt#options 	ISO,TPIP	# OSI
671.1Smatt#options 	EON		# OSI tunneling over IP
681.1Smatt#options 	CCITT,LLC,HDLC	# X.25
691.1Smatt#options 	NETATALK	# AppleTalk networking
701.1Smatt#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
711.1Smatt#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
721.1Smatt#options 	PPP_DEFLATE	# Deflate compression support for PPP
731.1Smatt#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
741.5Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
751.1Smatt
761.1Smattoptions 	NFS_BOOT_BOOTP
771.1Smattoptions 	NFS_BOOT_DHCP
781.1Smatt#options 	NFS_BOOT_BOOTPARAM
791.1Smatt
801.1Smatt# Compatibility options
811.1Smatt
821.1Smatt#options 	COMPAT_43	# 4.3BSD compatibility.
831.2Smattoptions 	COMPAT_15	# NetBSD 1.5 compatibility.
841.1Smattoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
851.1Smatt#options 	COMPAT_13	# NetBSD 1.3 compatibility.
861.1Smatt#options 	COMPAT_12	# NetBSD 1.2 compatibility.
871.1Smatt#options 	COMPAT_11	# NetBSD 1.1 compatibility.
881.1Smatt#options 	COMPAT_10	# NetBSD 1.0 compatibility.
891.1Smatt#options 	COMPAT_09	# NetBSD 0.9 compatibility.
901.5Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
911.1Smatt
921.1Smatt# Shared memory options
931.1Smatt
941.1Smattoptions 	SYSVMSG		# System V-like message queues
951.1Smattoptions 	SYSVSEM		# System V-like semaphores
961.9Slukem#options 	SEMMNI=10	# number of semaphore identifiers
971.9Slukem#options 	SEMMNS=60	# number of semaphores in system
981.9Slukem#options 	SEMUME=10	# max number of undo entries per process
991.9Slukem#options 	SEMMNU=30	# number of undo structures in system
1001.1Smattoptions 	SYSVSHM		# System V-like memory sharing
1011.1Smattoptions 	SHMMAXPGS=1024	# 1024 pages is the default
1021.1Smatt
1031.1Smatt# Device options
1041.1Smatt
1051.2Smatt#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1061.1Smatt#options 	MEMORY_DISK_SIZE=0	# Size in blocks
1071.1Smatt#options 	MINIROOTSIZE=3400	# Size in blocks
1081.1Smatt#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1091.1Smatt
1101.1Smatt# Miscellaneous kernel options
1111.1Smattoptions 	KTRACE		# system call tracing, a la ktrace(1)
1121.1Smattoptions 	IRQSTATS	# manage IRQ statistics
1131.1Smatt#options 	LKM		# loadable kernel modules
1141.1Smatt#options 	KMEMSTATS	# kernel memory statistics
1151.1Smatt#options 	SCSIVERBOSE	# Verbose SCSI errors
1161.3Smattoptions 	PCIVERBOSE	# Verbose PCI descriptions
1171.3Smattoptions 	MIIVERBOSE	# Verbose MII autoconfuration messages
1181.2Smatt#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1191.1Smatt#options 	DDB_KEYCODE=0x40
1201.1Smatt
1211.1Smatt# Development and Debugging options
1221.1Smatt
1231.1Smatt#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1241.1Smatt#options 	PORTMASTER	# Enable PortMaster only options
1251.1Smattoptions 	DIAGNOSTIC	# internally consistency checks
1261.9Slukem#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1271.1Smatt#options 	IPKDB		# remote kernel debugging
1281.1Smattoptions 	DDB		# in-kernel debugger
1291.1Smattoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1301.2Smatt#makeoptions	DEBUG="-g"	# compile full symbol table
1311.1Smatt
1321.1Smattconfig		netbsd	root on ? type ?
1331.1Smatt
1341.1Smatt# The main bus device
1351.2Smattmainbus0	at root
1361.1Smatt
1371.1Smatt# The boot cpu
1381.2Smattcpu0		at mainbus?
1391.1Smatt
1401.1Smatt# Core logic
1411.1Smattfootbridge0	at mainbus?
1421.1Smatt
1431.1Smatt# footbridge uart
1441.2Smatt#fcom0		at footbridge?
1451.1Smatt
1461.1Smatt# system clock via footbridge
1471.2Smatt#clock*		at footbridge?
1481.1Smatt
1491.1Smatt# time-of-day device via footbridge
1501.1Smatttodclock0	at footbridge?
1511.1Smatt
1521.1Smatt# PCI bus via footbridge
1531.2Smattpci0		at footbridge?			# PCI bus
1541.1Smatt
1551.1Smatt# ISA bus support
1561.2Smattpcib*		at pci? dev ? function ?	# ISA bridge
1571.2Smattisa*		at pcib?
1581.1Smatt
1591.1Smatt
1601.1Smatt# PCI IDE Controllers and Devices
1611.1Smatt# PCI IDE controllers - see pciide(4) for supported hardware.
1621.1Smatt# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
1631.1Smatt# how to set up DMA modes for this chip. This may work, or may cause
1641.1Smatt# a machine hang with some controllers.
1651.2Smattpciide*		 at pci? dev ? function ? flags 0x0000
1661.1Smatt
1671.1Smatt# IDE drives
1681.1Smatt# Flags are used only with controllers that support DMA operations
1691.1Smatt# and mode settings (e.g. some pciide controllers)
1701.1Smatt# The lowest order four bits (rightmost digit) of the flags define the PIO
1711.1Smatt# mode to use, the next set of four bits the DMA mode and the third set the
1721.1Smatt# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1731.1Smatt# to use, and the last bit must be 1 for this setting to be used.
1741.1Smatt# For DMA and UDMA, 0xf (1111) means 'disable'.
1751.1Smatt# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1761.1Smatt# (0xc=1100, 0xa=1010, 0xf=1111)
1771.1Smatt# 0x0000 means "use whatever the drive claims to support".
1781.2Smattwd*		at pciide? channel ? drive ? flags 0x0000	# the drives themselves
1791.1Smatt
1801.1Smatt# PCI network interfaces
1811.2Smattne*		at pci? dev ? function ?	# NE2000 compat ethernet
1821.2Smatttlp*		at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
1831.1Smattoptions 	TLP_MATCH_21142
1841.1Smatt
1851.1Smatt# MII/PHY support
1861.6Smatticsphy*		at mii? phy ?			# ISC-890 PHYs
1871.2Smattukphy*		at mii? phy ?			# generic unknown PHYs
1881.1Smatt
1891.1Smatt# WSCONS Support
1901.1Smattoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1911.1Smattoptions 	WS_KERNEL_FG=WSCOL_GREEN
1921.2Smattpckbc0		at isa?
1931.1Smattpckbd*		at pckbc?
1941.1Smattwskbd*		at pckbd? console ?
1951.1Smattpms*		at pckbc?
1961.1Smattwsmouse*	at pms? mux 0
1971.1Smattpmsi*		at pckbc?
1981.1Smattwsmouse*	at pmsi? mux 0
1991.1Smatt
2001.1Smattvga*		at pci? dev ? function ?
2011.1Smattwsdisplay*	at vga? console ?
2021.1Smatt
2031.1Smatt# ISA Devices
2041.1Smattcom0		at isa? port 0x3f8 irq 4
2051.2Smattlpt0		at isa? port 0x378 irq 7
2061.1Smatt
2071.1Smatt
2081.1Smatt# Audio Devices
2091.1Smatt
2101.2Smatt# ISA audio devices
2111.2Smattsb0		at isa? port 0x220 irq 3 drq 1 drq2 7	# SoundBlaster
2121.2Smattopl*		at sb?
2131.2Smattmpu*		at sb?
2141.2Smattmidi*		at sb?					# SB1 MIDI port
2151.1Smatt
2161.1Smatt# Audio support
2171.2Smattaudio*		at sb?
2181.1Smatt
2191.1Smatt# Pseudo-Devices
2201.1Smatt
2211.1Smatt# disk/mass storage pseudo-devices
2221.2Smatt#pseudo-device	md		1	# memory disk device (ramdisk)
2231.1Smattpseudo-device	vnd		4	# disk-like interface to files
2241.1Smatt
2251.1Smatt# network pseudo-devices
2261.1Smattpseudo-device	bpfilter	4	# Berkeley packet filter
2271.10Satatatpseudo-device	bridge			# simple inter-network bridging
2281.1Smattpseudo-device	loop			# network loopback
2291.1Smatt
2301.1Smatt# miscellaneous pseudo-devices
2311.1Smattpseudo-device	pty			# pseudo-terminals
2321.1Smattpseudo-device	rnd			# /dev/random and in-kernel generator
233