GENERIC revision 1.1
11.1Smatt#	$NetBSD: GENERIC,v 1.1 2001/04/19 07:01:11 matt 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.1Smattoptions		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.1Smatt
751.1Smattoptions 	NFS_BOOT_BOOTP
761.1Smattoptions 	NFS_BOOT_DHCP
771.1Smatt#options 	NFS_BOOT_BOOTPARAM
781.1Smatt
791.1Smatt# Compatibility options
801.1Smatt
811.1Smatt#options 	COMPAT_43	# 4.3BSD compatibility.
821.1Smattoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
831.1Smatt#options 	COMPAT_13	# NetBSD 1.3 compatibility.
841.1Smatt#options 	COMPAT_12	# NetBSD 1.2 compatibility.
851.1Smatt#options 	COMPAT_11	# NetBSD 1.1 compatibility.
861.1Smatt#options 	COMPAT_10	# NetBSD 1.0 compatibility.
871.1Smatt#options 	COMPAT_09	# NetBSD 0.9 compatibility.
881.1Smatt#options 	TCP_COMPAT_42   # TCP bug compatibility with 4.2BSD
891.1Smatt
901.1Smatt# Shared memory options
911.1Smatt
921.1Smattoptions 	SYSVMSG		# System V-like message queues
931.1Smattoptions 	SYSVSEM		# System V-like semaphores
941.1Smattoptions 	SYSVSHM		# System V-like memory sharing
951.1Smattoptions 	SHMMAXPGS=1024	# 1024 pages is the default
961.1Smatt
971.1Smatt# Device options
981.1Smatt
991.1Smattoptions 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1001.1Smatt#options 	MEMORY_DISK_SIZE=0	# Size in blocks
1011.1Smatt#options 	MINIROOTSIZE=3400	# Size in blocks
1021.1Smatt#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1031.1Smatt
1041.1Smatt# Miscellaneous kernel options
1051.1Smattoptions 	KTRACE		# system call tracing, a la ktrace(1)
1061.1Smattoptions 	IRQSTATS	# manage IRQ statistics
1071.1Smatt#options 	LKM		# loadable kernel modules
1081.1Smatt#options 	KMEMSTATS	# kernel memory statistics
1091.1Smatt#options 	SCSIVERBOSE	# Verbose SCSI errors
1101.1Smattoptions		PCIVERBOSE	# Verbose PCI descriptions
1111.1Smattoptions		MIIVERBOSE	# Verbose MII autoconfuration messages
1121.1Smattoptions 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1131.1Smatt#options 	DDB_KEYCODE=0x40
1141.1Smatt
1151.1Smatt# Development and Debugging options
1161.1Smatt
1171.1Smatt#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1181.1Smatt#options 	PORTMASTER	# Enable PortMaster only options
1191.1Smattoptions 	DIAGNOSTIC	# internally consistency checks
1201.1Smatt#options  	PMAP_DEBUG	# Enable pmap_debug_level code
1211.1Smatt#options 	IPKDB		# remote kernel debugging
1221.1Smattoptions 	DDB		# in-kernel debugger
1231.1Smattoptions 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1241.1Smattmakeoptions	DEBUG="-g"	# compile full symbol table
1251.1Smatt
1261.1Smattconfig		netbsd	root on ? type ?
1271.1Smatt
1281.1Smatt# The main bus device
1291.1Smattmainbus0 at root
1301.1Smatt
1311.1Smatt# The boot cpu
1321.1Smattcpu0 at mainbus?
1331.1Smatt
1341.1Smatt# Core logic
1351.1Smattfootbridge0	at mainbus?
1361.1Smatt
1371.1Smatt# footbridge uart
1381.1Smatt#fcom0	at footbridge?
1391.1Smatt
1401.1Smatt# system clock via footbridge
1411.1Smatt#clock*	at footbridge?
1421.1Smatt
1431.1Smatt# time-of-day device via footbridge
1441.1Smatttodclock0	at footbridge?
1451.1Smatt
1461.1Smatt# PCI bus via footbridge
1471.1Smattpci0	at footbridge?			# PCI bus
1481.1Smatt
1491.1Smatt# PCI bridges
1501.1Smatt#ppb*	at pci? dev ? function ?	# PCI-PCI bridges
1511.1Smatt#pci*	at ppb? bus ?
1521.1Smatt
1531.1Smatt# ISA bus support
1541.1Smattpcib*	at pci? dev ? function ?	# ISA bridge
1551.1Smattisa*	at pcib?
1561.1Smatt
1571.1Smatt
1581.1Smatt# PCI IDE Controllers and Devices
1591.1Smatt# PCI IDE controllers - see pciide(4) for supported hardware.
1601.1Smatt# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
1611.1Smatt# how to set up DMA modes for this chip. This may work, or may cause
1621.1Smatt# a machine hang with some controllers.
1631.1Smatt#pciide* at pci? dev ? function ? flags 0x0000
1641.1Smatt
1651.1Smatt# IDE drives
1661.1Smatt# Flags are used only with controllers that support DMA operations
1671.1Smatt# and mode settings (e.g. some pciide controllers)
1681.1Smatt# The lowest order four bits (rightmost digit) of the flags define the PIO
1691.1Smatt# mode to use, the next set of four bits the DMA mode and the third set the
1701.1Smatt# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1711.1Smatt# to use, and the last bit must be 1 for this setting to be used.
1721.1Smatt# For DMA and UDMA, 0xf (1111) means 'disable'.
1731.1Smatt# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
1741.1Smatt# (0xc=1100, 0xa=1010, 0xf=1111)
1751.1Smatt# 0x0000 means "use whatever the drive claims to support".
1761.1Smatt#wd*	at pciide? channel ? drive ? flags 0x0000	# the drives themselves
1771.1Smatt
1781.1Smatt# PCI network interfaces
1791.1Smatt#de*	at pci? dev ? function ?	# DC21X4X-based ethernet cards
1801.1Smattne*	at pci? dev ? function ?	# NE2000 compat ethernet
1811.1Smatttlp*	at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
1821.1Smattoptions 	TLP_MATCH_21142
1831.1Smatt
1841.1Smatt# MII/PHY support
1851.1Smattlxtphy* at mii? phy ?			# Level One LXT-970 PHYs
1861.1Smattukphy*	at mii? phy ?			# generic unknown PHYs
1871.1Smatt
1881.1Smatt# WSCONS Support
1891.1Smattoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1901.1Smattoptions 	WS_KERNEL_FG=WSCOL_GREEN
1911.1Smattpckbc*		at isa?
1921.1Smattpckbd*		at pckbc?
1931.1Smattwskbd*		at pckbd? console ?
1941.1Smattpms*		at pckbc?
1951.1Smattwsmouse*	at pms? mux 0
1961.1Smattpmsi*		at pckbc?
1971.1Smattwsmouse*	at pmsi? mux 0
1981.1Smatt
1991.1Smattvga*		at pci? dev ? function ?
2001.1Smattwsdisplay*	at vga? console ?
2011.1Smatt
2021.1Smatt# ISA Devices
2031.1Smattcom0		at isa? port 0x3f8 irq 4
2041.1Smatt#lpt0		at isa? port 0x378 irq 7
2051.1Smatt#isapnp0 at isa?
2061.1Smatt
2071.1Smatt
2081.1Smatt# Audio Devices
2091.1Smatt
2101.1Smatt# PCI audio devices
2111.1Smatt#eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
2121.1Smatt#sv*	at pci? dev ? function ?	# S3 SonicVibes
2131.1Smatt
2141.1Smatt# Audio support
2151.1Smatt#audio*	at eap?
2161.1Smatt#audio*	at sv?
2171.1Smatt
2181.1Smatt# Pseudo-Devices
2191.1Smatt
2201.1Smatt# disk/mass storage pseudo-devices
2211.1Smattpseudo-device	md		1	# memory disk device (ramdisk)
2221.1Smattpseudo-device	vnd		4	# disk-like interface to files
2231.1Smatt
2241.1Smatt# network pseudo-devices
2251.1Smattpseudo-device	bpfilter	4	# Berkeley packet filter
2261.1Smattpseudo-device	loop			# network loopback
2271.1Smatt
2281.1Smatt# miscellaneous pseudo-devices
2291.1Smattpseudo-device	pty			# pseudo-terminals
2301.1Smattpseudo-device	rnd			# /dev/random and in-kernel generator
231